637 Commits

Author SHA1 Message Date
redphx
84182ffe77 Update User-Agent values 2024-05-11 09:13:21 +07:00
redphx
9ce906c0b2 Move User-Agent values to a separate localStorage item 2024-05-11 09:08:08 +07:00
redphx
77f7b647da Improve ready() in Preferences 2024-05-11 07:58:27 +07:00
redphx
9988a55601 Prevent clicking when hiding game bar & toast 2024-05-10 20:34:54 +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
3b1f5155c6 Update translations 2024-05-08 17:18:23 +07:00
redphx
500f6671c6 Rename "touchLayoutManager" and "testTouchLayout" 2024-05-08 17:11:15 +07:00
redphx
26bf14eda6 Show custom touch layout's author name in toast message 2024-05-08 17:04:14 +07:00
redphx
d8fada8f5d Fix not able to get Chromium version in WebView 2024-05-08 16:48:42 +07:00
redphx
8e23ca51de Remove debuggers 2024-05-08 08:55:05 +07:00
redphx
c2efbd9c1d Remove non-cloud games from touch games list 2024-05-08 08:03:58 +07:00
redphx
c948b63b8d Show touch icon on games with custom layouts 2024-05-07 21:40:12 +07:00
redphx
7dacc8f23a Fix problems when holding NumberStepper's buttons 2024-05-07 18:01:36 +07:00
redphx
2df3bb4611 Add "Default opacity" setting for touch controller 2024-05-07 17:37:49 +07:00
redphx
b9355d5c01 Optimize touch control's canvas, use low-power profile and disable antialiasing 2024-05-07 17:07:15 +07:00
redphx
cadc7987b7 Update "disableIndexDbLogging" patch 2024-05-05 18:29:04 +07:00
redphx
8fb1787222 Disable telemetry flags in meversion.js 2024-05-05 18:04:20 +07:00
redphx
4231d7e9c6 Update logs 2024-05-05 11:54:59 +07:00
redphx
e852b246d3 Rewrite volume control feature 2024-05-05 09:36:53 +07:00
redphx
443bf93c9a Fix the refresh button not focusable using gamepad 2024-05-04 17:32:08 +07:00
redphx
9bf8a2ef66 Add a standalone Refresh stream button (#315) 2024-05-04 16:20:12 +07:00
redphx
b1df189c7d Support "styles" param in touch control 2024-05-04 15:33:19 +07:00
redphx
8a7be5d523 Add ability to use normal website's layout on TV 2024-05-04 15:00:27 +07:00
redphx
7588f37472 Add "Smart TV" + "Meta Quest VR" User-Agent profiles 2024-05-04 14:52:54 +07:00
redphx
f945a3adde Move PatcherCache.init() to patchFunctionBind() 2024-05-04 14:34:06 +07:00
redphx
f6ee79770c Clear PatcherCache when changing settings 2024-05-04 11:22:42 +07:00
redphx
f36c77e727 Fix touch control not showing when using "caches" as variable name 2024-05-04 11:21:18 +07:00
redphx
f144fac81e Fix not clearing "appliedPatches" correctly 2024-05-03 18:09:31 +07:00
redphx
07a4034cc1 Fix screenshot button now working after switching game 2024-05-03 18:05:59 +07:00
redphx
3670946da4 Refactor BxIcon 2024-05-03 17:27:13 +07:00
redphx
3d3a013a5c Disable achievement toast in Remote Play 2024-05-03 17:17:00 +07:00
redphx
db1ce23b53 Refactor Dialog 2024-05-03 17:06:10 +07:00
redphx
bcd61833b2 Fix touch controller not working in Remote Play 2024-05-03 17:05:58 +07:00
redphx
ba0ccf5213 Fix disabling social features also disables notifications 2024-05-03 17:05:30 +07:00
redphx
6ff81971b0 Don't refresh the page when signature has changed 2024-05-03 08:55:55 +07:00
redphx
ea57e04d4f Add PatcherCache class 2024-05-03 07:36:03 +07:00
redphx
e5ab7c93f9 Fix imports 2024-05-02 17:53:17 +07:00
redphx
06c6b8c5af Simplify import paths again 2024-05-01 22:14:28 +07:00
redphx
0114108bdf Simplify import paths 2024-05-01 22:01:39 +07:00
redphx
006e21f477 Replace DualEnum with normal enum 2024-05-01 21:36:17 +07:00
redphx
17afd364da Refactor icons 2024-05-01 18:57:50 +07:00
redphx
29a1fa9f10 Update IPv6's priority value 2024-05-01 18:31:53 +07:00
redphx
edc8991a6a Create BxLogger to show colored logs 2024-04-30 18:52:56 +07:00
redphx
26c318fb8d Format code 2024-04-30 18:24:58 +07:00
redphx
9f0097fd8c Handle xHome's /play request 2024-04-30 18:18:02 +07:00
redphx
6421243d68 Fix touch controller not working on non-touch supported games 2024-04-29 15:29:58 +07:00
redphx
5a6c99e920 Fix not disabling touch when controller found 2024-04-29 15:17:41 +07:00
redphx
3562d0318e Don't disable touch on native touch-supported games 2024-04-29 14:54:35 +07:00
redphx
a546b921f4 Fix double inputs when using emulated MKB with Remote Play 2024-04-29 11:40:26 +07:00
redphx
99aec0a60c Don't emulate MKB in native MKB supported games 2024-04-29 11:00:47 +07:00