ratalaika / angel-engine

Automatically exported from code.google.com/p/angel-engine
0 stars 0 forks source link

IntroGame fails to read keys correctly #85

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use a swedish keyboard that is correctly configured in the os.
2. Compile the latest IntroGame (from GitHub) on Ubuntu 12.04.
3. When using the game, you should be able to browse the demos using [space] to 
go forward. However, to go back you can not use [-]. Instead you must press 
[+]. Similarly, the console (at DemoScreenConsole.cpp) must be opened using 
[§] and not [~].

It seems that the program does not care about what keys are pressed, but rather 
where the keys are. That's how I found the key that opens the console. I 
compared these images:
 - http://upload.wikimedia.org/wikipedia/commons/1/1f/Computer_keyboard_with_danish_layout.jpg
 - http://design18comp.files.wordpress.com/2010/10/keyboard.jpg
Note how en(~) = se(§) and en(-) = se(+) so to speak.

I hope you'll fix it :+)

Original issue reported on code.google.com by joelsjog...@gmail.com on 29 Oct 2013 at 3:49

GoogleCodeExporter commented 9 years ago
Issue 86 has been merged into this issue.

Original comment by lieseg...@gmail.com on 31 Oct 2013 at 1:54

GoogleCodeExporter commented 9 years ago
My understanding was that GLFW handles these changes under the hood, but I 
guess that's not the case. 

Thanks for the report; will investigate! 

Original comment by lieseg...@gmail.com on 31 Oct 2013 at 1:56