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
85f745e587
Document some input-related variables
2014-09-29 12:56:31 +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
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
822bbe4e92
Create menu_shader_manager_apply_changes and move code to menu_shader.c
2014-09-28 17:42:31 +02:00
twinaphex
828e02cb49
menu_environment_get - implement has_set_save_path/has_set_state_path/
...
has_set_verbosity
2014-09-26 06:09:36 +02:00
twinaphex
19e5efe431
Take out unused load_menu_content_history
2014-09-26 06:04:08 +02:00
twinaphex
3b94edf14e
(Menu) Grab all libretro keys in menu_input
2014-09-26 05:55:46 +02:00
Twinaphex
28c212c792
Merge pull request #1060 from lakkatv/lakka
...
(Lakka) Fix two submenu bugs
2014-09-25 23:32:02 +02:00
Jean-André Santoni
7fb42d5da9
(Lakka) Fix subitems fade out
2014-09-25 23:22:17 +02:00
Jean-André Santoni
61435123d0
(Lakka) Fix initial alpha and zoom for settings subitems
2014-09-25 23:17:22 +02:00
Jean-André Santoni
7c2bd73dfd
(Lakka) Remember settings active submenu
2014-09-25 23:04:34 +02:00
Jean-André Santoni
6f996ade8c
(Lakka) Prevent lakka_reset_submenu to reset all submenus
2014-09-25 22:58:32 +02:00
Twinaphex
470684cb43
menu_input - Remove unused variable
2014-09-25 21:21:46 +02:00
Twinaphex
7020b979da
Merge pull request #1059 from lakkatv/lakka
...
(Lakka) Fix draw_text alpha when animating with a big LAKKA_DELAY
2014-09-25 20:50:15 +02:00
Jean-André Santoni
788a081f00
(Lakka) Fix draw_text alpha when animating with a big LAKKA_DELAY
2014-09-25 20:02:38 +02:00
twinaphex
2fe6103a61
Get rid of more unnecessary code now for menu toggle in menu_iterate
2014-09-25 18:40:01 +02:00
twinaphex
d1d504df6c
Implement menu toggle in a better way
2014-09-25 18:38:35 +02:00
twinaphex
00e605d9ba
Take out MODE_MENu - and introduce g_extern.is_menu
2014-09-25 06:33:28 +02:00
twinaphex
13ac38324d
Lower block_hotkey_until value to +15
2014-09-25 05:02:08 +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
2309a3e716
Move input_poll to libretro_version_1.c
2014-09-24 09:52:01 +02:00
Twinaphex
ff4e0928f4
Get rid of unused variable warnings
2014-09-24 08:30:05 +02:00
twinaphex
57489cb1be
Move MAX_COUNTERS define to menu_common.h
2014-09-24 08:27:53 +02:00
twinaphex
9d94513dc4
(Menu/Shaders) Move all shader manager code to frontend/menu/menu_shader
2014-09-24 07:56:47 +02:00
twinaphex
93fbb44402
(Menu) Move menu_common_core_setting_toggle functions to menu_common.c
2014-09-24 06:46:18 +02:00
twinaphex
bf2f55dc60
Move bind_iterate / bind_iterate_keyboard to menu_input_line_cb
2014-09-24 06:43:42 +02:00
twinaphex
90be5e6f93
(Menu) Cleanups pt. 1
2014-09-24 06:35:57 +02:00
Twinaphex
faebff2db0
Merge pull request #1055 from Monroe88/patch-2
...
Only apply shader parameters immediately in Shader Parameters (Current).
2014-09-24 05:20:22 +02:00
twinaphex
a7c10a5a17
(Menu) Refactor menu_custom_bind_iterate_ functions
2014-09-24 05:17:52 +02:00
Monroe88
a87efba091
Only apply shader parameters immediately in Shader Parameters (Current).
2014-09-23 21:19:03 -05:00
Twinaphex
6353240af4
Get rid of unused variables
2014-09-21 18:02:23 +02:00
Timo Strunk
cb5c951a70
Merge remote-tracking branch 'upstream/master' into zip_ui
...
Conflicts:
retroarch.c (defer_core was moved and modified by me)
2014-09-21 17:37:23 +02:00
Timo Strunk
193f416f8f
Zip UI cleanup before pull request
2014-09-21 11:03:32 +02:00
twinaphex
430e0f1911
Reimplement rarch_main_iterate - menu iteration frame now gets
...
called from here too. Do away with the hoky 'MENU_GAME' state
as well.
2014-09-21 09:18:26 +02:00
twinaphex
9dc35b056f
Refactor MODE_MENU_PREINIT code
2014-09-21 06:33:49 +02:00
Timo Strunk
adfa00e193
Removed MENU_ACTION_Y, small bugfix with selections in zip select
2014-09-20 20:42:21 +02:00
Timo Strunk
3575f353bf
Choosing whether to open or load a zip file in detect core should work now
2014-09-20 20:07:26 +02:00
Timo Strunk
864a5cdc4f
Always interpret files as carchives in case of detect_core_list to allow browsing them.
2014-09-20 20:06:52 +02:00
Timo Strunk
97ea43994e
Zipfiles open or run half finished
2014-09-20 19:10:05 +02:00
Timo Strunk
9c9543e7eb
Added toggle button to open zip files in load content and detect core
2014-09-19 20:31:53 +02:00
Timo Strunk
7bc369642d
Added generic message buffer and open_compressed flag to menu_driver
2014-09-19 20:31:18 +02:00
Timo Strunk
3672b4ba40
Added menu button Y
2014-09-19 20:28:30 +02:00
Jean-André Santoni
c172169a9e
(Lakka) Move tweening related functions in an external lib
...
so they can be used from another menu driver. Also add more tweening functions.
2014-09-19 13:36:18 +02:00
Jean-André Santoni
9bbd0b9825
(Lakka) Make settings values responsives
2014-09-19 11:31:06 +02:00
twinaphex
f16a065cdd
Fixes 'block hotkey enable'
2014-09-18 04:04:33 +02:00
twinaphex
4c4ae11ab6
Optimizations to input handling in rarch_main_iterate - pass
...
'trigger' state around
2014-09-17 20:15:56 +02:00