History

Input: add `SW_MACHINE_COVER`

This event code represents the state of a removable cover of a device. Value 0 means that the cover is open or removed, value 1 means that the cover is closed.

Merlijn Wajer committed 6 years ago

Commit c463bb21 parent 751ad342 files · +3 −2Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/mod_devicetable.h+1−1
@@ -318,7 +318,7 @@ struct pcmcia_device_id { · 317 unmodified lines
318#define INPUT_DEVICE_ID_LED_MAX 0x0f318#define INPUT_DEVICE_ID_LED_MAX 0x0f
319#define INPUT_DEVICE_ID_SND_MAX 0x07319#define INPUT_DEVICE_ID_SND_MAX 0x07
320#define INPUT_DEVICE_ID_FF_MAX 0x7f320#define INPUT_DEVICE_ID_FF_MAX 0x7f
321#define INPUT_DEVICE_ID_SW_MAX 0x0f321#define INPUT_DEVICE_ID_SW_MAX 0x10
322#define INPUT_DEVICE_ID_PROP_MAX 0x1f322#define INPUT_DEVICE_ID_PROP_MAX 0x1f
323 323
324#define INPUT_DEVICE_ID_MATCH_BUS 1324#define INPUT_DEVICE_ID_MATCH_BUS 1