Commit Graph
1227 Commits
Author SHA1 Message Date
Cameron Gutman ddb674a9b9 Add support for Android 16.1 keyboard capture
Fixes #975
Fixes #1281
Fixes #1505
2026-09-01 21:20:38 -05:00
Cameron Gutman abde6021e8 Fix crashes and ANRs in controller LED handling 2026-09-01 21:15:51 -05:00
Cameron Gutman ad8614907c Suppress Lint warnings for using newer constants 2026-09-01 21:15:38 -05:00
Cameron Gutman 8974dcda6e Add support for newer keycodes from Android 15 and 16 2026-09-01 21:08:42 -05:00
Cameron Gutman 6d4c64a575 Disable producer throttling on the video surface 2026-09-01 21:02:04 -05:00
Cameron Gutman 68adf9ecc9 Disable H.264 constraint and level_idc modifications on Oreo and later 2026-09-01 21:01:41 -05:00
Cameron Gutman 3df0103a8c Remove unused code paths for < API 21 2026-09-01 20:58:38 -05:00
Cameron Gutman 8d720748c1 Fix Lint error 2026-09-01 20:56:50 -05:00
Etienne Haarsma 280454fdb0 Added Xbox Series S/X controller to Xbox One controller driver (#1478) 2026-09-01 01:22:57 -05:00
Ivan Vojtko 0711e236c0 Update UI helper to not fail on Meta Quest devices (#1516) 2026-09-01 01:22:42 -05:00
Dave Lane b9c5edddef Fix missing shift modifier for plus key (#1582) 2026-09-01 01:21:36 -05:00
T2Fat2Fly 3c6a0d12f5 Fix rumble not working due to deprecated API call (#1454) 2026-09-01 01:20:34 -05:00
vhenzor 583f662a87 Add Vendor 8BitDo to XboxOneController (#1461)
Some new 8BitDo controller or adapter are now detected as XboxOne controller instead of Xbox360 controller in XInput mode like the 8BitDo Ultimate-3-mode (https://www.8bitdo.com/ultimate-3-mode-controller-xbox/).

Like commit #1333 (https://github.com/moonlight-stream/moonlight-android/pull/1333/commits), adding 8BitDo's Vendor ID to SUPPORTED_VENDORS improve compatibility and enable rumble for supported controller.
2026-09-01 01:19:35 -05:00
Cameron Gutman 0dc4c4fe67 Update moonlight-common-c 2026-09-01 00:38:37 -05:00
ReenigneArcher b7b6adaff7 feat(activity): allow PC Name and AppName for ShortcutTrampoline (#1387) 2024-07-27 16:23:23 -05:00
Matheus VargemandReenigneArcher 85ed72802f feat: Add Guide menu to on-screen virtual controller (#1265)
* Add `Guide Button` to OSC controller

In order to allow the `Guide Button` to be pressed without a physical gamepad, add the button to the On-screen virtual controller

Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2024-07-27 16:21:17 -05:00
Cameron Gutman 17df15293f Drop support for Jelly Bean and KitKat
NDK support for these is already gone
2024-03-17 17:43:42 -05:00
komurlu 6551076613 Add Vendor 8BitDo to Xbox360Controller (#1333)
8BitDo Ultimate Bluetooth Controller was not being recognized in XInput mode when using the dongle.
Adding 8BitDo's Vendor ID to SUPPORTED_VENDORS seems to fix it.
2024-02-27 22:49:33 -06:00
Cameron Gutman 082cc84a71 Remove sustained performance mode
Our CPU usage is so low that it's doubtful we'd ever trigger thermal throttling.
2024-02-17 19:16:35 -06:00
Cameron Gutman fcd27b48b2 Eat all exceptions from attempting to start ACTION_REQUEST_CHANNEL_BROWSABLE
Fixes #1302
2024-01-19 20:59:56 -06:00
Alek Lefebvre dbf1b88a3d Adjust emulated rumble strength (#1288) 2024-01-19 19:12:21 -06:00
joaomacp 3aab9eb13b Analog stick for scrolling in mouse emulation mode 2024-01-15 15:45:00 -06:00
Cameron Gutman f7520ba40c Move encryption enablement logic into JNI code 2024-01-15 14:59:01 -06:00
Cameron Gutman 7b13f12817 Update moonlight-common-c with new encryption support 2024-01-15 14:54:59 -06:00
Guillaume Zin 4330a223c6 Handle start+select as home button on Thrustmaster Score A gamepad (#1299) 2023-12-31 14:13:22 -06:00
Cameron Gutman 69387c32ad Display error codes when the connection is terminated 2023-12-30 21:14:22 -06:00
Cameron Gutman a102ec4ee8 Fix inverted logic 2023-12-30 20:35:00 -06:00
Cameron Gutman 2a094437dd Don't override HDR color format for AV1 2023-12-30 20:33:31 -06:00
Cameron Gutman 4142907376 Don't consume special key combos that we don't handle 2023-12-30 19:50:36 -06:00
Cameron Gutman e63dc9a93b Suppress bogus UnspecifiedRegisterReceiverFlag warning 2023-12-29 23:55:30 -06:00
Cameron Gutman a18aa26985 Update moonlight-common-c to remove per-codec bitrate adjustments 2023-12-03 22:20:30 -06:00
Cameron Gutman 5443cc014a Add support for ECDSA server keys 2023-11-29 22:37:12 -06:00
Cameron Gutman 7d77e1c1f2 Don't hardcode signature length 2023-11-29 22:32:00 -06:00
Cameron Gutman ca82cd9752 Use generic PrivateKey type rather than RSAPrivateKey 2023-11-29 22:20:50 -06:00
Cameron Gutman c356862ac1 Avoid unnecessary reinitialization of PS4/PS5 gamepads during stream exit
onInputDeviceChanged() is triggered by starting/stopping pointer capture, so we should
unregister our callbacks before that happens to avoid triggering several gamepad context
reinitializations right as the stream is exiting
2023-10-29 16:45:07 -05:00
Cameron Gutman 0da47da8d8 Move shortcut creation/updates off the main thread for the common cases
These caused quite a few ANRs due to long Binder calls in ShortcutManager.getDynamicShortcuts()
2023-10-26 00:24:44 -05:00
Cameron Gutman ebfe843299 Don't process incoming input device requests from the host after we've stopped 2023-10-26 00:05:24 -05:00
Cameron Gutman 827d2362b7 Don't create LightsSessions for devices without an RGB LED 2023-10-25 23:53:35 -05:00
Cameron Gutman 4fa1eb4088 Fix max FPS detection on Lollipop and earlier 2023-10-25 23:47:40 -05:00
Cameron Gutman 885b59fd52 Fix NPE when receiving non-view-associated mouse events with absolute mouse mode enabled 2023-10-25 23:13:54 -05:00
Cameron Gutman ff5d9f72aa Fix ANRs trying to get battery state during controller arrival 2023-10-25 23:13:11 -05:00
Cameron Gutman d430d83ba8 Add clickpad button emulation combo (Select+L1) 2023-10-16 23:56:56 -05:00
Cameron Gutman dc1045b69e Don't lie to our own clickpad heuristics when overriding the controller type 2023-10-16 23:38:12 -05:00
Cameron Gutman d69b4eca1e Disable gamepad motion sensors by default on Android 12 due to an OS bug 2023-10-16 23:16:55 -05:00
Cameron Gutman 720595091e Change AV1 bitrate multiplier to match HEVC 2023-10-15 12:49:42 -05:00
Cameron Gutman 9ecec1eb3c Add support for H.264/HEVC bitstreams with multiple sets of parameter set NALUs 2023-10-13 23:21:50 -05:00
Cameron Gutman 9915007f30 Check for a null UsbManager object
Apparently this can happen on some (broken?) devices
2023-10-12 00:22:28 -05:00
Cameron Gutman 0168a55596 Propagate the controller number to the standalone DS4 touchpad device 2023-10-07 23:26:26 -05:00
Cameron Gutman 229eff49fb Consume unhandled gamepad mouse events to prevent duplicate mouse actions 2023-10-07 23:04:36 -05:00
Cameron Gutman 0e3b472f78 Fix DS4 clickpad button on devices that expose the touchpad as a mouse 2023-10-07 22:58:07 -05:00