Commit Graph

13272 Commits

Author SHA1 Message Date
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
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
Vladimir Panteleev
4130f4a61a Delete duplicate MSVC solution 2014-09-29 12:56:31 +00:00
Vladimir Panteleev
85f745e587 Document some input-related variables 2014-09-29 12:56:31 +00:00
Vladimir Panteleev
c5aa3e7b61 (Android) Use the same log tag ("RetroArch") for all events
This allows filtering using logcat (e.g.: adb logcat RetroArch:V *:S),
which should be more efficient than grep.
2014-09-29 12:56:30 +00:00
twinaphex
2e230fe9b4 (menu) draw_frame - cleanups 2014-09-29 14:41:24 +02:00
twinaphex
295e83bfc0 (Menu) Implement pause_libretro functionality 2014-09-29 14:38:37 +02:00
twinaphex
ae6c8fa7fb (Settings data) Create new category 'Menu Options' 2014-09-29 14:19:40 +02:00
twinaphex
9d52362940 Create do_menu_oneshot function 2014-09-29 13:33:32 +02:00
twinaphex
c7d6eaa830 Refactor RARCH_ACTION_STATE_MENU_PREINIT into RARCH_ACTION_STATE_MENU_RUNNING 2014-09-29 13:27:28 +02:00
twinaphex
96958cc46e Refactor menu toggle code 2014-09-29 13:12:39 +02:00
twinaphex
5751dfdecf Move stateful code over to rarch_main_set_state (for menu toggling) 2014-09-29 12:44:17 +02:00
twinaphex
2523337416 Split up endianness functions into separate header file 2014-09-28 23:21:27 +02:00
twinaphex
449cb9e9ed (Menu) Do away with throttle_frame in menu_iterate - let rarch_main_iterate
do this
2014-09-28 19:11:11 +02:00
Twinaphex
099b3f6fd7 (iOS) Menu - some cleanups 2014-09-28 18:18:26 +02:00
twinaphex
3c8cc513ab Make it possible to compile without menu support again 2014-09-28 18:01:59 +02:00
twinaphex
cdefbcfc61 (retroarch.c/overlay.c) - cleanups 2014-09-28 17:52:15 +02:00
twinaphex
822bbe4e92 Create menu_shader_manager_apply_changes and move code to menu_shader.c 2014-09-28 17:42:31 +02:00
twinaphex
3bfa247770 (frontend.c) cleanups 2014-09-28 17:35:58 +02:00
twinaphex
a01d349227 Add note to gl_wrap_type_to_enum 2014-09-28 17:19:54 +02:00
twinaphex
8b309fbeaa Move clear_bit/get_bit/set_bit to input_common.h 2014-09-28 17:07:44 +02:00
Twinaphex
9edb88caba (Apple joypad) Comment out WiiU/DualShock4 checks 2014-09-28 16:07:38 +02:00
twinaphex
a0f24d0bb2 (Apple HID) Get vendor ID/product ID too 2014-09-28 15:32:17 +02:00
Twinaphex
d7fe629afa (Apple) apple_pad_interface - cleanups 2014-09-28 15:21:59 +02:00
Twinaphex
db4818ff9b (Apple) Input - cleanups in apple_joypad_ps3.c 2014-09-28 15:19:03 +02:00
twinaphex
afd090edd9 apple_pad_interface - use void * 2014-09-28 15:06:51 +02:00
Twinaphex
747badfa6c (Apple HID) Show message queue message when disconnecting joypad 2014-09-28 09:05:11 +02:00
twinaphex
f3004d29d1 (Udev) add comment 2014-09-28 08:58:16 +02:00
twinaphex
0a4ef36218 (Apple HID) Cleanups 2014-09-28 08:35:51 +02:00
Twinaphex
b0fb6f483d (Apple/OSX) Split up HID code into separate file 2014-09-28 08:29:45 +02:00
twinaphex
b1ac2049d7 (iOS) Get rid of apple_display_alert when no cores found 2014-09-28 07:13:40 +02:00
Twinaphex
dbb3c14d04 Merge pull request #1061 from CyberShadow/pull-20140928-032517
Android build fix for Windows
2014-09-28 07:02:45 +02:00
Twinaphex
d8100d299a (iOS) Build fixes 2014-09-28 07:01:39 +02:00