flareteam / flare-engine

Free/Libre Action Roleplaying Engine (engine only)
http://flarerpg.org/
GNU General Public License v3.0
1.11k stars 188 forks source link

Pressing WASD in GameStateNew cycles through menus #722

Closed makrohn closed 11 years ago

makrohn commented 11 years ago

More accurately, being in a text input box doesn't disable keyboard menu controls, but there's only one text input box in the entire game.

Tested with latest code in Flare and Concordia.

makrohn commented 11 years ago

Looks like a good fix! I just noticed as well, though, that if you don't have a mouse, it's impossible to get to the text field. That's present both before and after applying #723. I'll file a second issue for that if you want.

dorkster commented 11 years ago

So far, we've mostly thought of mouse-less systems as systems that don't have a proper keyboard either, like the GCW-Zero. I think we could solve this by adding a way to toggle a WidgetInput's active state. In other words, press Enter to start typing, press Enter again to finish.