Compare commits

...

109 Commits
v3.0 ... v3.1.7

Author SHA1 Message Date
cf1d11185b Add a link for MKB's note 2024-02-14 17:54:03 +07:00
21f119e4eb Update translations 2024-02-14 17:45:05 +07:00
ebb7920d82 Fortnite: allow playing console version on mobile 2024-02-12 19:40:28 +07:00
5ca8eb754c Bump version to 3.1.6 2024-02-11 17:50:54 +07:00
506f89ea51 Fix game's gallery failed to load (#250) 2024-02-11 16:21:40 +07:00
9332f375b8 Cache base custom touch layouts 2024-02-10 15:05:13 +07:00
dbe0435669 Use async/await in TouchController.getCustomLayouts() 2024-02-10 14:57:11 +07:00
c1684abf27 Switch to another Remote Play server if one is down 2024-02-10 14:46:51 +07:00
07e4f9dffd Add REMOTE_PLAY_SERVER for switching Remote Play server 2024-02-09 21:52:58 +07:00
bb980d2cad Bump version to 3.1.5 2024-02-09 18:07:40 +07:00
102c796c69 Set USE_DEV_TOUCH_LAYOUT to "false" 2024-02-09 18:07:04 +07:00
2f7218d165 Update translations 2024-02-09 18:04:06 +07:00
b07318e07f Add BX_EXPOSED.test_touch_control() for layout testing 2024-02-09 17:57:25 +07:00
70a8fc9866 Test new structure of custom touch layout 2024-02-09 17:46:05 +07:00
2d9ee16531 Bump version to 3.1.4 2024-02-07 21:43:49 +07:00
21168803e0 Set default value of STREAM_CODEC_PROFILE to the best codec profile 2024-02-07 21:37:35 +07:00
3068aa8a06 Minor fix for touch control 2024-02-07 18:40:36 +07:00
b6b9ec49f6 Update touch support detection in Remote Play 2024-02-07 17:35:13 +07:00
4dc60f965f Minor fix 2024-02-07 15:22:27 +07:00
2142c4a83c Only request custom touch control when the game is focused 2024-02-07 15:15:53 +07:00
6b090194c9 Only show toast when the layout has been changed 2024-02-07 14:56:36 +07:00
a878150ec3 Show a toast with layout's name when switching touch control layout 2024-02-07 11:09:10 +07:00
5fb1dded42 Change default value of "STREAM_TARGET_RESOLUTION" to "1080p" 2024-02-07 10:53:12 +07:00
ac6879c189 Change default value of "STREAM_TOUCH_CONTROLLER" to "all" 2024-02-07 10:52:04 +07:00
b8efaf9648 Fix not loading Better xCloud after logging in 2024-02-06 22:53:53 +07:00
033ac31333 Bump version to 3.1.3 2024-02-03 07:16:46 +07:00
1f754d4a1d Add STREAM_STOPPED and STREAM_ERROR_PAGE events 2024-02-02 10:31:40 +07:00
0d39ccf8bf Typo 2024-02-02 10:04:59 +07:00
966d7f2f6c Hide touchscreen using bx-offscreen instead of bx-gone 2024-02-02 10:02:57 +07:00
fdbf618253 Add STREAM_MENU_SHOWN and STREAM_MENU_HIDDEN events 2024-02-02 09:59:42 +07:00
aaa7612293 Fix default touch control not showing sometimes 2024-02-01 20:22:18 +07:00
d578718958 Bump version to 3.1.2 2024-02-01 09:21:26 +07:00
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
6f517d85b3 Bump version to 3.1.1 2024-01-31 07:28:44 +07:00
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
a90868ef2f Fix not showing custom touch controller layout sometimes 2024-01-30 09:40:07 +07:00
a132a1b1e0 Update README.md 2024-01-29 17:09:46 +07:00
a6c1e5f487 Bump version to 3.1 2024-01-29 16:04:18 +07:00
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
886a23e5ac Bump version to 3.0.5 2024-01-21 12:27:57 +07:00
309feca3f9 Only set "pointerEvents" property on touch-supported devices 2024-01-21 11:55:17 +07:00
82a9a91534 Fix Clarity Boost warning not working 2024-01-21 11:32:52 +07:00
7248dac3f6 Fix patches 2024-01-21 11:15:09 +07:00
9a0374923c Update translations 2024-01-16 06:46:44 +07:00
6952bad46d Bump version to 3.0.4 2024-01-16 06:44:33 +07:00
5afdbeb9f8 Increase maximum mouse's sensitivities to 200% 2024-01-15 17:35:38 +07:00
241cfae9a1 Optimize Preferences.get() 2024-01-15 17:28:34 +07:00
0b37ed40f6 Use getPref() & setPref() 2024-01-15 17:06:38 +07:00
dc4c1d7256 Reorganize patches 2024-01-15 17:00:42 +07:00
4add599f8e Optimize classList.remove() 2024-01-15 16:45:12 +07:00
7271478ebc Update translations 2024-01-15 16:29:39 +07:00
69d33719e6 Update README.md 2024-01-15 15:36:19 +07:00
5ce311f873 Fix the Stream Settings doesn't hide when clicking outside 2024-01-15 10:15:49 +07:00
fd127cf2fa Improve stick's responsiveness 2024-01-15 10:05:06 +07:00
cf65d12a84 Add a button to show MKB settings to the MKB overlay message 2024-01-14 17:01:45 +07:00
7838236d0d Remove "cursor: help" style from stats bar 2024-01-14 16:29:35 +07:00
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
237d3919fa Optimize class prototypes 2024-01-14 16:15:42 +07:00
780deccae2 Optimize Safari's workaround 2024-01-14 15:55:16 +07:00
6dbc0990cd Optimize createElement() 2024-01-14 15:49:02 +07:00
83a8e1f847 Bump version to 3.0.3 2024-01-13 17:14:15 +07:00
5ccd04478d Reduce the chance that other Webpack extensions can cause the Patcher class not to work 2024-01-13 16:38:04 +07:00
da2a3c87bc Update Remote Play's CSS 2024-01-13 15:49:03 +07:00
a8996fe3a5 Fix minor CSS 2024-01-13 15:26:32 +07:00
89a5bbdd2e Fix strafing doesn't work (#216) 2024-01-13 15:15:50 +07:00
58f8f6e762 Update translations 2024-01-13 14:45:42 +07:00
401f8def06 Cut off button's label when it's too long 2024-01-12 18:30:49 +07:00
f560c225de Show stat's full name when hovering on it 2024-01-12 18:12:59 +07:00
d6b254b134 Don't show "0.00%" on stats bar 2024-01-12 17:57:33 +07:00
36a6259817 Put MKB settings before Touch Controller settings 2024-01-12 17:49:16 +07:00
76947a39de Update styling of the Connect button in the Remote Play dialog 2024-01-12 17:43:04 +07:00
151b87fb69 Change button's height from 32px to 36px 2024-01-12 17:14:35 +07:00
0a6bd5b763 Fix layout on small screen devices 2024-01-12 17:02:50 +07:00
477989d542 Update styling of buttons in header 2024-01-12 16:46:19 +07:00
15eaf76042 Add ButtonStyle enum 2024-01-12 16:03:45 +07:00
a495d3147b Update styling of Stream Settings 2024-01-12 15:28:27 +07:00
2fb61c1c44 Truncate long headers in Stream Settings dialog (#215) 2024-01-09 17:31:30 +07:00
0c45a7705d Bump version to 3.0.2.1 2024-01-08 20:40:46 +07:00
5655c5f3b6 Update styling of dialog 2024-01-08 20:36:55 +07:00
2a6713a038 Move the "Remote Play" button to header 2024-01-08 20:30:23 +07:00
ecd2d4af1d Bump version to 3.0.2 2024-01-08 17:22:37 +07:00
c0a14d59a1 Update translations 2024-01-08 16:58:44 +07:00
73b1142c1e Update styling of the Remote Play button 2024-01-08 16:56:57 +07:00
1b7fe7f7d0 Set UI_LOADING_SCREEN_WAIT_TIME default value to "true" 2024-01-08 08:54:54 +07:00
41da54a27c Add server name to the loading screen 2024-01-08 08:54:06 +07:00
649bb0452d Merge branch 'main' of https://github.com/redphx/better-xcloud 2024-01-08 08:53:28 +07:00
9c0949930f Add Phosphor Icons license 2024-01-08 08:06:23 +07:00
2ecb40e6ee Add a help button to the Remote Play dialog 2024-01-08 07:59:26 +07:00
3490ce47bb Update styling of the Remote Play button 2024-01-07 22:43:13 +07:00
bb912ae1b4 Replace Icon.BOOK with Icon.QUESTION 2024-01-07 22:34:05 +07:00
b3e10ce721 Update the help buttons in Stream Settings 2024-01-07 18:50:40 +07:00
7e6800b3ef In Settings, replace the "Remote Play" button with the "Help" button 2024-01-07 18:39:46 +07:00
32422e5a62 Catch exception in clearDbLogs() 2024-01-07 17:05:54 +07:00
75d4e6f65c Add a "Remote Play" button to the "Jump back in" list 2024-01-07 16:59:42 +07:00
675aac207f Bump version to 3.0.1 2024-01-06 19:08:17 +07:00
0c7a6153f2 Update translations 2024-01-06 18:03:08 +07:00
d3ce3dd26d Update translations 2024-01-06 17:38:25 +07:00
25d87c5367 Allow connecting to IPv6 address when Remote Playing 2024-01-06 16:46:34 +07:00
989634b52e Clear logs in DB 2024-01-06 16:04:07 +07:00
281787d955 Fix iPhone detection 2024-01-06 15:47:34 +07:00
9d4eaf8024 Fix StreamHud not collapsing when clicking on custom buttons 2024-01-06 15:38:00 +07:00
4c601234ef Fix the StreamHud buttons being wonky 2024-01-06 14:38:18 +07:00
e8de67c817 Optimize Patcher.#patchFunctionBind() 2024-01-06 12:05:08 +07:00
c3d37b7034 Another attempt to fix the StreamMenu buttons 2024-01-06 11:51:02 +07:00
03926451ec Fix some buttons not hiding when the System menu bar is collapsed 2024-01-06 11:12:41 +07:00
dac5b39097 Disable the MKB feature for mobile browsers 2024-01-06 10:36:41 +07:00
9332892353 Add "unsupported" property to Preferences.SETTINGS 2024-01-06 10:21:35 +07:00
00041eb911 Use a different method to disable StreamGate (#210) 2024-01-06 08:12:49 +07:00
6c996769b7 Update README.md 2024-01-05 17:18:52 +07:00
4 changed files with 1672 additions and 718 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)
@ -30,7 +33,7 @@ Visit [this page](https://better-xcloud.github.io/browsers) to know how to insta
## Features
<img width="400" alt="Settings UI" src="https://github.com/redphx/better-xcloud/assets/96280/ca38b3fa-1e89-4b37-937c-a6796c07cdf1">
<img width="400" alt="Settings UI" src="https://github.com/redphx/better-xcloud/assets/96280/4bec2d62-31df-499c-9aad-2485626b6925">
<br>
<img width="400" alt="Remote Play dialog" src="https://github.com/redphx/better-xcloud/assets/96280/daf7f698-a228-4f9c-8f23-9669e061a64c">
<br>
@ -56,12 +59,15 @@ Visit [this page](https://better-xcloud.github.io/browsers) to know how to insta
> Enable touch controller support for all games.
- [And more...](https://better-xcloud.github.io/features/)
## Donation
If you think this project is useful and want to support future developments, please consider making a donate via [my Ko-fi page](https://ko-fi.com/redphx).
Or you can give this project a star, that's also helpful.
Thank you.
## Translation
Help translating **Better xCloud** to another languagues using [Crowdin](https://crowdin.com/project/better-xcloud).
Use [this post](https://github.com/redphx/better-xcloud/discussions/131) for discussion.
## Acknowledgements
- The mouse controlling feature is heavily inspired by the "Mouse spinning" feature in [Yuzu emulator](https://github.com/yuzu-emu/yuzu-mainline)
- [n-thumann/xbox-cloud-server-selector](https://github.com/n-thumann/xbox-cloud-server-selector) for the idea of IPv6 feature

View File

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

File diff suppressed because it is too large Load Diff