vircadia-native-core icon indicating copy to clipboard operation
vircadia-native-core copied to clipboard

Avatar can only be operated with English keyboard. Switching to other languages leads to the loss of control over the movement of the avatar.

Open MikeBrother opened this issue 4 years ago • 4 comments

When you change language on keyboard (Alt+Shift for Windows) avatar cant be controlled. User can control his avatar only with English keyboard language. Tested languages: Hebrew, Russian, Greek. Detail: When Hebrew language is active on keyboard user press W button and avatar plays T-pose animation. Other buttons (ASD) are dead with Hebrew language.

MikeBrother avatar Dec 19 '21 20:12 MikeBrother

Dale reproduced this on Linux with Russian keyboard layout.

JulianGro avatar Dec 26 '21 19:12 JulianGro

Some things that are relevant:

  • Controllr.Hardware.Keyboard: https://apidocs.vircadia.dev/Controller.html#.Hardware-Keyboard
  • keyboardMouse.json: https://github.com/vircadia/vircadia/blob/master/interface/resources/controllers/keyboardMouse.json

ctrlaltdavid avatar Dec 26 '21 20:12 ctrlaltdavid

Seems like this is a well known issue in Qt with a recent workaround (includes detailed history of the problem). Alternatively we can use SDL2, which is made for games and has had layout independent key codes since forever.

namark avatar Jan 24 '22 22:01 namark

Hello! Is this still an issue?

stale[bot] avatar Jul 23 '22 23:07 stale[bot]