86bfc08a92
* xlat/evdev_abs.in: Add "#value_indexed" directive. * xlat/evdev_autorepeat.in: Likewise. * xlat/evdev_ff_status.in: Likewise. * xlat/evdev_keycode.in: Likewise. * xlat/evdev_leds.in: Likewise. * xlat/evdev_misc.in: Likewise. * xlat/evdev_prop.in: Likewise. * xlat/evdev_relative_axes.in: Likewise. * xlat/evdev_snd.in: Likewise. * xlat/evdev_switch.in: Likewise. * xlat/evdev_sync.in: Likewise. * xlat/evdev_ff_types.in: Add a comment about sorting. * evdev.c (keycode_ioctl, keycode_V2_ioctl): Use printxval_index instead of printxval. (bit_ioctl): Use XT_SORTED for evdev_ff_types, use XT_INDEXED for other xlats. (evdev_read_ioctl): Use XT_INDEXED for all xlats. * ioctl.c (evdev_decode_number): Use printxval_indexn instead of printxval for evdev_abs.
9 lines
186 B
Plaintext
9 lines
186 B
Plaintext
#value_indexed
|
|
INPUT_PROP_POINTER 0
|
|
INPUT_PROP_DIRECT 1
|
|
INPUT_PROP_BUTTONPAD 2
|
|
INPUT_PROP_SEMI_MT 3
|
|
INPUT_PROP_TOPBUTTONPAD 4
|
|
INPUT_PROP_POINTING_STICK 5
|
|
INPUT_PROP_ACCELEROMETER 6
|