evdevremapkeys icon indicating copy to clipboard operation
evdevremapkeys copied to clipboard

Remap key to mousewheel

Open cjh9 opened this issue 3 years ago • 1 comments

Is it possible to remap a key to a mousewheel event?

I'm running this config file:

devices:
- input_name: 'Dell KB216 Wired Keyboard'
  input_phys: 'usb-0000:00:14.0-4/input0'
  output_name: remap-kbd
  remappings:
    KEY_W:
    - code: REL_WHEEL
      type: EV_REL
      repeat: true
      value: -1

And running with sudo python evdevremapkeys/evdevremapkeys.py -f config.yaml but it doesn't seem to work...

cjh9 avatar Apr 18 '21 16:04 cjh9

@cjh9 Take a look at evsieve.

Ashark avatar Jun 24 '22 09:06 Ashark