remapping keys using hal
I'm looking to remap the forward/back keys, preferably using hal to
pageup/pagedown so that I can use them for presentation (I have a
bluetooth mouse that generates these instead of pageup/pagedown)
lshal -m shows that these keys are mapped to:
23:05:56.986: platform_i8042_i8042_KBD_port_logicaldev_input condition ButtonPressed = forward
23:05:58.525: platform_i8042_i8042_KBD_port_logicaldev_input condition ButtonPressed = back
I checked using showkey at the console and the scan code is e069 and e06a. I tried setting in hal:
<append key="input.keymap.data" type="strlist">e069:pageup</append>
<append key="input.keymap.data" type="strlist">e06a:pagedown</append>
and "lshal | grep key" shows the following
input.keymap.data = {'e069:pageup', 'e06a:pagedown'} (string list)
but it doesn't seem to achieve anything and I can't seem to find where the mappings for these keys are defined in the first place
is it possible to remap already defined keys on a per device setting using hal?
Thanks
Reply to: