Commit Graph

34 Commits

Author SHA1 Message Date
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
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
375aa08e58 Remove rarch_conole_input - runtime button remapping should have
no more RARCH_CONSOLE dependencies
2013-03-14 21:55:10 +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
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
42bdd80ec4 Combine rarch_input_set_controls_default and post_init 2013-03-13 00:12:29 +01:00
twinaphex
011e740129 Move all frontend files to new dir 'frontend' 2013-01-06 05:22:21 +01:00
twinaphex
aaebc0be3d (RARCH_CONSOLE) Add #ifdef HAVE_DYNAMIC for libretro dynamic
library argv
2013-01-06 04:11:24 +01:00
twinaphex
66dfceabe1 (RARCH_CONSOLE) Build fixes + rarch_main_init_wrap needs to be
always compiled in and not ifndef HAVE_RARCH_MAIN_WRAP
2013-01-06 03:50:55 +01:00
twinaphex
3f537518e1 (RARCH_CONSOLE) Use g_extern.config_path 2013-01-06 03:09:51 +01:00
twinaphex
e06583a45c (RARCH_CONSOLE) Get rid of emulator_initialized - replace with main_is_init 2013-01-05 23:49:58 +01:00
twinaphex
c0c81bf22b (RARCH_CONSOLE) Move rarch_config_save to settings.c - rename to
config_save_file
2013-01-05 22:18:59 +01:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
twinaphex
7a67348b3c Change 1 << for bitmasks to 1ULL << 2012-12-15 18:00:30 +01:00
twinaphex
ffa5d4fa5f Rewrite do-while loops for console ports 2012-12-15 16:47:35 +01:00
twinaphex
dacab094f0 (RMenu) menu_loop renamed into rmenu_iterate - iterates menu code for one frame 2012-12-15 16:40:02 +01:00
twinaphex
8a271d318c Frame advance - get rid of unnecessary extern variables now 2012-12-15 02:25:48 +01:00
twinaphex
7ccd663bca (PSP1) Compile in custom getopt, still crashes somewher around file.c 2012-11-28 15:11:27 +01:00
Themaister
2c41fe7288 Move log_fp to g_extern.
Rework logger macros to use g_extern.log_file is it's non NULL.
Otherwise, fallback to stderr.
2012-11-26 16:59:00 +01:00
twinaphex
4b3ac3c04e (PSP1) Now sets up paths correctly and more or less fleshed out
main.c
2012-11-26 07:03:31 +01:00
twinaphex
9a02b747d7 (PSP1) Now logs to file 2012-11-26 02:59:29 +01:00
twinaphex
a783819b22 (PSP) Seems to finally link when libretro ports are passed -G0
to CFLAGS/CXXFLAGS as well
2012-11-24 04:23:20 +01:00
twinaphex
414a5de737 (PSP1) Add platform_keys struct - define HAVE_GETOPT_LONG 2012-11-24 01:42:00 +01:00
twinaphex
5f08905109 (PSP1) Add Makefile 2012-11-23 07:19:21 +01:00
twinaphex
775ac2a189 (PSP/PSP2) Create sdk_defines.h that will be used for both PSP
and PSP2
2012-11-23 03:29:30 +01:00
twinaphex
3b6fffa9f9 (PSP1/PSP2) Refactor psp_input.c - should now work for both PSP1
and PSP2
2012-11-23 02:40:03 +01:00