ALTGR not working under Windows and a question about ALT Codes in console.

Page 2/3
1 | | 3

By DRomero

Expert (87)

DRomero's picture

03-02-2019, 23:43

Well, thanks for the help but nothing worked whith the annoying Kana & AltGr keys.

I have tried the Autohotkey external program but it only worked on the console, no way to send the keys or type text directly on the MSX screen.

Also, Ctrl+Left Alt dosen't work like AltGr on a spanih keyboard in OpenMSX.

I have tried Key & Character modes, in one mode some keys are accesables but not the rest, and viceversa. Impossible to get acces to @, #, ^, ~, [, ] , ` and the Yen symbols at the same time.

Im seriusly considering buying an US keyboard only for OpenMSX. I love openMSX and appreciate your work but this problem has been on the Windows version since ever, and is quite annoying.

Regards.

By hit9918

Prophet (2832)

hit9918's picture

04-02-2019, 05:04

this program shows how the CTRL key is going. and a second one which I dont know. but one is the same as pressing CTRL.

5 cls
10 for i = 0 to 15
20 out(&haa),(inp(&haa) and &hf0) or i
25 a = inp(&ha9) and inp(&ha9)
30 ?i;right$("0000000"+bin$(a),8);i
40 next
50 locate 0,0 : goto 10

By NYYRIKKI

Enlighted (5199)

NYYRIKKI's picture

04-02-2019, 05:36

hit9918 wrote:

25 a = inp(&ha9) and inp(&ha9)

Due to interrupts you can't do it like that... The interrupts may change the content of I/O &haa before these commands are executed. Better way:

5 cls
10 for i = 0 to 10
20 a = peek (&hfbe5+i)
30 ?i;right$("0000000"+bin$(a),8);i
40 next
50 locate 0,0 : goto 10

By DRomero

Expert (87)

DRomero's picture

11-02-2019, 18:06

Finally i have solved all my keyboard problems.

I have purchased a cheap USB Qwerty english USA keyboard and now i'm able to type all symbols in openMSX Japanese machines under Windows!!!

No more Kana and AltGr nightmares, finally i can type `, ~, #, @, ^, {, }, [, ], <, >, | and ¥ at the same time in the same keyboard layout without hacks, without macros and without very limited keybinds, all works out of the box!

This is like a dream, after many years... seriously, almost crying here... hehehe.

Seriously, you guys should give NOT USA keyboard layouts A LOT more love. This is like night and day experience.

Perfect!!

Nightmare!!

Regards. :RNFF:

By DRomero

Expert (87)

DRomero's picture

11-02-2019, 18:08

ops sorry, i was trying to upload some images but links didnt work, and i cant edit my own post... whathever Running Naked in a Field of Flowers

By Grauw

Enlighted (7893)

Grauw's picture

11-02-2019, 18:53

DRomero wrote:

Finally i have solved all my keyboard problems.

I have purchased a cheap USB Qwerty english USA keyboard and now i'm able to type all symbols in openMSX Japanese machines under Windows!!!

No more Kana and AltGr nightmares, finally i can type `, ~, #, @, ^, {, }, [, ], <, >, | and ¥ at the same time in the same keyboard layout without hacks, without macros and without very limited keybinds, all works out of the box!

This is like a dream, after many years... seriously, almost crying here... hehehe.

Seriously, you guys should give NOT USA keyboard layouts A LOT more love. This is like night and day experience.

Perfect!!

Nightmare!!

By DRomero

Expert (87)

DRomero's picture

11-02-2019, 18:55

Thanks for correcting the links Grauw Smile

By Manuel

Ascended (15190)

Manuel's picture

11-02-2019, 21:17

Could you try the latest openMSX development version with that non-US QWERTY keyboard? Just to see whether it works better. There have been some fixes.

By DRomero

Expert (87)

DRomero's picture

11-02-2019, 23:20

The hardcoded/duplicated Kana bug is now corrected in the latest development build, thanks Manuel, no more duplicate Kanas...

AltGr still do nothing coherent to type common characters like |, @, [, ], {, }, Yen, etcetera, at least in QWERTY spanish layout, don't sure about other layouts.

AltGr works perfect in the console, it has the intended function, but not in the emulator.

Anyway, thanks for your help, and for such great emulator.

By Manuel

Ascended (15190)

Manuel's picture

11-02-2019, 23:43

Thanks for trying it!
Wouter said in the commit message that it (Alt-Gr) works for him now on an AZERTY keyboard... probably that's under Linux.

Page 2/3
1 | | 3
My MSX profile