11--- @meta _
22
3- -- Generated by "./scripts/generate-ecodes.lua" from "/usr/include/linux/ input-event-codes.h"
3+ -- Generated by "./scripts/generate-ecodes.lua" from "input-event-codes.h"
44
5+ ---
6+ --- Button codes (e.g. mouse buttons, joysticks, gamepads).
7+ ---
58-- stylua: ignore
69--- @enum evdev.ecodes.btn
710local BTN = {
@@ -130,6 +133,9 @@ local BTN = {
130133 BTN_Z = 309
131134}
132135
136+ ---
137+ --- Event types (e.g. key press, relative movement, absolute position, synchronization).
138+ ---
133139-- stylua: ignore
134140--- @enum evdev.ecodes.ev
135141local EV = {
@@ -149,6 +155,9 @@ local EV = {
149155 EV_SYN = 0
150156}
151157
158+ ---
159+ --- Keyboard key codes.
160+ ---
152161-- stylua: ignore
153162--- @enum evdev.ecodes.key
154163local KEY = {
@@ -169,6 +178,7 @@ local KEY = {
169178 KEY_A = 30 ,
170179 KEY_AB = 406 ,
171180 KEY_ACCESSIBILITY = 590 ,
181+ KEY_ACTION_ON_SELECTION = 596 ,
172182 KEY_ADDRESSBOOK = 429 ,
173183 KEY_AGAIN = 129 ,
174184 KEY_ALL_APPLICATIONS = 204 ,
@@ -247,6 +257,8 @@ local KEY = {
247257 KEY_COMPUTER = 157 ,
248258 KEY_CONFIG = 171 ,
249259 KEY_CONNECT = 218 ,
260+ KEY_CONTEXTUAL_INSERT = 597 ,
261+ KEY_CONTEXTUAL_QUERY = 598 ,
250262 KEY_CONTEXT_MENU = 438 ,
251263 KEY_CONTROLPANEL = 579 ,
252264 KEY_COPY = 133 ,
@@ -675,6 +687,9 @@ local KEY = {
675687 KEY_ZOOMRESET = 420
676688}
677689
690+ ---
691+ --- Relative axis codes (e.g. mouse movement, scroll wheels).
692+ ---
678693-- stylua: ignore
679694--- @enum evdev.ecodes.rel
680695local REL = {
@@ -695,6 +710,9 @@ local REL = {
695710 REL_Z = 2
696711}
697712
713+ ---
714+ --- Synchronization event codes used to group events or signal device status changes.
715+ ---
698716-- stylua: ignore
699717--- @enum evdev.ecodes.syn
700718local SYN = {
0 commit comments