riksweeney / edgar

A 2D platform game with a persistent world. When Edgar's father fails to return home after venturing out one dark and stormy night, Edgar fears the worst: he has been captured by the evil sorcerer who lives in a fortress beyond the forbidden swamp.
https://www.parallelrealities.co.uk/games/edgar
120 stars 28 forks source link

wrong key assignment #6

Open schnaggi opened 8 years ago

schnaggi commented 8 years ago

Hi,

is it possible to fix the wrong key assignment for keyboards with qwertzuiop layout? Althought "z" is selected in options, I have to press "y" to open inventory.

riksweeney commented 8 years ago

I'll have a look and see if I can figure out how to solve this. The game allows you to reconfigure the controls, so maybe this will help you in the meantime?

To reconfigure a key, press Escape to bring up the menu, select Options, then Configure Controls. Use the up and down arrow keys to highlight the control you want to change and press Return. Next, press the key you want to assign to that control. If you want to cancel the change, press Escape.

schnaggi commented 8 years ago

Yes, I already reconfigured it. This is just a bug report.

o11c commented 8 years ago

This is probably caused by scancode/keysym/keychar confusion. In my experience, SDL2 makes it harder to do the wrong thing than SDL1 (see #3).