in_xinput 1 is now default. because we can.

android gets a couple more gamepad buttons.
gamepads now have separate keybindings. I've created some default binds for mods that are unaware of gamepad buttons.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5142 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2017-08-16 02:14:07 +00:00
parent bc0dd0492c
commit 7c6eb18a76
27 changed files with 397 additions and 213 deletions

View file

@ -2530,6 +2530,7 @@ void HUD_Editor_Key(int key, int unichar, qbool down)
switch (key)
{
case K_ESCAPE:
case K_GP_BACK:
HUD_Editor_Toggle_f();
break;
case 'p' :
@ -2562,15 +2563,23 @@ void HUD_Editor_Key(int key, int unichar, qbool down)
Cvar_SetValue(hud_editor_allowplace, !hud_editor_allowplace->value);
break;
case K_UPARROW :
case K_KP_UPARROW:
case K_GP_DPAD_UP:
// TODO : Add "nudging" in hud editor.
break;
case K_DOWNARROW :
case K_KP_DOWNARROW:
case K_GP_DPAD_DOWN:
// TODO : Add "nudging" in hud editor.
break;
case K_LEFTARROW :
case K_KP_LEFTARROW:
case K_GP_DPAD_LEFT:
// TODO : Add "nudging" in hud editor.
break;
case K_RIGHTARROW :
case K_KP_RIGHTARROW:
case K_GP_DPAD_RIGHT:
// TODO : Add "nudging" in hud editor.
break;
}