Skip to main content

Thread: xbindkeys with xte not working in wine


i bought logitech g500 , it's working beautifully, have xbindkeys setup so:
code:
# third thumb button "xte 'keydown 0'" b:10 "xte 'keyup 0'" release + b:10  # 2 index buttons "xte 'keydown 9'" b:13 "xte 'keyup 9'" release + b:13  "xte 'keydown 8'" b:14 "xte 'keyup 8'" release + b:14
i bound them these numbers keybindable in games far enough away wasd hand i'd never use them.

while using terminal, browser, file manager etc, these binds work expected. pressing buttons same if pressed 1 of matching keys.

however, when playing guild wars 2, dishonored, or other games in wine, not "catch" event.

strange because manually running these commands (delayed sleep 5s) creates entry in controls menu fine.

possible button press event mouse causing games conflict input xte? in case there way halt mouse button press event?

edit: evrouter work i'm looking for? xorg.conf?

edit: evrouter worked charm using code:
code:
"logitech g500" "/dev/input/event4" key/277 "xkey/0" "logitech g500" "/dev/input/event4" key/280 "xkey/9" "logitech g500" "/dev/input/event4" key/281 "xkey/8"
it required running sudo stick may need run every time log in (in case have brand new problem in how make program automatically run sudo when log in)

edit: it's strange... it's behaving xbindkeys in works in linux windows not in wine... *after* run "sudo evrouter /dev/input/event4" works in wine too... i'm wondering "works outside of wine" button presses coming , need find way run on login.

edit: evrouter + lightdm session-setup-script ftw



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] xbindkeys with xte not working in wine


Ubuntu

Comments

Popular posts from this blog

Could not place because the source rectangle is empty

Thread: Using smartcard reader with vpnc

Adobe Font Folio 7.0 or just 7?