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>
This commit is contained in:
Francois Gouget 2020-05-16 12:18:17 +02:00 committed by Alexandre Julliard
parent e328a60017
commit 335656e433
2 changed files with 2 additions and 2 deletions

View File

@ -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_ACCELLERATOR}, /*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*/

View File

@ -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_ACCELLERATOR ((USAGE) 0xC4)
#define HID_USAGE_SIMULATION_ACCELERATOR ((USAGE) 0xC4)
#define HID_USAGE_SIMULATION_BRAKE ((USAGE) 0xC5)
#define HID_USAGE_SIMULATION_STEERING ((USAGE) 0xC8)