627 Commits

Author SHA1 Message Date
redphx
ebb7920d82 Fortnite: allow playing console version on mobile 2024-02-12 19:40:28 +07:00
redphx
5ca8eb754c Bump version to 3.1.6 v3.1.6 2024-02-11 17:50:54 +07:00
redphx
506f89ea51 Fix game's gallery failed to load (#250) 2024-02-11 16:21:40 +07:00
redphx
9332f375b8 Cache base custom touch layouts 2024-02-10 15:05:13 +07:00
redphx
dbe0435669 Use async/await in TouchController.getCustomLayouts() 2024-02-10 14:57:11 +07:00
redphx
c1684abf27 Switch to another Remote Play server if one is down 2024-02-10 14:46:51 +07:00
redphx
07e4f9dffd Add REMOTE_PLAY_SERVER for switching Remote Play server 2024-02-09 21:52:58 +07:00
redphx
bb980d2cad Bump version to 3.1.5 v3.1.5 2024-02-09 18:07:40 +07:00
redphx
102c796c69 Set USE_DEV_TOUCH_LAYOUT to "false" 2024-02-09 18:07:04 +07:00
redphx
2f7218d165 Update translations 2024-02-09 18:04:06 +07:00
redphx
b07318e07f Add BX_EXPOSED.test_touch_control() for layout testing 2024-02-09 17:57:25 +07:00
redphx
70a8fc9866 Test new structure of custom touch layout 2024-02-09 17:46:05 +07:00
redphx
2d9ee16531 Bump version to 3.1.4 v3.1.4 2024-02-07 21:43:49 +07:00
redphx
21168803e0 Set default value of STREAM_CODEC_PROFILE to the best codec profile 2024-02-07 21:37:35 +07:00
redphx
3068aa8a06 Minor fix for touch control 2024-02-07 18:40:36 +07:00
redphx
b6b9ec49f6 Update touch support detection in Remote Play 2024-02-07 17:35:13 +07:00
redphx
4dc60f965f Minor fix 2024-02-07 15:22:27 +07:00
redphx
2142c4a83c Only request custom touch control when the game is focused 2024-02-07 15:15:53 +07:00
redphx
6b090194c9 Only show toast when the layout has been changed 2024-02-07 14:56:36 +07:00
redphx
a878150ec3 Show a toast with layout's name when switching touch control layout 2024-02-07 11:09:10 +07:00
redphx
5fb1dded42 Change default value of "STREAM_TARGET_RESOLUTION" to "1080p" 2024-02-07 10:53:12 +07:00
redphx
ac6879c189 Change default value of "STREAM_TOUCH_CONTROLLER" to "all" 2024-02-07 10:52:04 +07:00
redphx
b8efaf9648 Fix not loading Better xCloud after logging in 2024-02-06 22:53:53 +07:00
redphx
033ac31333 Bump version to 3.1.3 v3.1.3 2024-02-03 07:16:46 +07:00
redphx
1f754d4a1d Add STREAM_STOPPED and STREAM_ERROR_PAGE events 2024-02-02 10:31:40 +07:00
redphx
0d39ccf8bf Typo 2024-02-02 10:04:59 +07:00
redphx
966d7f2f6c Hide touchscreen using bx-offscreen instead of bx-gone 2024-02-02 10:02:57 +07:00
redphx
fdbf618253 Add STREAM_MENU_SHOWN and STREAM_MENU_HIDDEN events 2024-02-02 09:59:42 +07:00
redphx
aaa7612293 Fix default touch control not showing sometimes 2024-02-01 20:22:18 +07:00
redphx
d578718958 Bump version to 3.1.2 v3.1.2 2024-02-01 09:21:26 +07:00
redphx
46647dbffd
Refactor + bug fixes (#245)
* Create DATA_CHANNEL_CREATED event

* Add BxEvent.dispatch()

* Dispatch STREAM_WEBRTC_CONNECTED event

* Fix not being able to hide touch control in Remote Play

* Fix touch bar again

* Listen to STREAM_LOADING & STREAM_STARTING events

* Add setupEvents() functions

* Show/hide touch controller using CSS instead

* Fix exception in LoadingScreen class

* Fix Remote Play stopped working
2024-02-01 09:20:17 +07:00
redphx
6f517d85b3 Bump version to 3.1.1 v3.1.1 2024-01-31 07:28:44 +07:00
redphx
bf06ef6aa6
Custom layout selector (#243)
* Read layout from "layouts" property

* Support schema version 2

* Support switching custom layouts

* Fix custom touch layouts not working in Remote Play

* Fix game's layout not working when switching between games

* Fix loading custom layout before touch_layout_manager is ready

* Fix game's custom layout not working sometimes

* Set USE_DEV_TOUCH_LAYOUT to false
2024-01-31 07:26:53 +07:00
redphx
a90868ef2f Fix not showing custom touch controller layout sometimes 2024-01-30 09:40:07 +07:00
redphx
a132a1b1e0
Update README.md 2024-01-29 17:09:46 +07:00
redphx
a6c1e5f487 Bump version to 3.1 v3.1 2024-01-29 16:04:18 +07:00
redphx
c3432ea125
Custom touch layout (#238)
* Expose Layout Manager

* Test layout

* Update better-xcloud.user.js

* Fix custom layout not being applied after switching off "Basic controls" setting

* Support custom layout in Remote Play

* Fix bug when showing/hiding touch controller

* Fix Remote Play

* Wait for 1s before displaying custom layout

* Support dev layouts

* Update translations

* Show notes in Settings

* Fix not being able to show touch controller
2024-01-29 15:48:21 +07:00
redphx
886a23e5ac Bump version to 3.0.5 v3.0.5 2024-01-21 12:27:57 +07:00
redphx
309feca3f9 Only set "pointerEvents" property on touch-supported devices 2024-01-21 11:55:17 +07:00
redphx
82a9a91534 Fix Clarity Boost warning not working 2024-01-21 11:32:52 +07:00
redphx
7248dac3f6 Fix patches 2024-01-21 11:15:09 +07:00
redphx
9a0374923c Update translations v3.0.4 2024-01-16 06:46:44 +07:00
redphx
6952bad46d Bump version to 3.0.4 2024-01-16 06:44:33 +07:00
redphx
5afdbeb9f8 Increase maximum mouse's sensitivities to 200% 2024-01-15 17:35:38 +07:00
redphx
241cfae9a1 Optimize Preferences.get() 2024-01-15 17:28:34 +07:00
redphx
0b37ed40f6 Use getPref() & setPref() 2024-01-15 17:06:38 +07:00
redphx
dc4c1d7256 Reorganize patches 2024-01-15 17:00:42 +07:00
redphx
4add599f8e Optimize classList.remove() 2024-01-15 16:45:12 +07:00
redphx
7271478ebc Update translations 2024-01-15 16:29:39 +07:00
redphx
69d33719e6
Update README.md 2024-01-15 15:36:19 +07:00