Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
40b418bd
Commit
40b418bd
authored
Jun 07, 2021
by
Rémi Bernon
Committed by
Alexandre Julliard
Jun 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add HID haptics usage page.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
45958834
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
hidusage.h
include/hidusage.h
+28
-0
No files found.
include/hidusage.h
View file @
40b418bd
...
...
@@ -196,6 +196,7 @@ typedef USHORT USAGE, *PUSAGE;
#define HID_USAGE_PAGE_TELEPHONY ((USAGE) 0x0B)
#define HID_USAGE_PAGE_CONSUMER ((USAGE) 0x0C)
#define HID_USAGE_PAGE_DIGITIZER ((USAGE) 0x0D)
#define HID_USAGE_PAGE_HAPTICS ((USAGE) 0x0E)
#define HID_USAGE_PAGE_UNICODE ((USAGE) 0x10)
#define HID_USAGE_PAGE_ALPHANUMERIC ((USAGE) 0x14)
#define HID_USAGE_PAGE_VENDOR_DEFINED_BEGIN ((USAGE) 0xff00)
...
...
@@ -224,6 +225,33 @@ typedef USHORT USAGE, *PUSAGE;
#define HID_USAGE_TELEPHONY_KEYPAD_D ((USAGE) 0xBF)
#define HID_USAGE_TELEPHONY_HOST_AVAILABLE ((USAGE) 0xF1)
#define HID_USAGE_HAPTICS_SIMPLE_CONTROLLER ((USAGE) 0x01)
#define HID_USAGE_HAPTICS_WAVEFORM_LIST ((USAGE) 0x10)
#define HID_USAGE_HAPTICS_DURATION_LIST ((USAGE) 0x11)
#define HID_USAGE_HAPTICS_AUTO_TRIGGER ((USAGE) 0x20)
#define HID_USAGE_HAPTICS_MANUAL_TRIGGER ((USAGE) 0x21)
#define HID_USAGE_HAPTICS_AUTO_ASSOCIATED_CONTROL ((USAGE) 0x22)
#define HID_USAGE_HAPTICS_INTENSITY ((USAGE) 0x23)
#define HID_USAGE_HAPTICS_REPEAT_COUNT ((USAGE) 0x24)
#define HID_USAGE_HAPTICS_RETRIGGER_PERIOD ((USAGE) 0x25)
#define HID_USAGE_HAPTICS_WAVEFORM_VENDOR_PAGE ((USAGE) 0x26)
#define HID_USAGE_HAPTICS_WAVEFORM_VENDOR_ID ((USAGE) 0x27)
#define HID_USAGE_HAPTICS_WAVEFORM_CUTOFF_TIME ((USAGE) 0x28)
#define HID_USAGE_HAPTICS_WAVEFORM_BEGIN ((USAGE) 0x1000)
/* Differs from https://usb.org/sites/default/files/hut1_22.pdf */
/* Waveform None */
#define HID_USAGE_HAPTICS_WAVEFORM_STOP ((USAGE) 0x1001)
/* Waveform Stop */
#define HID_USAGE_HAPTICS_WAVEFORM_NULL ((USAGE) 0x1002)
#define HID_USAGE_HAPTICS_WAVEFORM_CLICK ((USAGE) 0x1003)
#define HID_USAGE_HAPTICS_WAVEFORM_BUZZ ((USAGE) 0x1004)
#define HID_USAGE_HAPTICS_WAVEFORM_RUMBLE ((USAGE) 0x1005)
#define HID_USAGE_HAPTICS_WAVEFORM_PRESS ((USAGE) 0x1006)
#define HID_USAGE_HAPTICS_WAVEFORM_RELEASE ((USAGE) 0x1007)
#define HID_USAGE_HAPTICS_WAVEFORM_END ((USAGE) 0x1FFF)
#define HID_USAGE_HAPTICS_WAVEFORM_VENDOR_BEGIN ((USAGE) 0x2000)
#define HID_USAGE_HAPTICS_WAVEFORM_VENDOR_END ((USAGE) 0x2FFF)
#define HID_USAGE_MS_BTH_HF_DIALNUMBER ((USAGE) 0x21)
#define HID_USAGE_MS_BTH_HF_DIALMEMORY ((USAGE) 0x22)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment