msx80 / BareMetalTic80

Port of TIC80 to bare metal Raspberry Pi
GNU General Public License v3.0
32 stars 0 forks source link

change keyboard layout #2

Open farvardin opened 5 years ago

farvardin commented 5 years ago

is it possible to change the keyboard layout?

I have an azerty keyboard, but I'm getting qwerty input.

msx80 commented 5 years ago

uhm i'm not sure about this one. I don't think TIC80 has any keyboard layout logic, so it must be circle. i'll see if i can make it at least optional

msx80 commented 5 years ago

Hi, just had a looks, could you try this: create a cmdline.txt on the root and write a single line as follow:

keymap=FR

Supported layout should be "DE", "ES", "FR", "IT", "UK" or "US".

Let me know if this fixes the issue!

farvardin commented 5 years ago

it should work with Linux, but it looks like TIC-80 is handling this differently. I remember about this issue now, layout is hardcoded into the application: https://github.com/nesbox/TIC-80/issues/747

Maybe we just can wait until the TIC-80 developper find a workaround. I suppose a command to change the layout would be the best to implement.