It's east not easth

This commit is contained in:
Iwan Timmer
2014-01-22 15:58:20 +01:00
parent 8df17833b3
commit da61fb6ed6
2 changed files with 2 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ public class EvdevHandler implements Runnable {
gamepadButton = ControllerPacket.X_FLAG;
else if (code==mapping.btn_north)
gamepadButton = ControllerPacket.Y_FLAG;
else if (code==mapping.btn_easth)
else if (code==mapping.btn_east)
gamepadButton = ControllerPacket.B_FLAG;
else if (code==mapping.btn_dpad_up)
gamepadButton = ControllerPacket.UP_FLAG;

View File

@@ -22,7 +22,7 @@ public class GamepadMapping {
public short abs_rudder = EvdevConstants.ABS_RUDDER;
public short btn_south = EvdevConstants.BTN_SOUTH;
public short btn_easth = EvdevConstants.BTN_EAST;
public short btn_east = EvdevConstants.BTN_EAST;
public short btn_north = EvdevConstants.BTN_NORTH;
public short btn_west = EvdevConstants.BTN_WEST;