mirror of
https://github.com/pevans/erc-c.git
synced 2025-01-17 19:30:13 +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->key_pressed, false);
|
||||||
|
|
||||||
cr_assert_eq(scr->should_exit, 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);
|
vm_event_keyboard(&ev);
|
||||||
cr_assert_eq(scr->should_exit, true);
|
cr_assert_eq(scr->should_exit, true);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user