From 36a62598179ffe730d86bbb127233e2fb9c3850f Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Fri, 12 Jan 2024 17:49:16 +0700 Subject: [PATCH] Put MKB settings before Touch Controller settings --- better-xcloud.user.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/better-xcloud.user.js b/better-xcloud.user.js index c476b18..eb97fe6 100644 --- a/better-xcloud.user.js +++ b/better-xcloud.user.js @@ -8951,6 +8951,14 @@ function injectSettingsButton($parent) { [Preferences.AUDIO_MIC_ON_PLAYING]: __('enable-mic-on-startup'), [Preferences.STREAM_DISABLE_FEEDBACK_DIALOG]: __('disable-post-stream-feedback-dialog'), }, + + [__('mouse-and-keyboard')]: { + // '_note': '⚠️ ' + __('may-not-work-properly'), + // [Preferences.MKB_ENABLED]: [__('enable-mkb'), __('only-supports-some-games')], + [Preferences.MKB_ENABLED]: __('enable-mkb'), + [Preferences.MKB_HIDE_IDLE_CURSOR]: __('hide-idle-cursor'), + }, + /* [__('controller')]: { [Preferences.CONTROLLER_ENABLE_SHORTCUTS]: __('enable-controller-shortcuts'), @@ -8962,13 +8970,6 @@ function injectSettingsButton($parent) { [Preferences.STREAM_TOUCH_CONTROLLER_STYLE_CUSTOM]: __('tc-custom-layout-style'), }, - [__('mouse-and-keyboard')]: { - // '_note': '⚠️ ' + __('may-not-work-properly'), - // [Preferences.MKB_ENABLED]: [__('enable-mkb'), __('only-supports-some-games')], - [Preferences.MKB_ENABLED]: __('enable-mkb'), - [Preferences.MKB_HIDE_IDLE_CURSOR]: __('hide-idle-cursor'), - }, - [__('loading-screen')]: { [Preferences.UI_LOADING_SCREEN_GAME_ART]: __('show-game-art'), [Preferences.UI_LOADING_SCREEN_WAIT_TIME]: __('show-wait-time'),