chiark / gitweb /
input_id: Cover key devices which only have KEY_* > 255
authorMartin Pitt <martin.pitt@ubuntu.com>
Fri, 18 Mar 2011 13:45:42 +0000 (14:45 +0100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Fri, 18 Mar 2011 13:45:42 +0000 (14:45 +0100)
commit792479aca54d266430c900f90557ea8d0da2c125
tree827be31c842a32602bf09bd0b5f2c15b489f81b9
parent88149f668ea7ac23c61f6d1982db4f4517da763c
input_id: Cover key devices which only have KEY_* > 255

We previously only tested the "key" capabilities for keys between 0 and 255 to
determine ID_INPUT_KEY. If there are none, also check for keys in the upper
block (KEY_OK/0x160 to KEY_TOUCHPAD_OFF/0x214).
extras/input_id/input_id.c