mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-25 10:30:08 +01:00
include: update to 4.1 header
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
f54656ecc1
commit
66dfaeb999
2 changed files with 16 additions and 2 deletions
|
|
@ -367,7 +367,8 @@ struct input_keymap_entry {
|
|||
#define KEY_MSDOS 151
|
||||
#define KEY_COFFEE 152 /* AL Terminal Lock/Screensaver */
|
||||
#define KEY_SCREENLOCK KEY_COFFEE
|
||||
#define KEY_DIRECTION 153
|
||||
#define KEY_ROTATE_DISPLAY 153 /* Display orientation for e.g. tablets */
|
||||
#define KEY_DIRECTION KEY_ROTATE_DISPLAY
|
||||
#define KEY_CYCLEWINDOWS 154
|
||||
#define KEY_MAIL 155
|
||||
#define KEY_BOOKMARKS 156 /* AC Bookmarks */
|
||||
|
|
@ -700,6 +701,10 @@ struct input_keymap_entry {
|
|||
#define KEY_NUMERIC_9 0x209
|
||||
#define KEY_NUMERIC_STAR 0x20a
|
||||
#define KEY_NUMERIC_POUND 0x20b
|
||||
#define KEY_NUMERIC_A 0x20c /* Phone key A - HUT Telephony 0xb9 */
|
||||
#define KEY_NUMERIC_B 0x20d
|
||||
#define KEY_NUMERIC_C 0x20e
|
||||
#define KEY_NUMERIC_D 0x20f
|
||||
|
||||
#define KEY_CAMERA_FOCUS 0x210
|
||||
#define KEY_WPS_BUTTON 0x211 /* WiFi Protected Setup key */
|
||||
|
|
|
|||
|
|
@ -82,7 +82,16 @@ struct uinput_ff_erase {
|
|||
* The complete sysfs path is then /sys/devices/virtual/input/--NAME--
|
||||
* Usually, it is in the form "inputN"
|
||||
*/
|
||||
#define UI_GET_SYSNAME(len) _IOC(_IOC_READ, UINPUT_IOCTL_BASE, 300, len)
|
||||
#define UI_GET_SYSNAME(len) _IOC(_IOC_READ, UINPUT_IOCTL_BASE, 44, len)
|
||||
|
||||
/**
|
||||
* UI_GET_VERSION - Return version of uinput protocol
|
||||
*
|
||||
* This writes uinput protocol version implemented by the kernel into
|
||||
* the integer pointed to by the ioctl argument. The protocol version
|
||||
* is hard-coded in the kernel and is independent of the uinput device.
|
||||
*/
|
||||
#define UI_GET_VERSION _IOR(UINPUT_IOCTL_BASE, 45, unsigned int)
|
||||
|
||||
/*
|
||||
* To write a force-feedback-capable driver, the upload_effect
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue