Docs.rs
input-event-codes-6.2.0
input-event-codes 6.2.0
Permalink
Docs.rs crate page
GPL-2.0-only
Links
Repository
crates.io
Source
Owners
gm666q
Dependencies
Versions
0.13%
of the crate is documented
Platform
aarch64-unknown-linux-gnu
armv7-unknown-linux-gnueabihf
i686-unknown-linux-gnu
powerpc64le-unknown-linux-gnu
riscv64gc-unknown-linux-gnu
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
input_event_codes
6.2.0
All Items
Macros
Crate
input_event_codes
Copy item path
source
·
[
−
]
Expand description
Linux input event codes form
linux/input_event_codes.h
.
Macros
§
ABS_BRAKE
ABS_CNT
ABS_DISTANCE
ABS_GAS
ABS_HAT0X
ABS_HAT0Y
ABS_HAT1X
ABS_HAT1Y
ABS_HAT2X
ABS_HAT2Y
ABS_HAT3X
ABS_HAT3Y
ABS_MAX
ABS_MISC
ABS_MT_BLOB_ID
ABS_MT_DISTANCE
ABS_MT_ORIENTATION
ABS_MT_POSITION_X
ABS_MT_POSITION_Y
ABS_MT_PRESSURE
ABS_MT_SLOT
ABS_MT_TOOL_TYPE
ABS_MT_TOOL_X
ABS_MT_TOOL_Y
ABS_MT_TOUCH_MAJOR
ABS_MT_TOUCH_MINOR
ABS_MT_TRACKING_ID
ABS_MT_WIDTH_MAJOR
ABS_MT_WIDTH_MINOR
ABS_PRESSURE
ABS_PROFILE
ABS_RESERVED
ABS_RUDDER
ABS_RX
ABS_RY
ABS_RZ
ABS_THROTTLE
ABS_TILT_X
ABS_TILT_Y
ABS_TOOL_WIDTH
ABS_VOLUME
ABS_WHEEL
ABS_X
ABS_Y
ABS_Z
BTN_0
BTN_1
BTN_2
BTN_3
BTN_4
BTN_5
BTN_6
BTN_7
BTN_8
BTN_9
BTN_A
BTN_B
BTN_BACK
BTN_BASE
BTN_BASE2
BTN_BASE3
BTN_BASE4
BTN_BASE5
BTN_BASE6
BTN_C
BTN_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_TRIGGER_HAPPY24
BTN_TRIGGER_HAPPY25
BTN_TRIGGER_HAPPY26
BTN_TRIGGER_HAPPY27
BTN_TRIGGER_HAPPY28
BTN_TRIGGER_HAPPY29
BTN_TRIGGER_HAPPY30
BTN_TRIGGER_HAPPY31
BTN_TRIGGER_HAPPY32
BTN_TRIGGER_HAPPY33
BTN_TRIGGER_HAPPY34
BTN_TRIGGER_HAPPY35
BTN_TRIGGER_HAPPY36
BTN_TRIGGER_HAPPY37
BTN_TRIGGER_HAPPY38
BTN_TRIGGER_HAPPY39
BTN_TRIGGER_HAPPY40
BTN_WEST
BTN_WHEEL
BTN_X
BTN_Y
BTN_Z
EV_ABS
EV_CNT
EV_FF
EV_FF_STATUS
EV_KEY
EV_LED
EV_MAX
EV_MSC
EV_PWR
EV_REL
EV_REP
EV_SND
EV_SW
EV_SYN
INPUT_PROP_ACCELEROMETER
INPUT_PROP_BUTTONPAD
INPUT_PROP_CNT
INPUT_PROP_DIRECT
INPUT_PROP_MAX
INPUT_PROP_POINTER
INPUT_PROP_POINTING_STICK
INPUT_PROP_SEMI_MT
INPUT_PROP_TOPBUTTONPAD
KEY_0
KEY_1
KEY_2
KEY_3
KEY_3D_MODE
KEY_4
KEY_5
KEY_6
KEY_7
KEY_8
KEY_9
KEY_10CHANNELSDOWN
KEY_10CHANNELSUP
KEY_102ND
KEY_A
KEY_AB
KEY_ADDRESSBOOK
KEY_AGAIN
KEY_ALL_APPLICATIONS
KEY_ALS_TOGGLE
KEY_ALTERASE
KEY_ANGLE
KEY_APOSTROPHE
KEY_APPSELECT
KEY_ARCHIVE
KEY_ASPECT_RATIO
KEY_ASSISTANT
KEY_ATTENDANT_OFF
KEY_ATTENDANT_ON
KEY_ATTENDANT_TOGGLE
KEY_AUDIO
KEY_AUDIO_DESC
KEY_AUTOPILOT_ENGAGE_TOGGLE
KEY_AUX
KEY_B
KEY_BACK
KEY_BACKSLASH
KEY_BACKSPACE
KEY_BASSBOOST
KEY_BATTERY
KEY_BLU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KEY_KBDILLUMUP
KEY_KBDINPUTASSIST_ACCEPT
KEY_KBDINPUTASSIST_CANCEL
KEY_KBDINPUTASSIST_NEXT
KEY_KBDINPUTASSIST_NEXTGROUP
KEY_KBDINPUTASSIST_PREV
KEY_KBDINPUTASSIST_PREVGROUP
KEY_KBD_LAYOUT_NEXT
KEY_KBD_LCD_MENU1
KEY_KBD_LCD_MENU2
KEY_KBD_LCD_MENU3
KEY_KBD_LCD_MENU4
KEY_KBD_LCD_MENU5
KEY_KEYBOARD
KEY_KP0
KEY_KP1
KEY_KP2
KEY_KP3
KEY_KP4
KEY_KP5
KEY_KP6
KEY_KP7
KEY_KP8
KEY_KP9
KEY_KPASTERISK
KEY_KPCOMMA
KEY_KPDOT
KEY_KPENTER
KEY_KPEQUAL
KEY_KPJPCOMMA
KEY_KPLEFTPAREN
KEY_KPMINUS
KEY_KPPLUS
KEY_KPPLUSMINUS
KEY_KPRIGHTPAREN
KEY_KPSLASH
KEY_L
KEY_LANGUAGE
KEY_LAST
KEY_LEFT
KEY_LEFTALT
KEY_LEFTBRACE
KEY_LEFTCTRL
KEY_LEFTMETA
KEY_LEFTSHIFT
KEY_LEFT_DOWN
KEY_LEFT_UP
KEY_LIGHTS_TOGGLE
KEY_LINEFEED
KEY_LIST
KEY_LOGOFF
KEY_M
KEY_MACRO
KEY_MACRO1
KEY_MACRO2
KEY_MACRO3
KEY_MACRO4
KEY_MACRO5
KEY_MACRO6
KEY_MACRO7
KEY_MACRO8
KEY_MACRO9
KEY_MACRO10
KEY_MACRO11
KEY_MACRO12
KEY_MACRO13
KEY_MACRO14
KEY_MACRO15
KEY_MACRO16
KEY_MACRO17
KEY_MACRO18
KEY_MACRO19
KEY_MACRO20
KEY_MACRO21
KEY_MACRO22
KEY_MACRO23
KEY_MACRO24
KEY_MACRO25
KEY_MACRO26
KEY_MACRO27
KEY_MACRO28
KEY_MACRO29
KEY_MACRO30
KEY_MACRO_PRESET1
KEY_MACRO_PRESET2
KEY_MACRO_PRESET3
KEY_MACRO_PRESET_CYCLE
KEY_MACRO_RECORD_START
KEY_MACRO_RECORD_STOP
KEY_MAIL
KEY_MARK_WAYPOINT
KEY_MAX
KEY_MEDIA
KEY_MEDIA_REPEAT
KEY_MEDIA_TOP_MENU
KEY_MEMO
KEY_MENU
KEY_MESSENGER
KEY_MHP
KEY_MICMUTE
KEY_MINUS
KEY_MIN_INTERESTING
KEY_MODE
KEY_MOVE
KEY_MP3
KEY_MSDOS
KEY_MUHENKAN
KEY_MUTE
KEY_N
KEY_NAV_CHART
KEY_NAV_INFO
KEY_NEW
KEY_NEWS
KEY_NEXT
KEY_NEXTSONG
KEY_NEXT_ELEMENT
KEY_NEXT_FAVORITE
KEY_NOTIFICATION_CENTER
KEY_NUMERIC_0
KEY_NUMERIC_1
KEY_NUMERIC_2
KEY_NUMERIC_3
KEY_NUMERIC_4
KEY_NUMERIC_5
KEY_NUMERIC_6
KEY_NUMERIC_7
KEY_NUMERIC_8
KEY_NUMERIC_9
KEY_NUMERIC_11
KEY_NUMERIC_12
KEY_NUMERIC_A
KEY_NUMERIC_B
KEY_NUMERIC_C
KEY_NUMERIC_D
KEY_NUMERIC_POUND
KEY_NUMERIC_STAR
KEY_NUMLOCK
KEY_O
KEY_OK
KEY_ONSCREEN_KEYBOARD
KEY_OPEN
KEY_OPTION
KEY_P
KEY_PAGEDOWN
KEY_PAGEUP
KEY_PASTE
KEY_PAUSE
KEY_PAUSECD
KEY_PAUSE_RECORD
KEY_PC
KEY_PHONE
KEY_PICKUP_PHONE
KEY_PLAY
KEY_PLAYCD
KEY_PLAYER
KEY_PLAYPAUSE
KEY_POWER
KEY_POWER2
KEY_PRESENTATION
KEY_PREVIOUS
KEY_PREVIOUSSONG
KEY_PREVIOUS_ELEMENT
KEY_PRINT
KEY_PRIVACY_SCREEN_TOGGLE
KEY_PROG1
KEY_PROG2
KEY_PROG3
KEY_PROG4
KEY_PROGRAM
KEY_PROPS
KEY_PVR
KEY_Q
KEY_QUESTION
KEY_R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V
KEY_VOD
KEY_VOICECOMMAND
KEY_VOICEMAIL
KEY_VOLUMEDOWN
KEY_VOLUMEUP
KEY_W
KEY_WAKEUP
KEY_WIMAX
KEY_WLAN
KEY_WORDPROCESSOR
KEY_WPS_BUTTON
KEY_WWAN
KEY_WWW
KEY_X
KEY_XFER
KEY_Y
KEY_YELLOW
KEY_YEN
KEY_Z
KEY_ZENKAKUHANKAKU
KEY_ZOOM
KEY_ZOOMIN
KEY_ZOOMOUT
KEY_ZOOMRESET
LED_CAPSL
LED_CHARGING
LED_CNT
LED_COMPOSE
LED_KANA
LED_MAIL
LED_MAX
LED_MISC
LED_MUTE
LED_NUML
LED_SCROLLL
LED_SLEEP
LED_SUSPEND
MSC_CNT
MSC_GESTURE
MSC_MAX
MSC_PULSELED
MSC_RAW
MSC_SCAN
MSC_SERIAL
MSC_TIMESTAMP
REL_CNT
REL_DIAL
REL_HWHEEL
REL_HWHEEL_HI_RES
REL_MAX
REL_MISC
REL_RESERVED
REL_RX
REL_RY
REL_RZ
REL_WHEEL
REL_WHEEL_HI_RES
REL_X
REL_Y
REL_Z
REP_CNT
REP_DELAY
REP_MAX
REP_PERIOD
SND_BELL
SND_CLICK
SND_CNT
SND_MAX
SND_TONE
SW_CAMERA_LENS_COVER
SW_CNT
SW_DOCK
SW_FRONT_PROXIMITY
SW_HEADPHONE_INSERT
SW_JACK_PHYSICAL_INSERT
SW_KEYPAD_SLIDE
SW_LID
SW_LINEIN_INSERT
SW_LINEOUT_INSERT
SW_MACHINE_COVER
SW_MAX
SW_MICROPHONE_INSERT
SW_MUTE_DEVICE
SW_PEN_INSERTED
SW_RADIO
Deprecated
SW_RFKILL_ALL
SW_ROTATE_LOCK
SW_TABLET_MODE
SW_VIDEOOUT_INSERT
SYN_CNT
SYN_CONFIG
SYN_DROPPED
SYN_MAX
SYN_MT_REPORT
SYN_REPORT