LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 06-21-2023, 10:28 PM   #1
eggsome
LQ Newbie
 
Registered: Oct 2004
Location: Melbourne, AUS
Distribution: Mostly Debian
Posts: 3

Rep: Reputation: 0
xbindkeys passthrough - I'm so close I can taste it!


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+Release
However 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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cube, so close to perfect I can taste it but..... qx1 Linux - Games 3 04-16-2007 01:15 PM
LXer: Q&A: You can get taste of Linux without having to install it LXer Syndicated Linux News 0 03-26-2007 09:31 AM
LXer: Vista Gets Taste of Linux Medicine LXer Syndicated Linux News 0 02-14-2007 03:16 PM
LXer: Does free software taste great, or is open source less filling? LXer Syndicated Linux News 0 10-30-2006 06:21 PM
LXer: Ruby and .NET - how will they taste together? LXer Syndicated Linux News 0 06-20-2006 08:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 02:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration