sekaiproject / ponscripter-fork

Fork of the Ponscripter visual novel engine to take advantage of SDL2 and improve Steam integration
GNU General Public License v2.0
74 stars 28 forks source link

Maximizing/minimizing window on Win7 breaks arrow keys #51

Closed Jadomonkey closed 10 years ago

Jadomonkey commented 10 years ago

'J', 'K' and the arrow keys function normally to select different options until the game window is maximized or minimized from any point in the game and then they no longer function on any screen until the game is restarted. This doesn't seem to affect any other controls.

This is actually only on my Win7 64-bit desktop and I was unable to replicate it on my Vista laptop, so it may just be a fluke on my system. On my Vista system it did take a while for it to connect to Steam and the keys weren't functioning while the rest was until it finally connected and then it worked fine.

dobacco commented 10 years ago

What happens if you load the game without using Steam? Do you get the same issue?

euank commented 10 years ago

Also, can I confirm, when you say "Doesn't effect other controls", does that include other keyboard controls e.g. 'f' toggling fullscreen and 'a' toggling automode? "space" or "enter" advancing text? I assume the mouse still works correctly of course.

Jadomonkey commented 10 years ago

Yes, the same issue occurs running outside of Steam, directly from the install folder.

Also yes, the mouse and all other keyboard controls still function properly, it's just up, down, j and k that stop working.

euank commented 10 years ago

Due to a lack of more information and my inability to reproduce this, I'm going to close this. Furthermore, there have been several changes in between that might have inadvertently fixed it.

If it happens to you again, please feel free to re-open this or create a new issue. Thanks for the report, sorry that we couldn't track down exactly what was going on.