Commit Graph

93 Commits

Author SHA1 Message Date
Toad King
d7cacaa9ed start of porting wii input driver to better support RGUI. still has issues with axises 2013-12-22 19:47:33 -05:00
twinaphex
0f9310543e (Wii) Add pad autodetection if g_settings.input.autodetect_enable is
set to true - Wiimote + attachment is leading in case both a GC pad
and a Wiimote are on the same port
2013-12-12 22:28:43 +01:00
twinaphex
21ae4c24af (Wii) Menu now takes input again from Gamecube pad, Wiimote, Wiimote + Classic
and Nunchuk
2013-12-12 20:50:42 +01:00
twinaphex
da8f8b6d63 Get rid of lifecycle_mode_state and use g_extern.lifecycle_state
instead
2013-11-07 21:44:44 +01:00
twinaphex
c0e02d3957 (Android/General) Add preliminary sensor support to libretro API /
add accelerometer support to Android input driver
2013-11-03 00:27:58 +01:00
twinaphex
3e8166bfa5 (Input) Add new function to input driver - get_capabilities 2013-11-02 21:16:57 +01:00
twinaphex
727dc76db8 (Console/Android) Init input driver from context driver/graphics
driver from now on - just like PC - input driver initing can be
hoisted out of global_drivers_init that way
2013-11-01 16:33:32 +01:00
ToadKing
752fdaeca9 [GX] remove unused variables 2013-10-15 18:41:47 -04:00
twinaphex
d17faaca35 (GX) Take out all D-pad emulation code (and treating analog sticks
as digital buttons) - will need to wait for the global solution
for D-pad emulation
2013-10-07 16:19:32 +02:00
twinaphex
fd053086ef (RARCH_CONSOLE) Remove DECREMENT_BIND/INCREMENT_BIND 2013-10-06 20:01:44 +00:00
twinaphex
abb829283b Take out messy Dpad emulation code - this will require an entire
rewrite where we come up with a solution that works the same across
console/PC/mobile
2013-10-05 20:55:37 +00:00
twinaphex
cf3fa07c4a (RARCH_CONSOLE) Reduce code duplication for default input binds 2013-10-01 18:38:12 +02:00
twinaphex
749b9c0945 (GX) Don't use WPAD_Probe every frame 2013-07-28 19:11:22 +02:00
ToadKing
da6b004479 (GX) implement joystick support 2013-07-04 14:52:53 -04:00
twinaphex
82b6ab3ec7 (NGC) Build fixes 2013-05-22 00:30:02 +02:00
twinaphex
cd9c6aa95d Drop delay_timer 2013-04-27 21:27:41 +02:00
twinaphex
4e188a0e00 (Wii/RGUI) Take out QUIT_KEY button combo shortcuts - current
RGUI works such that it goes directly into the ingame menu
after pressing menu toggle and you can quit from there.
2013-04-12 09:28:12 +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 fb1355b975.
2013-03-16 17:51:45 +01:00
twinaphex
f028a8555e Revert "Move set_keybinds autoconfiguration (that is done on every console"
This reverts commit c26653fca8.
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
0166ce4585 (RGUI) RGUI input code now no longer GEKKO-specific 2013-03-15 01:22:52 +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
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
31998880f6 (Input) Remove max_pads member variable (was RARCH_CONSOLE only -
not needed)
2013-03-13 00:39:01 +01:00
twinaphex
545911d4da (Input) Remove post_init and make it part of input_init 2013-03-13 00:34:46 +01:00
twinaphex
3f4366628d (GX) Input build fix 2013-03-13 00:14:28 +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 54a6175a55.
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
ToadKing
98fa22bd37 (GX) fix nunchuk/cc joysticks 2013-01-29 18:48:52 -05:00
ToadKing
9283aa2ea8 (GX) set default unbound buttons correctly 2013-01-21 17:32:37 -05:00
ToadKing
5daf48f303 (GX) cleanup input code a bit
fix minor accuracy issue with joystick values
2013-01-19 14:43:18 -05:00
twinaphex
e30b71c2e4 (Wii) Refactor classic analog controller code somewhat 2013-01-18 19:43:56 +01:00
twinaphex
70e41129c2 (GX) Add Gamecube shortcut button combos 2013-01-18 15:46:02 +01:00
twinaphex
b1cb4a7cd4 (Wii) Add button combo shortcut binds 2013-01-18 15:07:11 +01:00
twinaphex
0acf0a461b (Wii) Both analog sticks now work more or less correctly 2013-01-18 14:24:46 +01:00
twinaphex
1d29060e08 (Wiiuse) Merge patches from rpavlik/wiiuse
(GX) Remove Wii Classic analog stick menu moving -too twitchy to
bother with
2013-01-18 12:16:06 +01:00
twinaphex
0f2e36d349 (RARCH_CONSOLE) Move default_binds 2013-01-13 03:17:13 +01:00