Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue]: Some keys are wrong on German keylayout #71

Open
makedir opened this issue Dec 5, 2024 · 4 comments
Open

[Issue]: Some keys are wrong on German keylayout #71

makedir opened this issue Dec 5, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@makedir
Copy link

makedir commented Dec 5, 2024

Describe the bug

Some keys are wrong on German QWERTZ keylayout. For example the key #' does not work and gives some random other key. I use the option "force QWERTY" in Artemis. Not sure why that option needs to be enabled, when I use it, Z and Y are also flipped.

Steps to reproduce

Affected games

No response

Other Moonlight clients

None

Moonlight adjusted settings

None

Moonlight adjusted settings (please complete the following information)

No response

Moonlight default settings

Yes

Gamepad-related connection issue

Yes

Gamepad-related input issue

Yes

Gamepad-related streaming issue

Yes

Android version

Andrid 15

Device model

Oneplus Pad 2

Server PC OS version

Windows 11 24h2

Server PC GeForce Experience version

No response

Server PC Nvidia GPU driver version

No response

Server PC antivirus and firewall software

No response

Screenshots

No response

Relevant log output

No response

Additional context

No response

@makedir makedir added the bug Something isn't working label Dec 5, 2024
@ClassicOldSong
Copy link
Owner

This is a complicated issue. The best way to solve this problem might be enabling force QWERTY and configure keyboard layout on your host machine, or disable custom layout on your host and disable force qwerty on the client.

@Prankalanka
Copy link

I had a similar issue using a Chromebook client and a UK keyboard where the backslash key would always output hashtag even though I already had a dedicated hashtag key. This happened with or without the 'Force QWERTY' option. I could still get backslash using right alt + the backslash key that was hashtag on Artemis and Moonlight.

This seems to be a Sunshine/Apollo (I haven't tried it on Apollo, I can't use it since I use Duo) problem. In the input section of the Sunshine web client (or the equivalent for Apollo), the 'Always Send Scancodes' option has the description: "Sending scancodes enhances compatibility with games and apps but may result in incorrect keyboard input from certain clients that aren't using a US English keyboard layout. Enable if keyboard input is not working at all in certain applications. Disable if keys on the client are generating the wrong input on the host."

Disabling it worked for me.

@ClassicOldSong
Copy link
Owner

It's not a problem of either applications. It's the complexity of software layouts that translates scan codes into key codes, then back to scan codes, then key codes again. Any part of the process that used the wrong layout would result in a massive unpredictable mismatch in key mapping which is impossible to solve.

To add to the complexity, Android/Windows/macOS/Linux all have different keycode values for a same key...

@Prankalanka
Copy link

That's nice to know, makes it cooler that these things normally work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants