Skip to content

Commit

Permalink
[vioinput] Fix compilation with EWDK 2025
Browse files Browse the repository at this point in the history
Signed-off-by: Kostiantyn Kostiuk <[email protected]>
  • Loading branch information
kostyanf14 authored and YanVugenfirer committed Apr 16, 2024
1 parent 8b6f5ef commit 863c12c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vioinput/sys/Hid.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,13 @@
#define HID_USAGE_DIGITIZER_CONTACT_WIDTH 0x48
#define HID_USAGE_DIGITIZER_CONTACT_HEIGHT 0x49
#define HID_USAGE_DIGITIZER_CONTACT_ID 0x51
#ifndef HID_USAGE_DIGITIZER_CONTACT_COUNT
#define HID_USAGE_DIGITIZER_CONTACT_COUNT 0x54
#endif
#define HID_USAGE_DIGITIZER_CONTACT_COUNT_MAX 0x55
#ifndef HID_USAGE_DIGITIZER_SCAN_TIME
#define HID_USAGE_DIGITIZER_SCAN_TIME 0x56
#endif
#define HID_USAGE_DIGITIZER_DATA_VALID_FINGER 0x37

#ifndef HID_USAGE_SIMULATION_BRAKE
Expand All @@ -95,7 +99,9 @@
#ifndef HID_USAGE_SIMULATION_STEERING
#define HID_USAGE_SIMULATION_STEERING 0xC8
#endif
#ifndef HID_USAGE_SIMULATION_ACCELERATOR
#define HID_USAGE_SIMULATION_ACCELERATOR 0xC4
#endif

#define KEY_USAGE_MASK 0x0000FFFF
#define KEY_TYPE_MASK 0xFFFF0000
Expand Down

0 comments on commit 863c12c

Please sign in to comment.