Compare commits

..

63 Commits

Author SHA1 Message Date
redphx
d578718958 Bump version to 3.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 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 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 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 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 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
redphx
a495d3147b Update styling of Stream Settings 2024-01-12 15:28:27 +07:00
redphx
2fb61c1c44 Truncate long headers in Stream Settings dialog (#215) 2024-01-09 17:31:30 +07:00
redphx
0c45a7705d Bump version to 3.0.2.1 2024-01-08 20:40:46 +07:00
redphx
5655c5f3b6 Update styling of dialog 2024-01-08 20:36:55 +07:00
redphx
2a6713a038 Move the "Remote Play" button to header 2024-01-08 20:30:23 +07:00
redphx
ecd2d4af1d Bump version to 3.0.2 2024-01-08 17:22:37 +07:00
redphx
c0a14d59a1 Update translations 2024-01-08 16:58:44 +07:00
redphx
73b1142c1e Update styling of the Remote Play button 2024-01-08 16:56:57 +07:00
redphx
1b7fe7f7d0 Set UI_LOADING_SCREEN_WAIT_TIME default value to "true" 2024-01-08 08:54:54 +07:00
redphx
41da54a27c Add server name to the loading screen 2024-01-08 08:54:06 +07:00
redphx
649bb0452d Merge branch 'main' of https://github.com/redphx/better-xcloud 2024-01-08 08:53:28 +07:00
redphx
9c0949930f Add Phosphor Icons license 2024-01-08 08:06:23 +07:00
redphx
2ecb40e6ee Add a help button to the Remote Play dialog 2024-01-08 07:59:26 +07:00
redphx
3490ce47bb Update styling of the Remote Play button 2024-01-07 22:43:13 +07:00
redphx
bb912ae1b4 Replace Icon.BOOK with Icon.QUESTION 2024-01-07 22:34:05 +07:00
redphx
b3e10ce721 Update the help buttons in Stream Settings 2024-01-07 18:50:40 +07:00
redphx
7e6800b3ef In Settings, replace the "Remote Play" button with the "Help" button 2024-01-07 18:39:46 +07:00
redphx
32422e5a62 Catch exception in clearDbLogs() 2024-01-07 17:05:54 +07:00
redphx
75d4e6f65c Add a "Remote Play" button to the "Jump back in" list 2024-01-07 16:59:42 +07:00
4 changed files with 1187 additions and 610 deletions

View File

@@ -1,6 +1,7 @@
MIT License
Copyright (c) 2023 redphx
Copyright (c) 2020 Phosphor Icons
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -19,3 +20,5 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
---

View File

@@ -16,7 +16,10 @@ If you like this project please give it a 🌟. Thank you 🙏.
[![Total stars](https://img.shields.io/github/stars/redphx/better-xcloud?color=%23cca400)](https://github.com/redphx/better-xcloud/stargazers)
## Full documentations
For the full details please visit: https://better-xcloud.github.io
- For the full details please visit: https://better-xcloud.github.io
- [Demo video](https://youtu.be/hyp69Jrb2sQ)
⚠️ Please DO NOT report **Better xCloud**'s bugs on [/r/xcloud subreddit](https://reddit.com/r/xcloud/). Report bugs in [Issues](https://github.com/redphx/better-xcloud/issues) or [Telegram channel](https://t.me/betterxcloud) instead.
## Table of Contents
- [**How to install**](#how-to-install)

View File

@@ -1,5 +1,5 @@
// ==UserScript==
// @name Better xCloud
// @namespace https://github.com/redphx
// @version 3.0.1
// @version 3.1.2
// ==/UserScript==

File diff suppressed because it is too large Load Diff