mirror of
https://github.com/pevans/erc-c.git
synced 2024-12-21 08:30:55 +00:00
Change key to ALT+Q
This commit is contained in:
parent
3223fe6110
commit
aee0521b0a
@ -47,7 +47,8 @@ Test(vm_event, keyboard)
|
||||
cr_assert_eq(scr->key_pressed, false);
|
||||
|
||||
cr_assert_eq(scr->should_exit, false);
|
||||
ev.event.key.keysym.sym = SDLK_ESCAPE;
|
||||
ev.event.key.keysym.sym = 'q';
|
||||
ev.event.key.keysym.mod = KMOD_ALT;
|
||||
vm_event_keyboard(&ev);
|
||||
cr_assert_eq(scr->should_exit, true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user