Article 6CC6H xbindkeys passthrough - I'm so close I can taste it!

xbindkeys passthrough - I'm so close I can taste it!

by
eggsome
from LinuxQuestions.org on (#6CC6H)
My goal is to invert the Y axis of mouse movements while holding down the right mouse button.
The following .xbindkeysrc config file works perfectly:
Code:"xinput set-prop 10 "Coordinate Transformation Matrix" 1 0 0 0 -1 0 0 0 1"
b:3
"xinput set-prop 10 "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 1"
b:3+ReleaseHowever I also want the right mouse button to pass through to whatever other applications I happen to be running too. (the ultimate goal is to invert the mouse view of KSP, which for some reason does not support inverted mouse movements unlike every other 3d game - but I digress).

I had in some ways a better experience with sxhkd and it's native passthrough capability, however it could not trigger the release for some reason :(

I attempted to add a 'fake' click with xdotool, so that xbindkeys would just send a new click after it captured the first one - but it did not work (perhaps because xbindkeys just intercepted it again?).

Looking at this answer on stackoverflow indicates that I may be attempting to do this at the wrong layer? But that answer also appears to require compiling a c program as a fake input controller, sadly beyond my abilities.

I'd really appreciate it if anyone has any ideas - thanks for reading my question!
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments