mirror of
https://github.com/Genymobile/scrcpy.git
synced 2024-09-19 05:31:21 +02:00
Replace raw number by its name
PR #4373 <https://github.com/Genymobile/scrcpy/pull/4373> Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
parent
32e77a5253
commit
33657d44d5
1 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,8 @@
|
||||||
// keyboard support, though OS could support more keys via modifying the report
|
// keyboard support, though OS could support more keys via modifying the report
|
||||||
// desc. 6 should be enough for scrcpy.
|
// desc. 6 should be enough for scrcpy.
|
||||||
#define HID_KEYBOARD_MAX_KEYS 6
|
#define HID_KEYBOARD_MAX_KEYS 6
|
||||||
#define HID_KEYBOARD_EVENT_SIZE (2 + HID_KEYBOARD_MAX_KEYS)
|
#define HID_KEYBOARD_EVENT_SIZE \
|
||||||
|
(HID_KEYBOARD_INDEX_KEYS + HID_KEYBOARD_MAX_KEYS)
|
||||||
|
|
||||||
#define HID_RESERVED 0x00
|
#define HID_RESERVED 0x00
|
||||||
#define HID_ERROR_ROLL_OVER 0x01
|
#define HID_ERROR_ROLL_OVER 0x01
|
||||||
|
|
Loading…
Reference in a new issue