56 Commits

Author SHA1 Message Date
redphx
daaaea1f16 Minor fixes 2024-05-11 09:16:01 +07:00
redphx
9ce906c0b2 Move User-Agent values to a separate localStorage item 2024-05-11 09:08:08 +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
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
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
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
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
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
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
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
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
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
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
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
redphx
cd6dd1e22d Use a better method to enable touch control for all games 2024-04-29 10:05:22 +07:00
redphx
0ba8df734c Fix problem with the Android app 2024-04-28 17:17:55 +07:00
redphx
fbaf958b02 Fix binding mouse scrolls as clicks 2024-04-28 10:46:02 +07:00
redphx
e2806fea68 Fix local co-op not working 2024-04-28 09:27:02 +07:00
redphx
18f50e6a20 Move preferences.ts & settings.ts to utils/ 2024-04-27 15:23:49 +07:00
redphx
dcb4f7471f Fix NumberStepper not working properly in MKB remapper 2024-04-27 15:11:15 +07:00
redphx
1753a2d525 Move modules/translations.ts to utils/translations.ts 2024-04-27 10:12:34 +07:00
redphx
fc64f0dfa7 Refactor Translations 2024-04-27 10:10:33 +07:00
redphx
3eb70498a3 Fix not refreshing the page after switching language 2024-04-25 17:57:53 +07:00
redphx
293e3c8d73 Move bx-events/exposed/flags files to utils/ 2024-04-25 17:57:34 +07:00
redphx
53676ad733 Fix errors with setTimeout/setInterval 2024-04-25 17:46:02 +07:00
redphx
563a398975 Bug fixes 2024-04-24 18:03:44 +07:00
redphx
d376e4b8be Fix not able to get Remote Play consoles 2024-04-24 17:35:04 +07:00
redphx
06ffcf20f7 Rename States to STATES 2024-04-24 17:09:39 +07:00