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
335656e4
Commit
335656e4
authored
May 16, 2020
by
Francois Gouget
Committed by
Alexandre Julliard
May 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebus.sys: Fix the spelling of HID_USAGE_SIMULATION_ACCELERATOR.
Signed-off-by:
Francois Gouget
<
fgouget@free.fr
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e328a600
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
bus_udev.c
dlls/winebus.sys/bus_udev.c
+1
-1
hidusage.h
include/hidusage.h
+1
-1
No files found.
dlls/winebus.sys/bus_udev.c
View file @
335656e4
...
...
@@ -139,7 +139,7 @@ static const BYTE ABS_TO_HID_MAP[][2] = {
{
HID_USAGE_PAGE_SIMULATION
,
HID_USAGE_SIMULATION_THROTTLE
},
/*ABS_THROTTLE*/
{
HID_USAGE_PAGE_SIMULATION
,
HID_USAGE_SIMULATION_RUDDER
},
/*ABS_RUDDER*/
{
HID_USAGE_PAGE_GENERIC
,
HID_USAGE_GENERIC_WHEEL
},
/*ABS_WHEEL*/
{
HID_USAGE_PAGE_SIMULATION
,
HID_USAGE_SIMULATION_ACCEL
L
ERATOR
},
/*ABS_GAS*/
{
HID_USAGE_PAGE_SIMULATION
,
HID_USAGE_SIMULATION_ACCELERATOR
},
/*ABS_GAS*/
{
HID_USAGE_PAGE_SIMULATION
,
HID_USAGE_SIMULATION_BRAKE
},
/*ABS_BRAKE*/
{
0
,
0
},
/*ABS_HAT0X*/
{
0
,
0
},
/*ABS_HAT0Y*/
...
...
include/hidusage.h
View file @
335656e4
...
...
@@ -200,7 +200,7 @@ typedef USHORT USAGE, *PUSAGE;
#define HID_USAGE_SIMULATION_RUDDER ((USAGE) 0xBA)
#define HID_USAGE_SIMULATION_THROTTLE ((USAGE) 0xBB)
#define HID_USAGE_SIMULATION_ACCEL
LERATOR
((USAGE) 0xC4)
#define HID_USAGE_SIMULATION_ACCEL
ERATOR
((USAGE) 0xC4)
#define HID_USAGE_SIMULATION_BRAKE ((USAGE) 0xC5)
#define HID_USAGE_SIMULATION_STEERING ((USAGE) 0xC8)
...
...
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