twinaphex
8dbe11613d
Add need_refresh parameter to setting_data_get_list
2014-10-07 02:49:04 +02:00
twinaphex
d99fa70fe0
(menu_input_line_cb.c) Get rid of some unneeeded variables - silence
...
warnings
2014-10-01 15:16:03 +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
3b94edf14e
(Menu) Grab all libretro keys in menu_input
2014-09-26 05:55:46 +02:00
Twinaphex
470684cb43
menu_input - Remove unused variable
2014-09-25 21:21:46 +02:00
twinaphex
d1d504df6c
Implement menu toggle in a better way
2014-09-25 18:38:35 +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
ff4e0928f4
Get rid of unused variable warnings
2014-09-24 08:30:05 +02:00
twinaphex
bf2f55dc60
Move bind_iterate / bind_iterate_keyboard to menu_input_line_cb
2014-09-24 06:43:42 +02:00
twinaphex
92938fe45f
Optimizations - prevent static bools everywhere in check_* functions
...
- input_keys_pressed_func takes a pointer and sets it to the last
input state. We then pass this around functions and use it where
necessary
2014-09-17 06:55:03 +02:00
twinaphex
310438f15b
Refactor away input_key_pressed_func
2014-09-17 00:29:47 +02:00
twinaphex
756356870b
(Menu) Refactor more code to menu_action.c
2014-09-15 07:52:08 +02:00
Twinaphex
af36280c79
(Menu) Buildfix for prototypes
2014-09-14 22:41:44 +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
d36a4c5257
Cleanups - 80-char limit, C-style comments
2014-09-02 16:03:17 +02:00
twinaphex
8259100d03
(Menu) Simplify some code
2014-08-27 15:08:21 +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
dc086d62b5
(Menu) netplay_port_callback doesn't need to be inside an #ifdef anymore
2014-08-25 01:54:31 +02:00
twinaphex
c45a063b99
(Menu) Refactor Netplay TCP/UDP Port setting
2014-08-24 19:00:36 +02:00
twinaphex
51637bc69e
Code reformatting to abide by 80-character limit
2014-08-20 16:26:34 +02:00
twinaphex
e851d279f8
Start getting rid of driver_funcs.h macros
2014-08-14 19:54:22 +02:00
twinaphex
b76a2c2cee
Refactor away input_joypad_poll - trivial wrapper function
2014-08-03 00:44:07 +02:00
twinaphex
25e0ead417
Build fix - make RetroArch work without HAVE_NETPLAY defined
2014-08-02 04:21:07 +02:00
twinaphex
cac003f2ab
(Frontend) Add User Options menu - add User Language setting
...
(Libretro) Add RETRO_ENVIRONMENT_GET_LANGUAGE - expose language
to libretro core so it can do personalization. Will be used for
PPSSPP
2014-08-01 07:00:32 +02:00
twinaphex
9dadfc0b19
Rename Netplay Nickname to Username and make it not dependent
...
on HAVE_NETPLAY
2014-08-01 05:04:59 +02:00
Themaister
26a3277402
Fix RGUI toggling with enable hotkey.
2014-07-17 21:42:19 +02:00
Themaister
cdc46ae512
Block libretro input when ENABLE_HOTKEY is held.
2014-07-11 00:26:50 +02:00
Themaister
b6a2221a5d
De-opaque polling.
2014-06-17 16:57:19 +02:00
twinaphex
966db762cf
(Menu) More replacement of namespace prefix 'rgui' with 'menu'
2014-06-10 02:06:10 +02:00
twinaphex
639e6dbe33
(Menu) Make distinction between menu and RGUI more clear - RGUI is just
...
the display layer driver now
2014-06-10 01:42:26 +02:00
twinaphex
f8073b2317
(Menu) Move menu input code to menu_input_line_cb.c
2014-06-08 19:48:38 +02:00
twinaphex
61ec27fd5c
(Menu) Use driver.menu instead of grabbing pointer from menu.driver
2014-05-31 22:56:33 +02:00
twinaphex
779c467191
(Menu) Get rid of passing rgui pointer around to most functions in
...
menu backend. NOTE: Applying filters seems to be broken on PC
right now, investigate
2014-05-30 20:23:20 +02:00
twinaphex
0454ac623e
(Menu) Move 'rgui' global variable to 'driver' struct
2014-05-09 05:47:32 +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
twinaphex
3d8d807e6b
Refactor a bunch of menu code - menu 'settings' can now be implemented
...
per-menu context
2014-04-26 01:54:15 +02:00
Themaister
255e43966a
Implement basic keyboard binding in RGUI.
2014-04-13 12:12:12 +02:00
Themaister
e24381ab44
Add space for consistency.
2014-03-02 12:34:54 +01:00
Themaister
5f3e0ffa8e
Don't have to "save" key_event callback.
...
keyboard_line module already makes sure it works.
2014-03-02 12:30:32 +01: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
4ae4d40364
Fix shader preset save.
...
Have to take into consideration the preset type.
2014-03-02 12:15:18 +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