Hello, I'm trying to bind my mouse back & forward buttons to left ctrl & left shift respectively. I want it where holding down the mouse button acts as holding down the corresponding modifier key, and vice-versa when released. I'm testing with wev, and my config currently sends the right inputs, but only on release rather than when held down. For example: I press and hold the mouse back button, and both leftctrl keyboard events don't get sent until after I release the button. I was wondering if I could be pointed in the right direction on how to fix this so that the events properly match.
mouse:
gestures:
- type: press
mouse_buttons: [ back ]
actions:
- input:
- on: begin
- keyboard: [ +leftctrl ]
- input:
- on: end_cancel
- keyboard: [ -leftctrl ]
- type: press
mouse_buttons: [ forward ]
actions:
- input:
- on: begin
- keyboard: [ +leftshift ]
- input:
- on: end_cancel
- keyboard: [ -leftshift ]
Hello, I'm trying to bind my mouse back & forward buttons to left ctrl & left shift respectively. I want it where holding down the mouse button acts as holding down the corresponding modifier key, and vice-versa when released. I'm testing with
wev, and my config currently sends the right inputs, but only on release rather than when held down. For example: I press and hold the mouse back button, and bothleftctrlkeyboard events don't get sent until after I release the button. I was wondering if I could be pointed in the right direction on how to fix this so that the events properly match.