Karabiner-elements works amazing with remapping keys. Nonetheless, one feature heavily relied on is using the trackball to scroll, by right clicking and moving the cursor.
I'm having difficulty coverting the xml snippet to the equivalent json for karabiner-elements. Would anyone have any ideas?
<appendix>RightClick+CursorMove to ScrollWheel</appendix>
<appendix>(using __PointingRelativeToScroll__ and PointingButton::*</appendix>
<appendix></appendix>
<autogen>__PointingRelativeToScroll__ PointingButton::RIGHT</autogen>
I'm missing this as well, but USB Overdrive has similar functionality, just not as smooth (emulates traditional scroll wheel). I'm using that as a placeholder.
Are mouse-related modifications like this going away in karabiner-elements, or are they just not done yet?
I am also interested in this. I've tried the "Move to Scroll" mapping in USB Overdrive, but it does not seem to work with my USB mouse.
I'm also having this issue. In karabiner-log I see a this records
[info] [grabber] Apple Internal Keyboard / Trackpad (device_id:3) is ignored.
[info] [grabber] USB Trackball (device_id:1) is ignored.
it seems that all pointer related devices are ignored so far.
Since I upgraded to Sierra, I really miss the CursorMove to ScrollWheel function. I was hoping, with the new version released...
I saw in the appendix section of the source code, that dump_hid_value and eventtap are titled : "add pointing_device_event_from_event_tap" and were added 7 days ago. Maybe someone would know what to do with it ?
Thanks a lot !
I solved this with different tool -- hammerspoon -- which, among other thing, allows remap IO events. I find out post about virtual scroll and I modified the script to trigger scroll with mouse RightClick.
If you wish to use this solution, just install Hammerspoon. On the main bar, new hammerspoon icon appears, click icon, choose "Open config" and copy&paste the snippet from my reply, then save the configuration, click Hammerspoon again and choose Reload Config. That should do it.
@vclav Your solution works beautifully. Thanks for sharing the instructions.
SteerMouse also provides this (smooth scrolling); I moved to that since USB Overdrive doesn't support all the buttons on my trackball.
I modified weitzj's code to work with the right small button on a Logitech Trackman Marble Trackball.
https://github.com/tekezo/Karabiner/issues/814#issuecomment-357092695
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
Are mouse-related modifications like this going away in karabiner-elements, or are they just not done yet?