J :
* This finalizes the functionality for key bindings. * Key bindings are saved in the user's configuration file and read back the next time. * Still got to do : display, instead of a number, an icon on PSP and a string on windows (linux/mac already done).
This commit is contained in:
@@ -120,7 +120,7 @@ void GameStateOptions::Update(float dt)
|
||||
JButton key;
|
||||
if (grabber) {
|
||||
LocalKeySym sym;
|
||||
if (LOCAL_NO_KEY != (sym = j->ReadLocalKey()))
|
||||
if (LOCAL_KEY_NONE != (sym = j->ReadLocalKey()))
|
||||
grabber->KeyPressed(sym);
|
||||
}
|
||||
else while ((key = JGE::GetInstance()->ReadButton())){
|
||||
|
||||
Reference in New Issue
Block a user