jsbeeb icon indicating copy to clipboard operation
jsbeeb copied to clipboard

Natural Keyboard not working for European Keyboards

Open DaveJeffery opened this issue 9 years ago • 3 comments

The Natural Keyboard setting does not work with European Keyboards at present. For instance, on a Hungarian keyboard we have É, Á and Ű to the right of the capital letter L, all of which are invisible to jsbeeb. This results in it being impossible to use the classic Z, X, *, ? layout for BBC games.

Even if in my OS (Manjaro KDE in my case) I change my keyboard setting to GB or US layout, the É, Á and Ű keys are still completely invisible to jsbeeb. B-Em for Linux allows you to define your own keyboard mapping which solves the problem.

DaveJeffery avatar Aug 31 '16 06:08 DaveJeffery

What codes do you get for the missing keys here? https://jsfiddle.net/SpYk3/NePCm/

Please try as many browsers as possible

murkle avatar Aug 31 '16 07:08 murkle

Many thanks for your reply - it's very kind of you to look into this.

So far I've tried Firefox on Windows: é = 233, í = 237, ö = 246, á = 225, ó = 243, ű (u double acute) = 369, ü = 252, ő (o double acute) = 337 É = 201, Í = 205, Ö = 214, Á = 193, Ó = 211, Ű (U double acute) = 368, Ü = 220, Ő (O double acute) = 336 I get identical results with Firefox KDE on Manjaro. Later today I'll try Chrome and IE on Windows.

DaveJeffery avatar Aug 31 '16 10:08 DaveJeffery

Did you get a chance to try Chrome / IE?

Possibly relevant, quite comprehensive investigation of keyboard codes: https://github.com/Microsoft/vscode/issues/17521

murkle avatar Mar 24 '17 17:03 murkle