keymapping
David Woodfall
dave at dawoodfall.net
Sat Apr 23 19:27:46 PDT 2011
Hi, I have a usr9600 phone which acts as an extra keyboard and I'm
trying to map keys 1-0 to keypad 1-0:
<append key="input.keymap.data" type="strlist">0x02:KP1</append>
<append key="input.keymap.data" type="strlist">0x03:KP2</append>
<append key="input.keymap.data" type="strlist">0x04:KP3</append>
<append key="input.keymap.data" type="strlist">0x05:KP4</append>
<append key="input.keymap.data" type="strlist">0x06:KP5</append>
<append key="input.keymap.data" type="strlist">0x07:KP6</append>
<append key="input.keymap.data" type="strlist">0x08:KP7</append>
<append key="input.keymap.data" type="strlist">0x09:KP8</append>
<append key="input.keymap.data" type="strlist">0x0a:KP9</append>
<append key="input.keymap.data" type="strlist">0x0b:KP0</append>
lshal shows the mappings but they aren't working. I got the codes with
scankey -s and I've also tried using xev which show different
keycodes.
I've also tried <merge> instead of <append>
Any ideas why this isn't working?
--
Don't look back, the lemmings are gaining on you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/hal/attachments/20110424/1950791a/attachment.pgp>
More information about the hal
mailing list