* xlat/evdev_abs.in: Add constant values.
* xlat/evdev_autorepeat.in: Likewise.
* xlat/evdev_ev.in: Likewise.
* xlat/evdev_ff_status.in: Likewise.
* xlat/evdev_ff_types.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.
Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
12 files changed:
-ABS_X
-ABS_Y
-ABS_Z
-ABS_RX
-ABS_RY
-ABS_RZ
-ABS_THROTTLE
-ABS_RUDDER
-ABS_WHEEL
-ABS_GAS
-ABS_BRAKE
-ABS_HAT0X
-ABS_HAT0Y
-ABS_HAT1X
-ABS_HAT1Y
-ABS_HAT2X
-ABS_HAT2Y
-ABS_HAT3X
-ABS_HAT3Y
-ABS_PRESSURE
-ABS_DISTANCE
-ABS_TILT_X
-ABS_TILT_Y
-ABS_TOOL_WIDTH
-ABS_VOLUME
-ABS_MISC
-ABS_MT_SLOT
-ABS_MT_TOUCH_MAJOR
-ABS_MT_TOUCH_MINOR
-ABS_MT_WIDTH_MAJOR
-ABS_MT_WIDTH_MINOR
-ABS_MT_ORIENTATION
-ABS_MT_POSITION_X
-ABS_MT_POSITION_Y
-ABS_MT_TOOL_TYPE
-ABS_MT_BLOB_ID
-ABS_MT_TRACKING_ID
-ABS_MT_PRESSURE
-ABS_MT_DISTANCE
-ABS_MT_TOOL_X
-ABS_MT_TOOL_Y
+ABS_X 0x00
+ABS_Y 0x01
+ABS_Z 0x02
+ABS_RX 0x03
+ABS_RY 0x04
+ABS_RZ 0x05
+ABS_THROTTLE 0x06
+ABS_RUDDER 0x07
+ABS_WHEEL 0x08
+ABS_GAS 0x09
+ABS_BRAKE 0x0a
+ABS_HAT0X 0x10
+ABS_HAT0Y 0x11
+ABS_HAT1X 0x12
+ABS_HAT1Y 0x13
+ABS_HAT2X 0x14
+ABS_HAT2Y 0x15
+ABS_HAT3X 0x16
+ABS_HAT3Y 0x17
+ABS_PRESSURE 0x18
+ABS_DISTANCE 0x19
+ABS_TILT_X 0x1a
+ABS_TILT_Y 0x1b
+ABS_TOOL_WIDTH 0x1c
+ABS_VOLUME 0x20
+ABS_MISC 0x28
+ABS_MT_SLOT 0x2f
+ABS_MT_TOUCH_MAJOR 0x30
+ABS_MT_TOUCH_MINOR 0x31
+ABS_MT_WIDTH_MAJOR 0x32
+ABS_MT_WIDTH_MINOR 0x33
+ABS_MT_ORIENTATION 0x34
+ABS_MT_POSITION_X 0x35
+ABS_MT_POSITION_Y 0x36
+ABS_MT_TOOL_TYPE 0x37
+ABS_MT_BLOB_ID 0x38
+ABS_MT_TRACKING_ID 0x39
+ABS_MT_PRESSURE 0x3a
+ABS_MT_DISTANCE 0x3b
+ABS_MT_TOOL_X 0x3c
+ABS_MT_TOOL_Y 0x3d
-REP_DELAY
-REP_PERIOD
+REP_DELAY 0x00
+REP_PERIOD 0x01
-EV_SYN
-EV_KEY
-EV_REL
-EV_ABS
-EV_MSC
-EV_SW
-EV_LED
-EV_SND
-EV_REP
-EV_FF
-EV_PWR
-EV_FF_STATUS
+EV_SYN 0x00
+EV_KEY 0x01
+EV_REL 0x02
+EV_ABS 0x03
+EV_MSC 0x04
+EV_SW 0x05
+EV_LED 0x11
+EV_SND 0x12
+EV_REP 0x14
+EV_FF 0x15
+EV_PWR 0x16
+EV_FF_STATUS 0x17
-FF_STATUS_STOPPED
-FF_STATUS_PLAYING
+FF_STATUS_STOPPED 0x00
+FF_STATUS_PLAYING 0x01
-FF_RUMBLE
-FF_PERIODIC
-FF_CONSTANT
-FF_SPRING
-FF_FRICTION
-FF_DAMPER
-FF_INERTIA
-FF_RAMP
-FF_SQUARE
-FF_TRIANGLE
-FF_SINE
-FF_SAW_UP
-FF_SAW_DOWN
-FF_CUSTOM
-FF_GAIN
-FF_AUTOCENTER
+FF_RUMBLE 0x50
+FF_PERIODIC 0x51
+FF_CONSTANT 0x52
+FF_SPRING 0x53
+FF_FRICTION 0x54
+FF_DAMPER 0x55
+FF_INERTIA 0x56
+FF_RAMP 0x57
+FF_SQUARE 0x58
+FF_TRIANGLE 0x59
+FF_SINE 0x5a
+FF_SAW_UP 0x5b
+FF_SAW_DOWN 0x5c
+FF_CUSTOM 0x5d
+FF_GAIN 0x60
+FF_AUTOCENTER 0x61
-LED_NUML
-LED_CAPSL
-LED_SCROLLL
-LED_COMPOSE
-LED_KANA
-LED_SLEEP
-LED_SUSPEND
-LED_MUTE
-LED_MISC
-LED_MAIL
-LED_CHARGING
+LED_NUML 0x00
+LED_CAPSL 0x01
+LED_SCROLLL 0x02
+LED_COMPOSE 0x03
+LED_KANA 0x04
+LED_SLEEP 0x05
+LED_SUSPEND 0x06
+LED_MUTE 0x07
+LED_MISC 0x08
+LED_MAIL 0x09
+LED_CHARGING 0x0a
-MSC_SERIAL
-MSC_PULSELED
-MSC_GESTURE
-MSC_RAW
-MSC_SCAN
-MSC_TIMESTAMP
+MSC_SERIAL 0x00
+MSC_PULSELED 0x01
+MSC_GESTURE 0x02
+MSC_RAW 0x03
+MSC_SCAN 0x04
+MSC_TIMESTAMP 0x05
-INPUT_PROP_POINTER
-INPUT_PROP_DIRECT
-INPUT_PROP_BUTTONPAD
-INPUT_PROP_SEMI_MT
-INPUT_PROP_TOPBUTTONPAD
-INPUT_PROP_POINTING_STICK
-INPUT_PROP_ACCELEROMETER
+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
-REL_X
-REL_Y
-REL_Z
-REL_RX
-REL_RY
-REL_RZ
-REL_HWHEEL
-REL_DIAL
-REL_WHEEL
-REL_MISC
+REL_X 0x00
+REL_Y 0x01
+REL_Z 0x02
+REL_RX 0x03
+REL_RY 0x04
+REL_RZ 0x05
+REL_HWHEEL 0x06
+REL_DIAL 0x07
+REL_WHEEL 0x08
+REL_MISC 0x09
-SND_CLICK
-SND_BELL
-SND_TONE
+SND_CLICK 0x00
+SND_BELL 0x01
+SND_TONE 0x02
-SW_LID
-SW_TABLET_MODE
-SW_HEADPHONE_INSERT
-SW_RFKILL_ALL
-SW_MICROPHONE_INSERT
-SW_DOCK
-SW_LINEOUT_INSERT
-SW_JACK_PHYSICAL_INSERT
-SW_VIDEOOUT_INSERT
-SW_CAMERA_LENS_COVER
-SW_KEYPAD_SLIDE
-SW_FRONT_PROXIMITY
-SW_ROTATE_LOCK
-SW_LINEIN_INSERT
-SW_MUTE_DEVICE
-SW_PEN_INSERTED
+SW_LID 0x00
+SW_TABLET_MODE 0x01
+SW_HEADPHONE_INSERT 0x02
+SW_RFKILL_ALL 0x03
+SW_MICROPHONE_INSERT 0x04
+SW_DOCK 0x05
+SW_LINEOUT_INSERT 0x06
+SW_JACK_PHYSICAL_INSERT 0x07
+SW_VIDEOOUT_INSERT 0x08
+SW_CAMERA_LENS_COVER 0x09
+SW_KEYPAD_SLIDE 0x0a
+SW_FRONT_PROXIMITY 0x0b
+SW_ROTATE_LOCK 0x0c
+SW_LINEIN_INSERT 0x0d
+SW_MUTE_DEVICE 0x0e
+SW_PEN_INSERTED 0x0f
-SYN_REPORT
-SYN_CONFIG
-SYN_MT_REPORT
-SYN_DROPPED
+SYN_REPORT 0
+SYN_CONFIG 1
+SYN_MT_REPORT 2
+SYN_DROPPED 3