Change default value of "STREAM_TOUCH_CONTROLLER" to "all"

This commit is contained in:
redphx 2024-02-07 10:52:04 +07:00
parent b8efaf9648
commit ac6879c189

View File

@ -6540,13 +6540,19 @@ class Preferences {
'default': false,
},
[Preferences.STREAM_TOUCH_CONTROLLER]: {
'default': 'default',
'default': 'all',
'options': {
'default': __('default'),
'all': __('tc-all-games'),
'off': __('off'),
},
'unsupported': !HAS_TOUCH_SUPPORT,
'ready': () => {
const setting = Preferences.SETTINGS[Preferences.STREAM_TOUCH_CONTROLLER];
if (setting.unsupported) {
setting.default = 'off';
}
},
},
[Preferences.STREAM_TOUCH_CONTROLLER_STYLE_STANDARD]: {
'default': 'default',