mirror of
https://git.planet-casio.com/Lephenixnoir/JustUI.git
synced 2024-12-28 04:23:40 +01:00
jscene: update for extra parameters in keydev_read()
This commit is contained in:
parent
b0195af198
commit
34ee43d67f
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ jevent jscene_run(jscene *s)
|
||||||
if(e.type != JSCENE_NONE && !jscene_process_event(s, e)) break;
|
if(e.type != JSCENE_NONE && !jscene_process_event(s, e)) break;
|
||||||
|
|
||||||
/* Queued keyboard events */
|
/* Queued keyboard events */
|
||||||
key_event_t k = keydev_read(d);
|
key_event_t k = keydev_read(d, false, NULL);
|
||||||
|
|
||||||
if(k.type == KEYEV_DOWN && k.key == KEY_MENU && !k.shift && !k.alpha) {
|
if(k.type == KEYEV_DOWN && k.key == KEY_MENU && !k.shift && !k.alpha) {
|
||||||
if(s->mainmenu) {
|
if(s->mainmenu) {
|
||||||
|
|
Loading…
Reference in a new issue