441 Commits

Author SHA1 Message Date
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
redphx
675aac207f Bump version to 3.0.1 v3.0.1 2024-01-06 19:08:17 +07:00
redphx
0c7a6153f2 Update translations 2024-01-06 18:03:08 +07:00
redphx
d3ce3dd26d Update translations 2024-01-06 17:38:25 +07:00
redphx
25d87c5367 Allow connecting to IPv6 address when Remote Playing 2024-01-06 16:46:34 +07:00
redphx
989634b52e Clear logs in DB 2024-01-06 16:04:07 +07:00
redphx
281787d955 Fix iPhone detection 2024-01-06 15:47:34 +07:00
redphx
9d4eaf8024 Fix StreamHud not collapsing when clicking on custom buttons 2024-01-06 15:38:00 +07:00
redphx
4c601234ef Fix the StreamHud buttons being wonky 2024-01-06 14:38:18 +07:00
redphx
e8de67c817 Optimize Patcher.#patchFunctionBind() 2024-01-06 12:05:08 +07:00
redphx
c3d37b7034 Another attempt to fix the StreamMenu buttons 2024-01-06 11:51:02 +07:00
redphx
03926451ec Fix some buttons not hiding when the System menu bar is collapsed 2024-01-06 11:12:41 +07:00
redphx
dac5b39097 Disable the MKB feature for mobile browsers 2024-01-06 10:36:41 +07:00
redphx
9332892353 Add "unsupported" property to Preferences.SETTINGS 2024-01-06 10:21:35 +07:00
redphx
00041eb911 Use a different method to disable StreamGate (#210) 2024-01-06 08:12:49 +07:00
redphx
6c996769b7
Update README.md 2024-01-05 17:18:52 +07:00
redphx
e4d6afc2d2 Bump version to 3.0 v3.0 2024-01-04 21:05:56 +07:00
redphx
7b59a8cd5e
Add Mouse & Keyboard support (#194)
* Add initial support for MKB

* Refactor icons

* Enable native MKB support for some games

* Move Stream settings & stats buttons to Stream HUD bar

* Split stream settings into tabs

* Use bx-gone class to show/hide Settings sidebar

* Update translations

* Update Toast class

* Press F9 to toggle MKB feature

* Disable Gamepad Disconnected screen

* Change from F9 key to F8 key

* Reverse back to F9 key + disable "disableGamepadDisconnectedScreen" patch

* Fix "disableGamepadDisconnectedScreen" patch

* Add fade in/out animations for Toast

* Fix Settings tabs not showing

* Fix touch controller not showing sometimes

* Add basic remapping screen

* Update MKB layout

* Add edit/save states

* Add borders to highlight Quick Settings tabs

* Get key name from key code

* Move the Dots button to the beginning

* Disable non-working native MKB games

* Optimize Patcher class: only apply "playing" patches when needed

* Refactor renderMkbSettings() to MkbRemapper class

* Refactor the rendering process of MkbRemapper

* Implement new method to control analog stick using mouse

Heavily inspired by Yuzu's "Mouse panning" feature

* Update README.md

* Refactor setting elements

* Reduce button prompt's font size

* Render mouse settings

* Add a warning in MKB remapper

* Update preset's structure

* Disable "contextmenu" event of dialog & its overlay

* Fix bug in MkbPreset.convert()

* Detect scrolling events while binding

* Convert wheel events to button press

* Fix minor bugs in Stream settings

* Fix RT mapping

* Add setValue() method to SettingElement

* Update preset after binding new key

* Update preset after changing mouse's settings

* Update UI of mouse's settings

* Update style

* Fixed action buttons at the bottom

* Add support for "exactTicks" param to Number Stepper element

* Don't render first & last markers

* Add basic LocalDb class

* Allow switching between presets

* Enable/disable elements when editing preset

* Update translations

* Refactor code

* Define  "CE = createElement" globally

* Add createButton()

* Add icons to buttons

* Implement the "Cancel" button

* Implement the "Rename" button

* Add styling for disabled buttons

* Implement "New" & "Copy" buttons

* Implement "Delete" button

* Refactor code

* Fix exception when creating Default preset

* Set default name when copying preset

* Implement "Save" button

* Implement "Activate" button

* Implement switching preset data

* Pre-calculate mouse's sensitivities + fix not converting preset before using

* Fix mouse buttons not working

* Remove "not working" line

* Show "right-click-to-unbind" text

* Bug fixes

* Add ENABLE_NATIVE_MKB_BETA flag

* Update styling

* Add mention to Yuzu emu

* Pre-calculate mouse's sensitivities in MkbPreset.convert()

* Update translations

* Add donation link

* Update translations

* Add "Map mouse to" setting

* Fix styling

* Bug fixes

* Implement requestPointerLock()

* Hide pointerLock message when StreamMenu is being shown

* Fix bugs in Chrome

* Fix a bug causing Remote Play not working

* Remove "Disable bandwidth checking" feature as it's useless

* Update README.md

* Update styling

* Add URL to document

* Temporary disable the "Controller shortcuts" feature as it conflicts with the MKB feature

* Update translations

* Update README.md
2024-01-04 21:04:27 +07:00
redphx
b73109d9b4
Update README.md 2023-12-29 17:42:36 +07:00
redphx
e3b7365910
Update README.md 2023-12-21 09:04:53 +07:00
redphx
bdfb23257c
Update README.md 2023-12-20 14:40:54 +07:00
redphx
0870065a81 Bump version to 2.1.2 v2.1.2 2023-12-19 18:10:50 +07:00
redphx
e0f0617b12 Update translations 2023-12-19 18:10:30 +07:00
redphx
38623cc086
Fix Remote Play (#188)
* Try to fix remote play not working when not using local network

* Fix Server badge reporting incorrect info

* Refactor remote play requests in window.fetch

* Fix exceptions

* Stop overriding WebSocket class

* Fix not connecting to IPv6 server as expected
2023-12-19 18:08:14 +07:00
redphx
bbce49791f Bump version to 2.1.1 v2.1.1 2023-12-14 17:52:40 +07:00
redphx
d719f0c2b5 Update translations 2023-12-14 17:52:19 +07:00
redphx
622057980d
Update README.md 2023-12-14 17:50:47 +07:00
redphx
24d608bc3e
Redesign Quick Settings sidebar (#186)
* Redesign Quick Settings bar

* Move stream stats settings to quick settings bar

* Add "for" attributes to labels

* Minor optimization

* Stop rendering Toast

* Don't render UI elements when not playing
2023-12-14 17:44:12 +07:00
redphx
f55344b4cb
Update README.md 2023-12-14 09:41:00 +07:00
redphx
6139fb386b
Update README.md 2023-12-14 09:14:37 +07:00
redphx
f7c46c5ef3
Update README.md 2023-12-14 08:03:27 +07:00
redphx
f5b495efa8
Update README.md 2023-12-13 08:33:21 +07:00
redphx
eb4803492e
Update README.md 2023-12-13 08:07:39 +07:00
redphx
47ef7da37b Bump version to 2.1 v2.1 2023-12-12 17:55:41 +07:00
redphx
63896469e2
Update README.md 2023-12-12 17:52:19 +07:00
redphx
4ab265e370
Controller & device vibration (#184)
* Test vibration

* Modify vibration patterns

* Try another vibration patterns

* Update vibration patterns

* Add setting to toggle device vibration

* Disable device vibration based on setting

* Bug fixes

* Test PWM

* Rename GamepadVibration to VibrationManager

* Add setting to toggle controller vibration

* Add vibration intensity setting

* Move Controller settings to the top

* Fix device vibration intensity

* No longer parse "delayMs" and "repeat"

* Fix device vibration intensity

* Disable vibration features on unsupported browsers

* Add "step" property to Vibration intensity slider

* Disable PWA prompt & Stream Gate dialog

* Update translations
2023-12-12 17:37:04 +07:00
redphx
584509a53d Improve IPv6 server detection 2023-12-09 11:09:08 +07:00
redphx
f3b9ebdb22 Bump version to 2.0.5 v2.0.5 2023-12-08 07:43:30 +07:00
redphx
abd1aae57a Add "enableConsoleLogging" patch 2023-12-08 07:35:45 +07:00
redphx
ccdb944b99 Fix the Settings button not showing for some users 2023-12-08 07:23:44 +07:00
redphx
b4149e718b Bump version to 2.0.4 v2.0.4 2023-12-06 20:06:41 +07:00
redphx
7c22685e95
Update README.md 2023-12-05 14:50:32 +07:00
redphx
ad98eb60e1 Only call eval() once per patch group 2023-12-05 06:38:35 +07:00
redphx
049e65429a Fix not applying patches correctly 2023-12-03 16:36:02 +07:00
redphx
a5b77ae8c0 Improve Patcher class 2023-12-03 10:38:10 +07:00