Commit Graph

868 Commits

Author SHA1 Message Date
rz5
2678789bd8 Refactor RetroArch input polling settings
* Refactored the way RetroArch sets the input state/poll callbacks, hopefully it's clearer now.

* The unnamed enum of poll type behaviors in core.h was moved to retroarch.h and is now named rarch_poll_type.
It represents polling behaviors implemented specifically by RetroArch.
First element starts at 1 to match the data encoding of RETRO_ENVIRONMENT_POLL_TYPE_OVERRIDE.

* Created rarch_set_input_cbs - sets different input state/poll callbacks based on a
rarch_poll_type parameter.

* Replaced the static variable core_poll_type_override in retroarch.c with a poll_type_lock flag
inside global_t's menu struct;
RETRO_ENVIRONMENT_POLL_TYPE_OVERRIDE will now call rarch_set_input_cbs and set poll_type_lock,
which blocks the user from changing behaviors from the menu.

* To follow the RETRO_ENVIRONMENT_POLL_TYPE_OVERRIDE spec, we now set poll_type_lock and call
rarch_set_input_cbs after calling unload_game.

* core_set/unset_netplay_callbacks will now set/unset poll_type_lock, preventing the
poll type from being changed by the user;

* The MENU_ENUM_LABEL_INPUT_POLL_TYPE_BEHAVIOR action will now call rarch_set_input_cbs if poll_type_lock
isn't set, which means poll type is changed on-the-fly.
2019-11-13 00:11:05 +00:00
jdgleaver
df6d65e061 (GLUI) Minor thumbnail improvements 2019-11-11 16:30:42 +00:00
jdgleaver
bba454207e (GLUI) Add dual thumbnail support 2019-11-08 16:45:46 +00:00
Twinaphex
112483e824 Turn on 'network on demand thumbnails' for Android/iOS 2019-11-01 20:29:22 +01:00
jdgleaver
b8d6e1d2c3 (GLUI) Fix node height bug when showing thumbnails + set new default thumbnail view modes 2019-11-01 11:13:34 +00:00
jdgleaver
c356969c3a (GLUI) Add initial thumbnail support 2019-10-31 17:25:55 +00:00
jdgleaver
1194b29c12 (GLUI) Navigation bar improvements (#9635) 2019-10-25 18:28:36 +02:00
twinaphex
c78a0da045 Disable this setting 2019-10-24 02:45:05 +02:00
jdgleaver
3734ccbcc0 (GLUI) Menu improvements (Round 3) 2019-10-23 15:46:28 +01:00
twinaphex
d51b32f662 Implement AI Service Pause 2019-10-19 20:53:17 +02:00
twinaphex
73c853def4 Add setting 'Driver Switch Enable' - not hooked up yet 2019-10-18 23:03:29 +02:00
jdgleaver
e47e055508 (GLUI) Menu scaling improvements 2019-10-10 10:01:46 +01:00
twinaphex
fb6a2ef746 Turn menu_horizontal_animation into macro and actually use it for
default value
2019-10-05 19:11:59 +02:00
jdgleaver
1df3e20bdd Add option to automatically rotate overlays 2019-10-04 12:15:57 +01:00
rsn8887
2409831a14 Switch/Vita: Set default aspect to core provided instead of 4:3 2019-09-25 13:59:35 -05:00
jdgleaver
ef710442f1 (Ozone) Add option to toggle between static and scrolling content metadata 2019-09-23 15:33:20 +01:00
benoa
744fac6777 Wii: Add wiimote lightgun support 2019-09-15 00:46:02 +02:00
Twinaphex
f004666674
Merge pull request #9456 from jdgleaver/date-format
Menu time/date: Add 12-hour versions of all formats + clean ups
2019-09-10 17:58:11 +02:00
jdgleaver
a0fd9d21d2 Enable customisation of runtime 'last played' display format 2019-09-10 16:14:38 +01:00
jdgleaver
ac5c03c458 'DISABLE_MENU=1' build fix 2019-09-09 15:15:28 +01:00
jdgleaver
25006cadfe Menu time/date: Add 12-hour versions of all formats + clean ups 2019-09-09 14:06:49 +01:00
LazyBumHorse
886d538c48 implement video_shader_delay setting (in ms), which delays auto-shaders 2019-08-27 16:01:48 +02:00
twinaphex
852e190863 (WinRT) Disable file I/O related content runtime logging on WinRT just to
be safe
2019-08-23 17:35:59 +02:00
twinaphex
af775fb032 Enable playlist sublabels by default - should have minimal file I/O
overhead - maybe a slight dip from fullspeed/60fps to 59.90/59.10fps at
worse when flicking through playlist entries for the first time (it's
cached after first viewing) - after 1.7.8 we can further micro optimize
this
2019-08-23 17:33:59 +02:00
twinaphex
c990b29c09 Enable content runtime log by default 2019-08-23 17:10:56 +02:00
jdgleaver
c27149bb67 (RGUI) Make particle effects framerate independent + add animation speed setting 2019-08-23 12:22:30 +01:00
twinaphex
f23172ba81 Ability to hide every setting category now 2019-08-23 03:06:38 +02:00
twinaphex
8d41efb00d Enable DEFAULT_AI_SERVICE_ENABLE 2019-08-22 23:54:57 +02:00
twinaphex
5b71939848 Add target_lang/source_lang options 2019-08-22 19:39:00 +02:00
twinaphex
a612e7a4c3 Hook up AI Service settings 2019-08-22 07:07:34 +02:00
twinaphex
f6c451fafe Enable ticker smooth by default 2019-08-21 18:52:08 +02:00
jdgleaver
8569e65c18 Add optional smooth scrolling menu ticker text 2019-08-21 17:01:20 +01:00
twinaphex
edd5677492 Set this to true 2019-08-21 03:18:39 +02:00
twinaphex
039daf3374 Ability to hide 'Input Settings' 2019-08-21 00:27:40 +02:00
twinaphex
ab5e5d3a80 Add Quick Menu -> Views ->'Show Resume/Restart/Close content' 2019-08-20 18:08:44 +02:00
twinaphex
72bde77ef0 Ability to set FPS update interval (new setting - fps_update_interval) 2019-08-20 03:05:52 +02:00
twinaphex
ad71451432 Add frontend log level setting 2019-08-20 01:18:26 +02:00
twinaphex
558e50b5a0 Get rid of unused code libdbgfont 2019-08-13 11:42:46 +02:00
Ryunam
af42417734 Add toggle to enable / disable playlist name truncation in Ozone 2019-08-09 18:01:47 +02:00
jdgleaver
2fc8f5b0bf Add option to save core options per-core 2019-08-02 15:44:51 +01:00
jdgleaver
5220dc9084 Add independent 'favourites' playlist size setting 2019-07-30 17:13:04 +01:00
Tatsuya79
ab3ea0f3f3 Show/Hide disc options. 2019-07-21 12:16:16 +02:00
twinaphex
eebfa11528 Show UI menubar setting 2019-07-19 20:00:31 +02:00
twinaphex
f9a2a79f5d Rename const variables to macros 2019-07-19 13:30:11 +02:00
twinaphex
433a27b76a (config.def.h) Turn more into macros 2019-07-19 13:20:13 +02:00
twinaphex
fdf28e5259 Turn more default values into macros 2019-07-19 13:14:29 +02:00
twinaphex
d7e1099a97 Set default refresh rate to 60Hz 2019-07-19 13:06:07 +02:00
twinaphex
4c69dad0ce Define DEFAULT_MAX_PADS inside config.def.h - get rid of the messy
MAX_PADS macros everywhere
2019-07-19 12:55:38 +02:00
twinaphex
bf80376d27 Style nits 2019-07-16 14:34:37 +02:00
twinaphex
212ff42ae0 (Gradle/Android Studio) Update
(Default threaded video setting) Remove
g_defaults.settings.threaded_video - could help Switch and Android
2019-07-10 12:21:18 +02:00