pdewacht / oberon-risc-emu

Emulator for the Oberon RISC machine
273 stars 51 forks source link

Keyboard layout question #10

Closed ghost closed 5 years ago

ghost commented 5 years ago

Is it possible to alter the layout for the emulator? It seems that the emulator has a hardcoded layout. It seems to not only ignore the OS layout, but the hardware layout too. I have an ISO keyboard and it assumes ANSI. My OS layout is Dvorak also, which is similarly ignored.

How difficult would it be to alter this behaviour?

pdewacht commented 5 years ago

This version of the Oberon system only supports QWERTY keyboard layout. To change that, you'd need to change the big table in Input.Mod and then recompile that module.

The emulator doesn't attempt to handle keyboard layout differences. It just passes the keyboard scancodes uninterpreted to the Oberon system. (Scancodes identify which key on a keyboard was pressed, they don't depend on the keyboard layout).

ghost commented 5 years ago

Cool, thank you! :)