Commit Graph

121 Commits

Author SHA1 Message Date
twinaphex
9c5ac01718 Add some more documentation 2015-01-07 17:02:47 +01:00
twinaphex
6fb51eb360 Initial implementation of remap binds feature 2015-01-05 22:53:21 +01:00
twinaphex
7a456c6c3a Rename MAX_PLAYERS to MAX_USERS 2015-01-05 01:58:00 +01:00
twinaphex
477a2f3b55 Refactor some code in input_state - plus only accept overlay
input when driver.block_libretro_input is false
2014-12-28 15:20:01 +01:00
twinaphex
1ec8099789 Cleanups 2014-12-28 05:57:17 +01:00
twinaphex
ccf43f6e85 Take out dynamic.h header include from general.h 2014-10-22 04:27:51 +02:00
twinaphex
c62d52de0f Start properly implementing libretro SDK for boolean.h include
header, glsym, and rthreads
2014-10-21 05:05:52 +02:00
twinaphex
a191120f38 (libretro_version_1.c) Rename local index variables 2014-10-20 23:24:01 +02:00
twinaphex
d7ec815bc9 Move netplay.h include outside of general.h 2014-10-20 21:32:53 +02:00
twinaphex
9de94c6298 Move flush_audio to libretro_version_1.c as static function 2014-10-02 23:43:28 +02:00
twinaphex
0135d763db Move g_extern.netplay to driver.netplay_data 2014-10-01 23:00:05 +02:00
twinaphex
dead11f182 Move driver_active variables over to driver global 2014-10-01 22:34:48 +02:00
twinaphex
1a94f14e50 Move recording and resampler drivers to 'driver' global struct -
moving it outside of g_extern
2014-09-30 21:23:00 +02:00
Vladimir Panteleev
803575f46f Fix flushing input when pause_libretro=false 2014-09-29 15:03:06 +00: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
eec0724175 Reimplement FLUSH_INPUT 2014-09-25 04:58:26 +02:00
twinaphex
2309a3e716 Move input_poll to libretro_version_1.c 2014-09-24 09:52:01 +02:00
twinaphex
5769275eb4 Some rewrites to libretro_version_1.c 2014-09-23 04:42:49 +02:00
twinaphex
63680ca5b4 Go through static variable retro_ctx for libretro backend
functions
2014-09-23 03:55:19 +02:00
twinaphex
10b6384bb2 Move recording_dump_frame back to retroarch.c 2014-09-23 03:14:25 +02:00
twinaphex
a7e6df69c8 Split up libretro (v1) code to libretro_version_1.c file 2014-09-23 03:03:56 +02:00