Fixed gas/break mixup

This commit is contained in:
Ingo Ruhnke 2009-01-15 18:58:57 +01:00
parent 465ff4f33d
commit a33b96519a
2 changed files with 3 additions and 2 deletions

1
NEWS
View file

@ -4,6 +4,7 @@ xboxdrv 0.4.3 - (??/Jan/2009)
* added support for X11 keysym in --ui-buttonmap
* added --ui-clear and void mappings to unmap buttons and axis
* fixed LED handling for wireless gamepads
* Thrustmaster Firestorm Dual Power support
xboxdrv 0.4.2 - (11/Jan/2009)

View file

@ -245,8 +245,8 @@ uInputCfg::uInputCfg()
axis_map[XBOX_AXIS_Y1] = AxisEvent::create(EV_ABS, ABS_Y);
axis_map[XBOX_AXIS_X2] = AxisEvent::create(EV_ABS, ABS_RX);
axis_map[XBOX_AXIS_Y2] = AxisEvent::create(EV_ABS, ABS_RY);
axis_map[XBOX_AXIS_LT] = AxisEvent::create(EV_ABS, ABS_GAS);
axis_map[XBOX_AXIS_RT] = AxisEvent::create(EV_ABS, ABS_BRAKE);
axis_map[XBOX_AXIS_LT] = AxisEvent::create(EV_ABS, ABS_BRAKE);
axis_map[XBOX_AXIS_RT] = AxisEvent::create(EV_ABS, ABS_GAS);
axis_map[XBOX_AXIS_TRIGGER] = AxisEvent::create(EV_ABS, ABS_Z);
axis_map[XBOX_AXIS_DPAD_X] = AxisEvent::create(EV_ABS, ABS_HAT0X);
axis_map[XBOX_AXIS_DPAD_Y] = AxisEvent::create(EV_ABS, ABS_HAT0Y);