50 Commits

Author SHA1 Message Date
twinaphex
cf3fa07c4a (RARCH_CONSOLE) Reduce code duplication for default input binds 2013-10-01 18:38:12 +02:00
twinaphex
fa50efa93b (PS3/XDK) Don't rely on frame_count anymore for menu toggle 2013-04-18 23:54:15 +02:00
twinaphex
39c0ed745c (PS3) Get rid of QUICKMENU_TOGGLE define - was surpassing 64 entries
on PS3 - now going to do 'menu toggle behavior' logic instead -
menu toggle now triggers ingame menu - will be configurable
2013-03-30 07:19:42 +01:00
twinaphex
ad2cd4e492 Revert "Remove platform-specific MAX_PADS - use global define MAX_PLAYERS"
This reverts commit fb1355b9755ffd0b919945b155b17350f3a2d5e2.
2013-03-16 17:51:45 +01:00
twinaphex
f028a8555e Revert "Move set_keybinds autoconfiguration (that is done on every console"
This reverts commit c26653fca83af90fc14bd2fca0324bfaf1a1156f.
2013-03-16 17:51:37 +01:00
twinaphex
c26653fca8 Move set_keybinds autoconfiguration (that is done on every console
port) to driver.c - reducing lots of duplicate code
2013-03-16 17:24:24 +01:00
twinaphex
fb1355b975 Remove platform-specific MAX_PADS - use global define MAX_PLAYERS
instead and customize it for certain ports
2013-03-16 17:13:28 +01:00
twinaphex
375aa08e58 Remove rarch_conole_input - runtime button remapping should have
no more RARCH_CONSOLE dependencies
2013-03-14 21:55:10 +01:00
twinaphex
477b6ed893 Bugfix to previous commit 2013-03-14 18:04:16 +01:00
twinaphex
44ccbe0122 Implement KEYBINDS_ACTION_GET_BIND_LABEL - will be used through
set_keybinds
2013-03-14 18:02:19 +01:00
twinaphex
fd05b5a25c rarch_input_set_keybind refactored away - input driver's set_keybinds
function now provides the functionality
2013-03-14 15:01:36 +01:00
twinaphex
85f5a36268 (XDK) Build fix 2013-03-14 02:30:52 +01:00
twinaphex
ede829c354 Refactor set_default_keybinds callback into set_keybinds - remove
set_analog_dpad_mapping and have it go through set_keybinds - expand
functionality of set_keybinds
2013-03-14 02:24:57 +01:00
twinaphex
4fa8d0f3c6 (Android) Rewritten input_autodetect- now implements set_default_keybinds 2013-03-13 23:17:33 +01:00
twinaphex
ece717f2cc Rename set_default_keybind_lut to set_default_keybinds 2013-03-13 16:30:01 +01:00
twinaphex
4bd0999940 Remove rarch_input_set_default_keybinds - merge with function
pointer set_default_keybind_lut
2013-03-13 16:06:13 +01:00
twinaphex
8f5a49dc7e Refactor default_binds - now becomes a member ni retro_keybind
called def_joykey
2013-03-13 15:34:33 +01:00
twinaphex
8f497cce6e (XDK) Build fix 2013-03-13 01:08:46 +01:00
twinaphex
545911d4da (Input) Remove post_init and make it part of input_init 2013-03-13 00:34:46 +01:00
twinaphex
42bdd80ec4 Combine rarch_input_set_controls_default and post_init 2013-03-13 00:12:29 +01:00
twinaphex
8edab3d970 Skip D-pad emulation polling when dpad_emulation is disabled 2013-03-12 23:45:47 +01:00
twinaphex
039fc644d5 Revert "Menu toggle without delay timers (more testing might be needed -"
This reverts commit 54a6175a555925d8a3530756b1fa6c9a7b14adc2.
2013-03-11 02:07:50 +01:00
twinaphex
54a6175a55 Menu toggle without delay timers (more testing might be needed -
tested on PS3 RMenu and seemed to work well enough)
2013-03-11 01:12:19 +01:00
twinaphex
0b6e5a6388 Rename RARCH_RMENU_TOGGLE to RARCH_MENU_TOGGLE 2013-03-09 16:14:26 +01:00
twinaphex
a23bc3a13f Control flow change for RGUI/RMENU - no longer have to invoke RARCH_QUIT_KEY to toggle menu 2013-03-07 19:02:44 +01:00
twinaphex
6da1a22978 (XDK) Remove xdk_xinput_input.h header file 2013-01-22 01:05:48 +01:00
twinaphex
3405c7f08c (RMenu) Make current_menu variable static to prevent crashes
on Xbox 1
2013-01-19 21:34:46 +01:00
twinaphex
f9fcb55835 (XDK) Some Xbox 1 input changes - try to prevent menu crashing
when idle
2013-01-19 20:49:41 +01:00
twinaphex
0f2e36d349 (RARCH_CONSOLE) Move default_binds 2013-01-13 03:17:13 +01:00
twinaphex
84f7a2f5f8 Indenting nits 2013-01-09 07:27:05 +01:00
twinaphex
4df53478a9 (Xbox 1) Fixes controls for Xbox 1 too - X/Y buttons inverted 2013-01-08 18:54:10 +01:00
twinaphex
686e43b911 (360) Fixes controls - X and Y button were inverted 2013-01-08 18:42:24 +01:00
ToadKing
f33ed73671 (Consoles) re-add second timer for scroll delays 2013-01-07 23:58:00 -05:00
twinaphex
fe62828fb1 (RARCH_CONSOLE) Refactor timer code 2013-01-08 00:35:49 +01:00
twinaphex
466acac261 (PS3/360) Input changes - make local pointer variable and reuse it 2013-01-07 00:31:38 +01:00
twinaphex
2c26f92c7d (RARCH_CONSOLE) Cleanups 2013-01-05 21:56:19 +01:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
twinaphex
269698661a (Console/Android) Simplify input_key_pressed implementation 2012-12-23 14:44:46 +01:00
twinaphex
09cb50ddea (XDK) Input refactor 2012-12-15 05:23:08 +01:00
twinaphex
04674fbba7 (PS3/XDK) Better way to toggle frame advance 2012-12-15 02:13:58 +01:00
twinaphex
0261d934f2 (RARCH_CONSOLE) Rework how we do RARCH_QUIT_KEY - right now used
for ports that define HAVE_RMENU - made compiling in the RMenu
GUI separate from the HAVE_RMENU logic
2012-12-15 01:14:21 +01:00
twinaphex
dbb962e946 Streamline frame_count usage
(Android/Griffin) Fix build
2012-12-14 20:33:36 +01:00
twinaphex
321596fc73 (XDK) Build fix 2012-12-02 06:01:39 +01:00
Toad King
c6111a3259 [CONSOLE] Make separate timers for holding scroll and menu/exit button delay.
Fixes issues with exit/menu button combo not working on GC controllers occasionally
2012-11-28 19:55:08 -05:00
twinaphex
a7a7671ac0 (Xbox 1) Build fixes 2012-10-15 07:00:58 +02:00
twinaphex
174c7d9d98 (RARCH_CONSOLE) g_console struct removed now - console settings
now a part of g_extern and also compiled in for PC - will use
this for RMenu
2012-10-15 06:25:12 +02:00
twinaphex
077c3a6469 (360) Small change to input D-pad emulation logic 2012-08-22 13:50:07 +02:00
twinaphex
6a08c92ada (Xbox 1) Cut down on some static variables 2012-08-17 17:45:14 +02:00
twinaphex
cdb2a2b4e7 (Xbox 1) Streamline menu code with that of PS3's 2012-08-02 17:09:41 +02:00
twinaphex
bc8675f711 (360/Xbox 1) Use the same input driver now for both 360 and Xbox 1 2012-07-31 20:56:05 +02:00