13303 Commits

Author SHA1 Message Date
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
twinaphex
9daad8bdb8 Split up rarch_main_clear_state into two functions - rarch_main_state_new
and rarch_main_state_free
2014-09-30 20:46:15 +02:00
twinaphex
ec9a217090 Change VID/PID passing to autodetect function - now int32_t
values
2014-09-30 20:35:58 +02:00
Toad King
b0ade7e010 add getVendorId and getProductId to android device detection (needs testing) 2014-09-30 12:31:37 -05:00
Twinaphex
a3c4f52dd3 Merge pull request #1070 from lakkatv/lakka
(Lakka) Fix draw_icon in gles2
2014-09-30 19:02:02 +02:00
Jean-André Santoni
c85d32b8a2 (Lakka) Fix draw_icon in gles2 2014-09-30 19:01:16 +02:00
twinaphex
c5f1788b36 Make rarch_main_clear_state more resilient 2014-09-30 18:54:02 +02:00
Twinaphex
e6f3f82440 (Apple OSX) Build fix 2014-09-30 18:19:20 +02:00
twinaphex
aea679456d (Input autodetect) Start setting up input autodetect so that it
can look at matching VID/PIDs
2014-09-30 18:18:02 +02:00
Twinaphex
c9bee62761 Merge pull request #1069 from lakkatv/lakka
(Lakka) Fix GLES2 build
2014-09-30 18:16:41 +02:00
Jean-André Santoni
ce3ebc1bdb (Lakka) Fix GLES2 build 2014-09-30 18:12:37 +02:00
twinaphex
d43b9082e7 Move input_autodetect code to input_autodetect.c 2014-09-30 17:48:31 +02:00
twinaphex
03378289d7 (Apple) hid_device_input_callback - cleanup 2014-09-30 17:38:06 +02:00
Twinaphex
4a4888dda9 Merge pull request #1068 from lakkatv/lakka
Lakka FBO + menu toggle fix
2014-09-30 17:20:17 +02:00
twinaphex
aaee1a016f rarch_audio_flush - prevent segfault if g_extern.audio_data.data
is NULL
2014-09-30 17:08:32 +02:00
twinaphex
41f9a47a01 (Apple) HID - indenting nits 2014-09-30 17:08:11 +02:00
Twinaphex
4349ef0311 (Apple) Cleanup 2014-09-30 16:56:25 +02:00
twinaphex
40894b2cc3 (QNX) Input - cleanups 2014-09-30 16:50:28 +02:00
Twinaphex
9b8fb4cac5 (Apple) Reimplement apple_bind_button_pressed 2014-09-30 16:38:30 +02:00
Twinaphex
01b39fd81a (Apple) Build fix 2014-09-30 16:35:49 +02:00
twinaphex
05eb9a0af8 (Apple) apple_input.c - refactor 2014-09-30 16:34:40 +02:00
Jean-André Santoni
094c1022fb (Lakka) Fix shader coords bug 2014-09-30 16:19:22 +02:00
Twinaphex
1cbb290d3b (Apple) Input - cleanups 2014-09-30 15:49:26 +02:00
Twinaphex
807818d4c6 (Apple) Reimplement input - get rid of g_current_input_data global
and instead initialize driver.input_data
2014-09-30 15:44:40 +02:00
Jean-André Santoni
21de27d935 (Lakka) Fix zoom out animation 2014-09-30 15:16:47 +02:00
Twinaphex
f137f680c3 (Apple) Refactor apple_input_data_t 2014-09-30 15:03:22 +02:00
Jean-André Santoni
0a2c471ffe Merge branch 'lakka' of https://github.com/lakkatv/RetroArch 2014-09-30 14:58:36 +02:00
Jean-André Santoni
d926d119a3 (Lakka) Fix menu toggle 2014-09-30 14:57:19 +02:00
Jean-André Santoni
d0001eb666 (Lakka) FBO 2014-09-30 14:44:13 +02:00
Twinaphex
b285044e78 (Apple HID) Refactor input_device_hid_callback pt. 3 2014-09-30 14:28:50 +02:00
twinaphex
b9ed7362eb (Apple/OSX) Refactor hid_device_input_callback pt. 2 2014-09-30 13:53:36 +02:00
Twinaphex
faf8f27bf4 (Apple/OSX) Refactor hid_device_input_callback 2014-09-30 13:51:30 +02:00
Twinaphex
ea6a97f33b (OSX) Comment out PS4 pad code for now 2014-09-30 13:30:05 +02:00
twinaphex
4b0bcf39cc Get rid of dead code in menu_iterate 2014-09-30 12:43:06 +02:00
Twinaphex
90d6aec985 (Apple joypad PS4) Some changes 2014-09-30 11:31:23 +02:00
Twinaphex
597f25624a (apple_joypad_ps4.c) - build fixes 2014-09-30 10:55:52 +02:00
twinaphex
e65831a778 (Apple) Start backporting meancoot's DualShock4 code from MFIWrapper 2014-09-30 10:52:46 +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
Jean-André Santoni
5d6bfef485 (Lakka) FBO 2014-09-30 08:08:19 +02:00
Twinaphex
53f3555076 (Apple) Fix pause hotkey locking up the app 2014-09-29 21:50:27 +02: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
Twinaphex
3b0c604124 Merge pull request #1065 from CyberShadow/pull-20140929-150211
Fix flushing input when pause_libretro=false
2014-09-29 18:34:25 +02:00
Vladimir Panteleev
803575f46f Fix flushing input when pause_libretro=false 2014-09-29 15:03:06 +00:00
twinaphex
8584ef94f4 Implement RARCH_CMD_MENU_PAUSE_LIBRETRO 2014-09-29 15:55:41 +02:00
twinaphex
043cfdbb43 Stop/start audio driver only when g_settings.menu.pause_libretro is enabled 2014-09-29 15:40:52 +02:00
Twinaphex
3b5746b6c2 Merge pull request #1064 from CyberShadow/pull-20140928-032517
Fix/reimplement input flushing
2014-09-29 15:07:06 +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
Vladimir Panteleev
91557b34da .gitignore 2014-09-29 12:56:32 +00:00