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.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -888,7 +888,8 @@ · 887 unmodified lines | ||
| 888 | 888 | #define SW_LINEIN_INSERT 0x0d /* set = inserted */ |
| 889 | 889 | #define SW_MUTE_DEVICE 0x0e /* set = device disabled */ |
| 890 | 890 | #define SW_PEN_INSERTED 0x0f /* set = pen inserted */ |
| 891 | −#define SW_MAX 0x0f | |
| 891 | +#define SW_MACHINE_COVER 0x10 /* set = cover closed */ | |
| 892 | +#define SW_MAX 0x10 | |
| 892 | 893 | #define SW_CNT (SW_MAX+1) |
| 893 | 894 | |
| 894 | 895 | /* |