141 Commits

Author SHA1 Message Date
twinaphex
957435cbfa Cleanups 2015-01-09 01:08:54 +01:00
twinaphex
453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
twinaphex
7a456c6c3a Rename MAX_PLAYERS to MAX_USERS 2015-01-05 01:58:00 +01:00
twinaphex
82f6c57966 Add new option 'Show Autoconfig Descriptor Labels' for more
comprehensible button labels per joypad - needs to be added per
autoconfig file
2014-12-16 06:21:18 +01:00
CautiousAlbino
cead63c83d Fix nasty breakage when joypad index >= MAX_PLAYERS.
No bounds checking and joypad index is apparently now unsigned so old
"disabled" values in config will now overflow instead ...
2014-12-15 14:10:07 +01:00
twinaphex
57918c0c24 Fix more 'player' variables to 'user' 2014-12-05 13:53:49 +01:00
twinaphex
dd53241a24 Some more cleanups in input_common.c 2014-10-27 04:39:15 +01:00
twinaphex
c6ac686e51 Split up input_common.c into input_common.c and input_keymaps.c 2014-10-27 04:27:48 +01:00
twinaphex
dc0688f57f Reduce header dependencies 2014-10-26 01:15:41 +02:00
twinaphex
a4065ae34d Split off input_context code into separate file 2014-10-25 19:56:40 +02:00
twinaphex
20f1faa03f (input_common.c) small cleanup 2014-10-25 10:07:04 +02:00
twinaphex
8349ade076 Refactor input_joypad_pressed somewhat 2014-10-25 10:06:40 +02:00
twinaphex
d3629f06f1 Rename file.c/file.h to content.c/content.h 2014-10-21 23:44:03 +02:00
twinaphex
94c3f6a925 Change 'id' variable names to 'ident' 2014-10-21 08:48:58 +02:00
twinaphex
00115d1ebb Backport Lioncash's changes - https://github.com/libretro/RetroArch/pull/1170 2014-10-21 02:28:10 +02:00
twinaphex
faeca01e7a Change local index variables 2014-10-20 20:31:00 +02:00
twinaphex
dd79cf0b93 (OSX) Change 'index' to 'idx' to avoid declaration of index shadows a global
declaration on OSX 10.6
2014-10-20 03:56:31 +02:00
twinaphex
b61b6fa84b Move Retrolaunch to separate repo 2014-10-16 07:34:59 +02:00
Twinaphex
fe8f22b688 input_common.c - Get rid of variable shadowing warnings 2014-10-14 18:35:38 +02:00
AndresSM
7249ebc00c fix disk_next, add option for disk_prev 2014-10-07 20:19:12 -05:00
twinaphex
2df2346301 Move input_keys_pressed from input_common.c to runloop.c 2014-10-05 02:45:38 +02:00
Twinaphex
a8ef8ff7e4 Merge pull request #1091 from mprobinson/joypad-driver
Joypad driver
2014-10-04 23:42:43 +02:00
Mike Robinson
f3a0e58bd9 Add HAVE_PARPORT build option 2014-10-04 22:04:38 +01:00
Twinaphex
a6dabc5b78 (Apple) Build fixes 2014-10-04 15:38:31 +02:00
Mike Robinson
d258775926 Add parallel port joypad driver 2014-10-04 04:18:36 +01:00
Twinaphex
eb09aa526c (Apple) include "apple_keycode.h" for Apple 2014-10-03 15:33:24 +02:00
twinaphex
de2392be89 Move apple_key_map_hidusage over to input_common.c 2014-10-03 15:31:34 +02:00
Twinaphex
7027f974eb Merge pull request #1080 from mprobinson/joypad-driver
Fix joypad driver setting
2014-10-03 09:53:47 +02:00
Mike Robinson
6203c3162e Fallback to first working joypad driver if init failed
Fallback to the old behavior on init failure so there's no
regression if the user did not select a working joypad driver.
2014-10-03 03:05:35 +01:00
Mike Robinson
b165b8fa82 Fix joypad driver setting
input_common.c was loading the first available joypad driver no
matter what input driver was selected, and the joypad driver menu
was non-functional. Allow choice of joypad driver from the menu.
2014-10-03 01:40:47 +01:00
twinaphex
532938c5fa Refactor meta_input_keys_pressed 2014-10-03 00:55:44 +02:00
twinaphex
8a1f15c460 Move rarch_check_block_hotkey to input/input_common.c and make
the function static
2014-10-03 00:46:14 +02:00
twinaphex
d43b9082e7 Move input_autodetect code to input_autodetect.c 2014-09-30 17:48:31 +02:00
Twinaphex
9f5031188b Merge pull request #1066 from CyberShadow/pull-20140930-083313
Refactor old_state out of meta_input_keys_pressed into rarch_main_iterate
2014-09-30 10:40:43 +02:00
Vladimir Panteleev
0c104ffef8 Refactor old_state out of meta_input_keys_pressed into rarch_main_iterate 2014-09-30 08:35:41 +00:00
twinaphex
ca9bfa18e4 Refine meta_input_keys_pressed 2014-09-29 21:23:35 +02:00
twinaphex
c8ec8d9a7d Remove unused joy_keys_pressed function now 2014-09-29 21:01:59 +02:00
Vladimir Panteleev
d0e970f175 Fix/reimplement input flushing
This fixes:

- menu toggle erratically not working on Android
- stray input going to libretro core when resuming content
- bound keys triggering as soon as they're bound on Android
- menu key repeat also repeating keys which should not be repeated
- issues caused by relying on timeouts for flushing

Architectural changes:

- menu_ctx_driver_t::input_postprocess now takes state and old_state
  (this allows getting rid of menu_handle_t::trigger_state)

Related changes:

- remove some no-op input_postprocess handlers (same effect as NULL)
- menu_iterate now uses the parameters passed to it, instead of
  polling menu_input
- menu_input is now merged into meta_input_keys_pressed
2014-09-29 12:58:52 +00:00
twinaphex
b2b9cf5717 Rewrite input_push_analog_dpad 2014-09-26 12:56:03 +02:00
twinaphex
d94e8329e8 Move stuff to config.features.h 2014-09-25 08:12:58 +02:00
twinaphex
aa6d779fbc Added 1-second timeout when binding hotkeys 2014-09-25 04:44:24 +02:00
twinaphex
8015061720 Refactor menu_input - add input_keys_pressed in addition to
meta_input_keys_pressed
2014-09-25 04:19:09 +02:00
twinaphex
eeda9df418 input_common.c - small cleanups 2014-09-16 07:06:23 +02:00
Higor Eurípedes
52f300b3ac (Makefile.common) Add missing xinput autoconfig object 2014-09-13 23:09:14 -03:00
Lioncash
64272ef327 Squash some more potential null pointer dereferences 2014-09-11 23:04:02 -04:00
twinaphex
75d2e13dcb Make drivers non-const 2014-09-11 07:06:20 +02:00
twinaphex
689cd6322f Indenting / style nits 2014-09-09 18:15:17 +02:00
Twinaphex
6fdc22eb0b Merge pull request #943 from lioncash/printf-fmt
Fix some printf specifiers to the correct signed-ness
2014-09-06 03:40:26 +02:00
twinaphex
24500dfeb5 (Android) Build fixes 2014-09-06 03:39:37 +02:00
twinaphex
d7ca4d584c (Android) KEY_DOLLAR and KEY_EURO not defined on Android 2014-09-06 03:32:55 +02:00