48 Commits

Author SHA1 Message Date
redphx
7b60ba3a3e Controller customization feature 2024-12-22 17:17:03 +07:00
redphx
94c742cbd6 Fix not adding custom controller IDs 2024-12-18 06:32:51 +07:00
redphx
11aefb34d1 Fix overriding features not working 2024-12-10 20:51:27 +07:00
redphx
4ffc034076 Rename EventBus events 2024-12-08 21:57:29 +07:00
redphx
741bc9a4e5 Rename EventBus to BxEventBus 2024-12-08 20:09:12 +07:00
redphx
79ebb1a817
EventBus (#590)
* Replace BxEvent.TITLE_INFO_READY with Event Bus

* Migrate more events

* Migrate stream events to event bus

* Migrate preset events

* Migrate more

* Fix dispatching "input" event twice in Number Stepper
2024-12-08 17:55:44 +07:00
redphx
4011eb402a Linting 2024-12-07 16:48:58 +07:00
redphx
1ea1afe4d4 Optimize Patcher 2024-12-06 18:13:24 +07:00
redphx
9199351af1 6.0 2024-12-05 17:10:39 +07:00
redphx
17c08792e1 Redirect to /en-US/play if visiting from an unsupported region 2024-11-01 17:02:30 +07:00
redphx
e8376b52fe Add patch to modify __PRELOADED_STATE__ 2024-11-01 16:55:58 +07:00
redphx
8a3d48d4a3 Optimize Game slug generator by using cached RegEx 2024-10-22 20:07:26 +07:00
redphx
12d8d766dc Lite: remove XhomeInterceptor and TouchController in built script 2024-10-01 17:09:07 +07:00
redphx
bd58355ef5 Create better-xcloud.lite.user.js 2024-09-30 17:11:05 +07:00
redphx
4f7e0a4f7f Add "Suggest settings" feature 2024-08-26 17:27:34 +07:00
redphx
344b6bb2c9 Dispatch "TvRemoteBack" in backButtonPressed() 2024-08-14 18:26:19 +07:00
redphx
9dfdeb8f12 Merge Global settings and Stream settings into one dialog 2024-07-27 16:09:13 +07:00
redphx
58b83c4eb2 Add BX_EXPOSED.backButtonPressed() 2024-07-17 17:38:59 +07:00
redphx
64568532cb Allow controlling settings using gamepad 2024-07-16 21:52:44 +07:00
redphx
6b2412ff27 Disable Onboarding screen 2024-07-08 07:32:16 +07:00
redphx
2b63edb7eb Refactor browser & userAgent's capabilities 2024-07-06 15:53:01 +07:00
redphx
c1502b5552 Prepare for webOS & Tizen support 2024-07-01 17:26:04 +07:00
redphx
f169c17e18 Add WebGL2 renderer 2024-06-21 17:45:43 +07:00
redphx
ebb4d3c141 Add FeatureGates 2024-06-09 18:31:15 +07:00
redphx
504f16b802 Rename "hasTouchSupport" to "userAgentHasTouchSupport" 2024-06-09 11:47:08 +07:00
redphx
eb8490a798 Add native MKB support for Android app 2024-06-08 17:04:49 +07:00
redphx
2e0a59cbe1 Add back the ability to use native MKB feature on unofficial titles 2024-06-02 10:43:59 +07:00
redphx
ef14c78941 Fix settings being reset after refreshing page 2024-05-30 07:04:01 +07:00
redphx
5866644673 Clear TABs when disabling touch control 2024-05-29 20:09:20 +07:00
redphx
0f48cb891f Support emulated MKB in Android app
commit ad365d4ee854971122f0e8cb9157ed44b3aac0d8
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Wed May 29 17:19:57 2024 +0700

    Fix not able to reconnect to WebSocket server when switching game

commit ca9369318d4cbb831650e8ca631e7997dc7706cb
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Wed May 29 17:19:23 2024 +0700

    Stop emulated MKB when losing pointer capture

commit 8cca1a0554c46b8f61455e79d5b16f1dff9a8014
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Wed May 29 17:17:42 2024 +0700

    Allow fine-tuning maximum video bitrate

commit 763d414d560d9d2aa6710fd60e3f80bf43a534d6
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Wed May 29 08:13:56 2024 +0700

    Update mouse settings

commit d65c5ab4e4a33ed8ad13acf0a15c4bb5ace870eb
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Wed May 29 08:10:49 2024 +0700

    Increase MKB dialog's bg opacity

commit 3e72f2ad2700737c8148ef47629528954a606578
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Wed May 29 08:02:57 2024 +0700

    Show/hide MKB dialog properly

commit e7786f36508e3aa843604d9886861930bada5d60
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Wed May 29 07:47:21 2024 +0700

    Fix connecting to WebSocket server when it's not ready

commit 512d8c227a057e5c0399bf128bc1c52a88fcf853
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Wed May 29 07:18:06 2024 +0700

    Fix arrow keys not working in Android app

commit 0ce90f47f37d057d5a4fab0003e2bec8960d1eee
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Tue May 28 17:36:56 2024 +0700

    Set mouse's default sensitivities to 50

commit 16eb48660dd44497e16ca22343a880d9a2e53a30
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Tue May 28 17:33:37 2024 +0700

    Allow emulated MKB feature in Android app

commit c3d0e64f8502e19cd4f167fea4cdbdfc2e14b65e
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Tue May 28 17:32:49 2024 +0700

    Remove stick decay settings

commit d289d2a0dea61a440c1bc6b9392920b8e6ab6298
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Tue May 28 17:21:39 2024 +0700

    Remove stick decaying feature

commit 76bd001d98bac53f757f4ae793b2850aad055007
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Tue May 28 17:21:14 2024 +0700

    Update data structure

commit c5d3c87da9e6624ebefb288f6d7c8d06dc00916b
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Tue May 28 08:14:27 2024 +0700

    Fix not toggling the MKB feature correctly

commit 9615535cf0e4d4372e201aefb6f1231ddbc22536
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Mon May 27 20:51:57 2024 +0700

    Handle mouse data from the app
2024-05-29 17:28:39 +07:00
redphx
78d74cfd23 Set audioGainNode to null when couldn't setup GainNode 2024-05-25 10:09:33 +07:00
redphx
567770c86e Fix crashing with GainNode when the stream has no sound 2024-05-25 09:55:20 +07:00
redphx
07c1757237 Squashed commit of the following:
commit 2faed50e5c2165647e389d794de673038d56241e
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Fri May 24 18:09:25 2024 +0700

    Make shortcuts work with controller

commit b8f6c503ba7969de3a232644d3f6b53532a4b7bb
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Fri May 24 17:01:15 2024 +0700

    Update translations

commit 6f6c0899e5a09cd5534e06a9e272bf78c74536dc
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Fri May 24 17:00:50 2024 +0700

    Preload PrompFont

commit 1bf0f2b9dae77890d35091bed970b942c4d61fbc
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Fri May 24 07:08:05 2024 +0700

    Render Controller shortcuts settings

commit 2f24965c73a941be2ebc8a3509dc540a47b4e38d
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Thu May 23 17:21:55 2024 +0700

    Fix not able to capture screenshot after switching games

commit 6ac791e2dfb17215ee82d449047d0cd11d185c42
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Thu May 23 17:11:19 2024 +0700

    Hijack the Home button
2024-05-24 18:10:38 +07:00
redphx
e52a296872 Minor fixes 2024-05-18 15:38:03 +07:00
redphx
962b57f0a6 Add option to disable native MKB 2024-05-17 18:19:45 +07:00
redphx
cec2bdf807 Fix emulated MKB not being disabled on native MKB games (#391) 2024-05-12 08:07:35 +07:00
redphx
1be9bd8ee1 Add option for Game Bar's position 2024-05-12 08:01:49 +07:00
redphx
40b61b173f Use singleton in GameBar 2024-05-11 11:48:07 +07:00
redphx
6b88f73e34 Add setting to enable/disable Game Bar feature 2024-05-11 10:42:30 +07:00
redphx
b2e932cc4c
Game bar (#392)
* Fix games with custom touch control sometimes not showing touch icon

* Create game-bar with screenshot button

* Disable Game bar when opening the Guide

* Remove SCREENSHOT_BUTTON_POSITION pref

* Make the touch control action functional

* Show game bar when the game starts

* Fix 720p/High not working (#387)

* Update icons

* Update game bar's animations

* Reset states of Game bar actions before playing

* Don't show Touch control action on non-touch-supported devices

* Clean up

* Update translations

* Update actions' texts

* Clean up
2024-05-10 18:35:40 +07:00
redphx
e852b246d3 Rewrite volume control feature 2024-05-05 09:36:53 +07:00
redphx
f36c77e727 Fix touch control not showing when using "caches" as variable name 2024-05-04 11:21:18 +07:00
redphx
06c6b8c5af Simplify import paths again 2024-05-01 22:14:28 +07:00
redphx
6421243d68 Fix touch controller not working on non-touch supported games 2024-04-29 15:29:58 +07:00
redphx
3562d0318e Don't disable touch on native touch-supported games 2024-04-29 14:54:35 +07:00
redphx
99aec0a60c Don't emulate MKB in native MKB supported games 2024-04-29 11:00:47 +07:00
redphx
cd6dd1e22d Use a better method to enable touch control for all games 2024-04-29 10:05:22 +07:00
redphx
293e3c8d73 Move bx-events/exposed/flags files to utils/ 2024-04-25 17:57:34 +07:00