Commit Graph

14 Commits

Author SHA1 Message Date
twinaphex
f1511e76f1 (Menu) Add missing extern C namespaces for C++ builds 2014-10-12 20:22:33 +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
twinaphex
bf2f55dc60 Move bind_iterate / bind_iterate_keyboard to menu_input_line_cb 2014-09-24 06:43:42 +02:00
twinaphex
7e6aa11c5b (Menu) Fix Shader Preset Save As option 2014-09-06 01:34:05 +02:00
twinaphex
2eb350e6a2 (menu_input_line_cb.c) 80-char limit cleanups 2014-09-03 05:10:34 +02:00
twinaphex
4a2d3cbd4b Cleanups - 80-char limit 2014-09-02 05:32:04 +02:00
twinaphex
fda6876983 (Menu) Cleanups 2014-09-02 03:48:10 +02:00
twinaphex
e32e269264 (Menu) Move poll prototype functions to menu_input_line_cb.h 2014-09-01 05:38:05 +02:00
twinaphex
61586d8534 (Menu) Refactor ip_address and audio_device settings 2014-08-25 15:04:35 +02:00
twinaphex
f939fb3684 (Menu) Refactor menu_key_start_line 2014-08-25 14:53:03 +02:00
twinaphex
40409a2ab0 (menu_input_line_cb.c) Params for public functions should be opaque
pointers instead of rgui_handle_t
2014-04-26 02:08:03 +02:00
Themaister
a13da8da19 Repurpose RSound IP address setting.
It's hardcoded for RSound, but it's actually setting the generic audio device ...
2014-03-02 12:25:38 +01:00
Themaister
d111a0c658 Cleanups to keyboard callback stuff. 2014-03-02 11:45:41 +01:00
twinaphex
6f19662d75 (Menu) Split up keyboard input line cb code to separate file - menu_input_line_cb 2014-03-02 05:24:57 +01:00