- Added support for horizontal mouse wheels, and set invprev/invnext as

default bindings for it. (Only works with Raw Input on XP. Vista has
  support through Win32 mouse, as well. DirectInput does not support it at
  all, because the DirectInput mouse device does not expose this control.)


SVN r1640 (trunk)
This commit is contained in:
Randy Heit 2009-06-06 02:55:58 +00:00
commit bdd3188897
7 changed files with 52 additions and 21 deletions

View file

@ -70,6 +70,8 @@ static const FBinding DefBindings[] =
{ "0", "slot 0" },
{ "[", "invprev" },
{ "]", "invnext" },
{ "mwheelleft", "invprev" },
{ "mwheelright", "invnext" },
{ "enter", "invuse" },
{ "-", "sizedown" },
{ "=", "sizeup" },
@ -243,6 +245,7 @@ const char *KeyNames[NUM_KEYS] =
"pov4up", "pov4right","pov4down", "pov4left", // Fourth POV hat
"mwheelup", "mwheeldown", // the mouse wheel
"mwheelright", "mwheelleft",
};
static FString Bindings[NUM_KEYS];