Sunshine icon indicating copy to clipboard operation
Sunshine copied to clipboard

My Keyboard change to an other Layout

Open LeChatNoir666 opened this issue 2 years ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Is your issue described in the documentation?

  • [X] I have read the documentation

Describe the Bug

If I connect to my Desktop-PC my Keyboard changed from German to somewhat US-like, so Z becomes Y. I searched the options of the Moonlight client and in the Web-UI of Sunshine but didn't found an option for this. The Windows keyboard layout didn't changed so I wonder about this behavior.

Expected Behavior

Letting my keyboard layout untouched.

Additional Context

No response

Host Operating System

Windows

Operating System Version

10

Architecture

64 bit

Sunshine commit or version

0.15.0

Package

Windows - portable

GPU Type

No response

GPU Model

Radeon 580

GPU Driver/Mesa Version

22.5.1

Capture Method (Linux Only)

No response

Relevant log output

No response

LeChatNoir666 avatar Nov 11 '22 11:11 LeChatNoir666

You can do this until this bug is fixed : https://github.com/loki-47-6F-64/sunshine/issues/82

ld892012 avatar Dec 27 '22 13:12 ld892012

Hi, I'm on Sunshine 0.18 and my keyboard input (swiss french layout on client & host) is still messed up in a very strange way: Some keys (shift + digit) are fine, whereas others are mixed up (e.g. 'é' is to the right of 'L', but via moonlight&sunshine it arrives on the host as 'è') or broken in the classical qwertz vs qwerty way where a 'z' becomes a 'y'. Entering passwords is fun ;-)

Should I file a new issue?

The behavior that I described above is the one I'm observing right now on sunshine 0.18 windows with moonlight 4.3.1 windows. (I could also check with moonlight-embedded on RPi4. If it's deemed useful I may also set up sunshine/moonlight on my main non-gaming desktop, which is running Ubuntu.)

gschintgen avatar Feb 04 '23 20:02 gschintgen

Hmm, nevermind. Just now I was in the process of properly reproducing it (1st checking that it's fine on GFE, installing sunshine nightly, etc.) only to find that it's now working properly. It must have been some kind of fluke that probably could have been resolved by a reboot.

gschintgen avatar Feb 06 '23 19:02 gschintgen

For reference: https://github.com/LizardByte/Sunshine/discussions/989#discussioncomment-8355575

FlorianWolters avatar Feb 03 '24 15:02 FlorianWolters

Did anyone find a fully working solution for a German QWERTZ keyboard to use correct key mappings with Sunshine, Windows 11 and Moonlight Android Client (NVIDIA Shield TV Pro 2019)?

I have tried deactivation of "send scancodes" (which breaks ingame experience completely). I have also tried to use keybindings, but was not able yet to create a fully working mapping. While the following does fix some keys, a lot keys (normal press and in combination with ALT GR and SHIFT) are still incorrect.

This is the only mayor annoyance I do currently have with Sunshine, otherwise this software is awesome.

Here are my incomplete keybindings trying to fix German QWERTZ keyboard:

keybindings = [
    0xbd, 0xdb,
    0xbb, 0xdd,
    0x59, 0x5a,
    0xdb, 0xba,
    0xdd, 0xbb,
    0xba, 0xc0,
    0xc0, 0xdc,
    0xdc, 0xbf,
    0x5a, 0x59,
    0xbf, 0xbd
]

FlorianWolters avatar Feb 05 '24 21:02 FlorianWolters

I have just noticed that Sunshine does not use a QWERTY US keyboard on my system (that's what I thought until now), but does something pretty weird. It only messes up some particular keys. So far I noticed the following, which is incorrect on my German QWERTZ keyboard:

  • Y and Z are swapped.
  • ?ß\ and -_ are swapped.
  • <>| is mapped to `´`` (i.e. the later is placed on two keys)

This is pretty weird, but at least I do have a hint what I've to try to replace via the keybindings settings. This looks like a bug to me, should I report a new issue?

FlorianWolters avatar Feb 05 '24 21:02 FlorianWolters

Found a solution for the keyboard problem?

Nexus-505 avatar Jun 16 '24 10:06 Nexus-505

Found a solution for the keyboard problem?

This is an old issue and has been completed for a reason. I think it's best to file a new and detailed report.

gschintgen avatar Jun 16 '24 10:06 gschintgen