[Feature request]: More functions in mouse emulation mode
Is your feature request related to a problem? Please describe.
I currently use Moonlight on an Android TV and would like to have more functions available in mouse mode, this way I won't need to resort to the mouse/keyboard.
Describe the solution you'd like
My suggestion would be to add more useful keyboard functions that are normally default in games and emulators.
Describe alternatives you've considered
Making something fully customizable is a dream, but since it's complex, here are some suggestions to make it standard:
Buttons <> Mapped keys A <> Mouse1 B <> Mouse2 X <> ENTER Y <> ESC LT <> ALT RT <> TAB LB <> F11 RB <> Mouse3 L3 <> SPACE R3 <> CONTROL Select <> Windows Key DPAD <> Arrows Right Stick <> Mouse Scroll
Screenshots
No response
Alt + enter would bei great to. Especialy when playing Emulator i often can Not leave fullscreen without keyboard. This Feature would bei great
@sevenleo I created a fork where some of your sugesstions are working:
https://github.com/moonlight-stream/moonlight-android/compare/master...mstrewe:moonlight-android--1443:master
I use this with my NVidia shield
In case it helps anyone here: I put together a Steam-desktop-style mouse mode for the Artemide fork (derflacco/moonlight-android) that covers a lot of this: right stick = mouse, R2/L2 = clicks, D-pad / left stick = arrows, A/B/X/Y = Enter/Space/PgUp/PgDn, Start = Esc, Select = Tab, LB/RB = Ctrl/Alt, Guide+X = on-screen keyboard hotkey, plus a mouse speed setting and controller navigation in the stream menu.
- Ready-to-install APKs: https://github.com/ThrowStuff/moonlight-android/releases/tag/artemide-steam-mouse-2
- Code (offered upstream, free to reuse here or anywhere, GPL-3.0): https://github.com/derflacco/moonlight-android/pull/42
It's built on the Artemide branch rather than upstream Moonlight, so it wouldn't apply directly here, but the mapping logic is self-contained in ControllerHandler (updateDesktopInput) if a maintainer wants to borrow it. Not trying to start another fork, just sharing.