604 Commits

Author SHA1 Message Date
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
redphx
5ce311f873 Fix the Stream Settings doesn't hide when clicking outside 2024-01-15 10:15:49 +07:00
redphx
fd127cf2fa Improve stick's responsiveness 2024-01-15 10:05:06 +07:00
redphx
cf65d12a84 Add a button to show MKB settings to the MKB overlay message 2024-01-14 17:01:45 +07:00
redphx
7838236d0d Remove "cursor: help" style from stats bar 2024-01-14 16:29:35 +07:00
redphx
1a77352f22 Fix the "Show stats when starting the game" setting doesn't work with Quick Glance mode 2024-01-14 16:27:29 +07:00
redphx
237d3919fa Optimize class prototypes 2024-01-14 16:15:42 +07:00
redphx
780deccae2 Optimize Safari's workaround 2024-01-14 15:55:16 +07:00
redphx
6dbc0990cd Optimize createElement() 2024-01-14 15:49:02 +07:00
redphx
83a8e1f847 Bump version to 3.0.3 v3.0.3 2024-01-13 17:14:15 +07:00
redphx
5ccd04478d Reduce the chance that other Webpack extensions can cause the Patcher class not to work 2024-01-13 16:38:04 +07:00
redphx
da2a3c87bc Update Remote Play's CSS 2024-01-13 15:49:03 +07:00
redphx
a8996fe3a5 Fix minor CSS 2024-01-13 15:26:32 +07:00
redphx
89a5bbdd2e Fix strafing doesn't work (#216) 2024-01-13 15:15:50 +07:00
redphx
58f8f6e762 Update translations 2024-01-13 14:45:42 +07:00
redphx
401f8def06 Cut off button's label when it's too long 2024-01-12 18:30:49 +07:00
redphx
f560c225de Show stat's full name when hovering on it 2024-01-12 18:12:59 +07:00
redphx
d6b254b134 Don't show "0.00%" on stats bar 2024-01-12 17:57:33 +07:00
redphx
36a6259817 Put MKB settings before Touch Controller settings 2024-01-12 17:49:16 +07:00
redphx
76947a39de Update styling of the Connect button in the Remote Play dialog 2024-01-12 17:43:04 +07:00
redphx
151b87fb69 Change button's height from 32px to 36px 2024-01-12 17:14:35 +07:00
redphx
0a6bd5b763 Fix layout on small screen devices 2024-01-12 17:02:50 +07:00
redphx
477989d542 Update styling of buttons in header 2024-01-12 16:46:19 +07:00
redphx
15eaf76042 Add ButtonStyle enum 2024-01-12 16:03:45 +07:00