56 Commits

Author SHA1 Message Date
redphx
153873e034 Reduce Virtual Controller's input latency 2025-01-08 21:16:07 +07:00
redphx
e4dbdea9a5 await requestPointerLock 2025-01-03 20:43:21 +07:00
redphx
e109cdec6a Attempt to fix problem with unadjustedMovement (#628) 2024-12-31 06:52:50 +07:00
redphx
c8142e5079 Cleanup 2024-12-28 20:36:34 +07:00
redphx
116640eb32 Fix not releasing pointer lock after quitting the game 2024-12-28 17:04:17 +07:00
redphx
54e28ce350 Fix mouse wheel bug (contd) 2024-12-28 17:04:01 +07:00
redphx
e585264e8c Fix mouse wheel bug (#600) 2024-12-28 16:33:10 +07:00
redphx
6a133186b8 Check MKB's protocol version 2024-12-28 16:32:52 +07:00
redphx
03b7c7358e Optimize CE() 2024-12-23 05:55:11 +07:00
redphx
7b60ba3a3e Controller customization feature 2024-12-22 17:17:03 +07:00
redphx
1db7d4f8d7 Set unadjustedMovement for MKB 2024-12-12 21:37:41 +07:00
redphx
4ffc034076 Rename EventBus events 2024-12-08 21:57:29 +07:00
redphx
741bc9a4e5 Rename EventBus to BxEventBus 2024-12-08 20:09:12 +07:00
redphx
79ebb1a817
EventBus (#590)
* Replace BxEvent.TITLE_INFO_READY with Event Bus

* Migrate more events

* Migrate stream events to event bus

* Migrate preset events

* Migrate more

* Fix dispatching "input" event twice in Number Stepper
2024-12-08 17:55:44 +07:00
redphx
3864457a07 Fix applying "disableAbsoluteMouse" patch in the wrong place 2024-12-08 07:08:15 +07:00
redphx
4011eb402a Linting 2024-12-07 16:48:58 +07:00
redphx
9199351af1 6.0 2024-12-05 17:10:39 +07:00
redphx
6440c91cdf Fix Virtual Controller Remapper's bug 2024-10-23 20:00:27 +07:00
redphx
de76364a46 Optimize + refactor code 2024-10-21 20:50:12 +07:00
redphx
927eae3f2f Refactor getInstance() methods 2024-10-14 16:56:05 +07:00
redphx
e4d73f9e36 Replace "#" with "private" 2024-10-13 10:51:50 +07:00
redphx
9007663a3a Lite: remove NativeMkbHandler code in built script 2024-10-01 17:47:01 +07:00
redphx
8f6bc5cb1b Detach VIRTUAL_GAMEPAD_ID from EmulatedMkbHandler 2024-10-01 17:22:33 +07:00
redphx
a6e358479a Integrate TrueAchievements 2024-09-03 16:56:58 +07:00
redphx
9dfdeb8f12 Merge Global settings and Stream settings into one dialog 2024-07-27 16:09:13 +07:00
redphx
c1502b5552 Prepare for webOS & Tizen support 2024-07-01 17:26:04 +07:00
redphx
f169c17e18 Add WebGL2 renderer 2024-06-21 17:45:43 +07:00
redphx
6f6a9e223e Show WS error in toast 2024-06-10 08:57:07 +07:00
redphx
a3a7a57b51 Get PointerServer's port from the app 2024-06-09 11:41:00 +07:00
redphx
eb8490a798 Add native MKB support for Android app 2024-06-08 17:04:49 +07:00
redphx
ba07e0498e Fix disabling the MKB dialog not making it go away 2024-06-01 18:23:00 +07:00
redphx
5e43915ff7 Add a Disable button in the MKB dialog 2024-05-30 17:22:06 +07:00
redphx
0f48cb891f Support emulated MKB in Android app
commit ad365d4ee854971122f0e8cb9157ed44b3aac0d8
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Wed May 29 17:19:57 2024 +0700

    Fix not able to reconnect to WebSocket server when switching game

commit ca9369318d4cbb831650e8ca631e7997dc7706cb
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Wed May 29 17:19:23 2024 +0700

    Stop emulated MKB when losing pointer capture

commit 8cca1a0554c46b8f61455e79d5b16f1dff9a8014
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Wed May 29 17:17:42 2024 +0700

    Allow fine-tuning maximum video bitrate

commit 763d414d560d9d2aa6710fd60e3f80bf43a534d6
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Wed May 29 08:13:56 2024 +0700

    Update mouse settings

commit d65c5ab4e4a33ed8ad13acf0a15c4bb5ace870eb
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Wed May 29 08:10:49 2024 +0700

    Increase MKB dialog's bg opacity

commit 3e72f2ad2700737c8148ef47629528954a606578
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Wed May 29 08:02:57 2024 +0700

    Show/hide MKB dialog properly

commit e7786f36508e3aa843604d9886861930bada5d60
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Wed May 29 07:47:21 2024 +0700

    Fix connecting to WebSocket server when it's not ready

commit 512d8c227a057e5c0399bf128bc1c52a88fcf853
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Wed May 29 07:18:06 2024 +0700

    Fix arrow keys not working in Android app

commit 0ce90f47f37d057d5a4fab0003e2bec8960d1eee
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Tue May 28 17:36:56 2024 +0700

    Set mouse's default sensitivities to 50

commit 16eb48660dd44497e16ca22343a880d9a2e53a30
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Tue May 28 17:33:37 2024 +0700

    Allow emulated MKB feature in Android app

commit c3d0e64f8502e19cd4f167fea4cdbdfc2e14b65e
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Tue May 28 17:32:49 2024 +0700

    Remove stick decay settings

commit d289d2a0dea61a440c1bc6b9392920b8e6ab6298
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Tue May 28 17:21:39 2024 +0700

    Remove stick decaying feature

commit 76bd001d98bac53f757f4ae793b2850aad055007
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Tue May 28 17:21:14 2024 +0700

    Update data structure

commit c5d3c87da9e6624ebefb288f6d7c8d06dc00916b
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Tue May 28 08:14:27 2024 +0700

    Fix not toggling the MKB feature correctly

commit 9615535cf0e4d4372e201aefb6f1231ddbc22536
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Mon May 27 20:51:57 2024 +0700

    Handle mouse data from the app
2024-05-29 17:28:39 +07:00
redphx
9166761780 Rename "Quick Bar" to "Stream Settings dialog" 2024-05-26 11:42:19 +07:00
redphx
07c1757237 Squashed commit of the following:
commit 2faed50e5c2165647e389d794de673038d56241e
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Fri May 24 18:09:25 2024 +0700

    Make shortcuts work with controller

commit b8f6c503ba7969de3a232644d3f6b53532a4b7bb
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Fri May 24 17:01:15 2024 +0700

    Update translations

commit 6f6c0899e5a09cd5534e06a9e272bf78c74536dc
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Fri May 24 17:00:50 2024 +0700

    Preload PrompFont

commit 1bf0f2b9dae77890d35091bed970b942c4d61fbc
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Fri May 24 07:08:05 2024 +0700

    Render Controller shortcuts settings

commit 2f24965c73a941be2ebc8a3509dc540a47b4e38d
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Thu May 23 17:21:55 2024 +0700

    Fix not able to capture screenshot after switching games

commit 6ac791e2dfb17215ee82d449047d0cd11d185c42
Author: redphx <96280+redphx@users.noreply.github.com>
Date:   Thu May 23 17:11:19 2024 +0700

    Hijack the Home button
2024-05-24 18:10:38 +07:00
redphx
423b171964 Improve emulated mouse's responsiveness 2024-05-18 19:54:43 +07:00
redphx
c7dfacf5c4 Update default MKB preset 2024-05-18 16:06:02 +07:00
redphx
aba9340e91 Fix HTML issues 2024-05-17 17:24:10 +07:00
redphx
26bf14eda6 Show custom touch layout's author name in toast message 2024-05-08 17:04:14 +07:00
redphx
3670946da4 Refactor BxIcon 2024-05-03 17:27:13 +07:00
redphx
06c6b8c5af Simplify import paths again 2024-05-01 22:14:28 +07:00
redphx
0114108bdf Simplify import paths 2024-05-01 22:01:39 +07:00
redphx
006e21f477 Replace DualEnum with normal enum 2024-05-01 21:36:17 +07:00
redphx
edc8991a6a Create BxLogger to show colored logs 2024-04-30 18:52:56 +07:00
redphx
a546b921f4 Fix double inputs when using emulated MKB with Remote Play 2024-04-29 11:40:26 +07:00
redphx
99aec0a60c Don't emulate MKB in native MKB supported games 2024-04-29 11:00:47 +07:00
redphx
fbaf958b02 Fix binding mouse scrolls as clicks 2024-04-28 10:46:02 +07:00
redphx
18f50e6a20 Move preferences.ts & settings.ts to utils/ 2024-04-27 15:23:49 +07:00
redphx
dcb4f7471f Fix NumberStepper not working properly in MKB remapper 2024-04-27 15:11:15 +07:00
redphx
1753a2d525 Move modules/translations.ts to utils/translations.ts 2024-04-27 10:12:34 +07:00