mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 08:07:18 +02:00
Change default value of "STREAM_TOUCH_CONTROLLER" to "all"
This commit is contained in:
parent
b8efaf9648
commit
ac6879c189
@ -6540,13 +6540,19 @@ class Preferences {
|
|||||||
'default': false,
|
'default': false,
|
||||||
},
|
},
|
||||||
[Preferences.STREAM_TOUCH_CONTROLLER]: {
|
[Preferences.STREAM_TOUCH_CONTROLLER]: {
|
||||||
'default': 'default',
|
'default': 'all',
|
||||||
'options': {
|
'options': {
|
||||||
'default': __('default'),
|
'default': __('default'),
|
||||||
'all': __('tc-all-games'),
|
'all': __('tc-all-games'),
|
||||||
'off': __('off'),
|
'off': __('off'),
|
||||||
},
|
},
|
||||||
'unsupported': !HAS_TOUCH_SUPPORT,
|
'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]: {
|
[Preferences.STREAM_TOUCH_CONTROLLER_STYLE_STANDARD]: {
|
||||||
'default': 'default',
|
'default': 'default',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user