moonlight-android icon indicating copy to clipboard operation
moonlight-android copied to clipboard

[Issue]: Pressing the win key on an external keyboard does not work

Open Tridays opened this issue 2 years ago • 2 comments

Describe the bug

May I ask if I have turned on Sunshine on my computer and then connected to my computer using Moonlight on my tablet, but how can I make the win key (actually the key code is the meta_left key) of the keyboard work properly? I know Sunshine provides Alt_ The right key replaces the win key, but it cannot use a combination of win keys.

2f69cf599a503277a1d3c7b1c29726f

It's not that Android ate the win key, but rather that the Moonlight software itself didn't listen to it (I tried changing Moonlight's code), so no matter how you press the win key, Moonlight won't transfer the win key. But I found a software that can listen to this win key, unfortunately I don't know how it works. You can refer to it and perhaps implement this function for Moonlight. Software: https://github.com/keymapperorg/KeyMapper

2eef61fda64554e8fb4f0449f52bd52

#The important point is that this seems to be unrelated to the computer and Sunshine, but rather the Moonlight software itself did not listen to this win key

Steps to reproduce

  1. Turn on Sunshine on the computer.
  2. Connect the Android tablet to an external keyboard (Bluetooth or wired).
  3. Connect to the computer using Android tablet moonlight.
  4. During the process of controlling the computer, pressing the win key does not respond and the computer cannot use the combination keys of win.

Affected games

none

Other Moonlight clients

PC

Moonlight adjusted settings

Yes

Moonlight adjusted settings (please complete the following information)

none

Moonlight default settings

Yes

Gamepad-related connection issue

Yes

Gamepad-related input issue

Yes

Gamepad-related streaming issue

Yes

Android version

Android 10~12

Device model

null

Server PC OS version

window 11 22H2

Server PC GeForce Experience version

sunshine 0.2

Server PC Nvidia GPU driver version

537.13

Server PC antivirus and firewall software

No antivirus software installed, firewall is turned off

Screenshots

No response

Relevant log output

No response

Additional context

No response

Tridays avatar Sep 24 '23 02:09 Tridays

Yeh this bug works same with space key also

ishroin avatar Sep 28 '23 16:09 ishroin