Opened 5 months ago

Last modified 5 months ago

#11980 new defect

GLK engine does not support Russian keyboard layout

Reported by: Oreolek Owned by:
Priority: high Component: Engine: GLK: ZCode
Version: Keywords:
Cc: Game:

Description

GLK engine properly shows Russian text but does not allow switching the keyboard from QWERTY. All games in Russian are unplayable.

Version: ScummVM 2.2.0 (Sep 15 2020)

Example game (z8): https://rinform.org/games/photopia/PhotopiaR.zip

Change History (2)

comment:1 by dreammaster, 5 months ago

Hmm.. the GLK engine simply takes in whatever keypresses are generated by the backend, which for Windows at least uses the SDL backend. So any keyboard switching would have to be done in Windows itself rather than ScummVM. Unless I'm missing something..

in reply to:  1 comment:2 by Oreolek, 5 months ago

I'm on Linux though, forgot to mention. Using XKB:

setxkbmap -layout 'us,ru' -option 'lv3:ralt_switch,grp:caps_toggle,misc:typo,grp_led:scroll,compose:rctrl'

It doesn't honor the settings. And Ctrl+Shift, Shift+Shift, Alt+Shift, Alt+Space switches don't work either.

UPD: it doesn't work on windows either, it uses keypresses, not keyboard layout.

Last edited 5 months ago by Oreolek (previous) (diff)
Note: See TracTickets for help on using tickets.