Preliminary relative mouse mapping. Disabled because it breaks the control mapping UI currently.

Needs tweaking.
This commit is contained in:
Henrik Rydgard committed 2013-08-12 23:27:41 +02:00
1 parent 16aa636b17
commit 22a05c5e38
5 files changed
+60 -9

No files matched your search

+3 -1
View File
@@ -424,7 +424,9 @@ const KeyMap_IntStrPair axis_names[] = {
{JOYSTICK_AXIS_GAS, "Gas"},
{JOYSTICK_AXIS_BRAKE, "Brake"},
{JOYSTICK_AXIS_DISTANCE, "Distance"},
{JOYSTICK_AXIS_TILT, "Tilt"}
{JOYSTICK_AXIS_TILT, "Tilt"},
{JOYSTICK_AXIS_MOUSE_REL_X, "MouseDX"},
{JOYSTICK_AXIS_MOUSE_REL_Y, "MouseDY"},
};
static std::string unknown_key_name = "??";