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
eaf2d622
Commit
eaf2d622
authored
Feb 01, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebus.sys: Fix the definition of ABS_TO_HID_MAP.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
cb796441
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
bus_udev.c
dlls/winebus.sys/bus_udev.c
+6
-0
No files found.
dlls/winebus.sys/bus_udev.c
View file @
eaf2d622
...
...
@@ -141,6 +141,11 @@ static const BYTE ABS_TO_HID_MAP[][2] = {
{
HID_USAGE_PAGE_GENERIC
,
HID_USAGE_GENERIC_WHEEL
},
/*ABS_WHEEL*/
{
HID_USAGE_PAGE_SIMULATION
,
HID_USAGE_SIMULATION_ACCELERATOR
},
/*ABS_GAS*/
{
HID_USAGE_PAGE_SIMULATION
,
HID_USAGE_SIMULATION_BRAKE
},
/*ABS_BRAKE*/
{
0
,
0
},
{
0
,
0
},
{
0
,
0
},
{
0
,
0
},
{
0
,
0
},
{
0
,
0
},
/*ABS_HAT0X*/
{
0
,
0
},
/*ABS_HAT0Y*/
{
0
,
0
},
/*ABS_HAT1X*/
...
...
@@ -160,6 +165,7 @@ static const BYTE ABS_TO_HID_MAP[][2] = {
{
HID_USAGE_PAGE_CONSUMER
,
HID_USAGE_CONSUMER_VOLUME
}
/*ABS_VOLUME*/
};
#define HID_ABS_MAX (ABS_VOLUME+1)
C_ASSERT
(
ARRAY_SIZE
(
ABS_TO_HID_MAP
)
==
HID_ABS_MAX
);
#define TOP_ABS_PAGE (HID_USAGE_PAGE_DIGITIZER+1)
static
const
BYTE
REL_TO_HID_MAP
[][
2
]
=
{
...
...
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