103 Commits

Author SHA1 Message Date
redphx
1d55026c6d Add option to show wait time in game card 2024-07-14 16:44:18 +07:00
redphx
5bfcf3a044 Refactor header.ts 2024-07-13 18:00:15 +07:00
redphx
ef2e0892bc Add setting to bypass region restriction 2024-07-13 17:27:40 +07:00
redphx
18a8b8330c Add "patchSetCurrentlyFocusedInteractable" patch 2024-07-13 16:07:53 +07:00
redphx
938dfa6aaa Add option to hide "Friends" section 2024-07-07 16:43:56 +07:00
redphx
2b63edb7eb Refactor browser & userAgent's capabilities 2024-07-06 15:53:01 +07:00
redphx
45bda4bb24 Fix script not being loaded after refreshing token 2024-07-13 12:19:07 +07:00
redphx
277c777121 Add "Show controller connection status" setting 2024-07-02 17:08:40 +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
3a16187504 Update Guide menu detection 2024-06-10 08:03:13 +07:00
redphx
504f16b802 Rename "hasTouchSupport" to "userAgentHasTouchSupport" 2024-06-09 11:47:08 +07:00
redphx
a3a7a57b51 Get PointerServer's port from the app 2024-06-09 11:41:00 +07:00
redphx
eb8490a798 Add native MKB support for Android app 2024-06-08 17:04:49 +07:00
redphx
8f9976da28 Add "Reload stream" & "Back to home" buttons in the Guide menu 2024-06-01 16:29:01 +07:00
redphx
ed3c4041ff Show stats in the Guide menu & refactor 2024-06-01 10:11:06 +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
15a2c67703 Observe root dialog 2024-05-26 11:59:38 +07:00
redphx
9166761780 Rename "Quick Bar" to "Stream Settings dialog" 2024-05-26 11:42:19 +07:00
redphx
a376f443ef Map the Share button on Xbox Series controller with the capturing screenshot feature 2024-05-21 16:51:55 +07:00
redphx
41effff226 Show gyroscope settings if the custom layout supports it 2024-05-12 12:26:34 +07:00
redphx
be897848fe Cache screenshot's canvas context 2024-05-12 11:13:32 +07:00
redphx
1be9bd8ee1 Add option for Game Bar's position 2024-05-12 08:01:49 +07:00
redphx
362c5386d1 Add microphone action for Game Bar 2024-05-11 21:15:22 +07:00
redphx
85eac4be14 Move screenshot functions to a separate file 2024-05-11 12:18:36 +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
8bee5b2073 Init UserAgent before STATES 2024-05-11 09:39:50 +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
26bf14eda6 Show custom touch layout's author name in toast message 2024-05-08 17:04:14 +07:00
redphx
c948b63b8d Show touch icon on games with custom layouts 2024-05-07 21:40:12 +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
8fb1787222 Disable telemetry flags in meversion.js 2024-05-05 18:04:20 +07:00
redphx
07a4034cc1 Fix screenshot button now working after switching game 2024-05-03 18:05:59 +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
edc8991a6a Create BxLogger to show colored logs 2024-04-30 18:52:56 +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
18f50e6a20 Move preferences.ts & settings.ts to utils/ 2024-04-27 15:23:49 +07:00
redphx
1753a2d525 Move modules/translations.ts to utils/translations.ts 2024-04-27 10:12:34 +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
9a18d1697e Support build different targets 2024-04-25 17:26:47 +07:00
redphx
563a398975 Bug fixes 2024-04-24 18:03:44 +07:00
redphx
06ffcf20f7 Rename States to STATES 2024-04-24 17:09:39 +07:00
redphx
fd0f0799ee Minor fixes 2024-04-24 17:02:06 +07:00
redphx
9d0f4c380b Fix global vars 2024-04-24 16:50:59 +07:00