Commit Graph

13356 Commits

Author SHA1 Message Date
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
Vladimir Panteleev
25af40ec03 Update .gitignore 2014-09-28 03:26:39 +00:00
Vladimir Panteleev
cb7729fcd3 (Android) Enable building with ant on Windows 2014-09-28 03:26:30 +00:00
Twinaphex
764e7f930d Go through ID API for generaltools. 2014-09-27 21:36:04 +02:00
Twinaphex
89654e68ce (Apple OSX) Implement GL shared contexts (preliminary) - currently
stubbed out because it makes it very slow
2014-09-27 19:51:23 +02:00
Twinaphex
1294d10c24 (Apple) Implement apple_gfx_ctx_bind_hw_render 2014-09-27 19:04:52 +02:00
Twinaphex
df2f7021fd (Apple) Properly implement apple_gfx_ctx_init/apple_gfx_ctx_destroy 2014-09-27 17:20:05 +02:00
twinaphex
6807605e4e (Apple) Update apple_gfx_context.c.inl 2014-09-27 16:48:00 +02:00
twinaphex
94de11b060 Add resampler directory setting 2014-09-27 15:55:55 +02:00
twinaphex
d4fcdba6cd (Resampler) Start hooking up config code bit by bit 2014-09-26 17:05:24 +02:00
twinaphex
3e33697dc8 Update rarch_resampler typedef struct 2014-09-26 16:49:03 +02:00
twinaphex
73de119a84 (Resamplers) Add RESAMPLER_API_VERSION 2014-09-26 16:36:36 +02:00
twinaphex
72ea0f5b13 (Resamplers) Pass SIMD mask to resampler implementations 2014-09-26 16:13:10 +02:00
twinaphex
9abaa15873 (Resampler code) Cleanups 2014-09-26 15:50:24 +02:00
twinaphex
6cb07c02ab Do early return in loop if no analog Dpad mode set 2014-09-26 14:07:48 +02:00
twinaphex
ddf5786ad7 Take out unused ANALOG_DPAD_DUALANALOG 2014-09-26 13:32:03 +02:00
twinaphex
b2b9cf5717 Rewrite input_push_analog_dpad 2014-09-26 12:56:03 +02:00