From aee0521b0a82c7573ef8fbd6de7f259269b17b34 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Wed, 7 Feb 2018 16:08:43 -0600 Subject: [PATCH] Change key to ALT+Q --- tests/vm_event.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/vm_event.c b/tests/vm_event.c index 0cd2294..f875f2a 100644 --- a/tests/vm_event.c +++ b/tests/vm_event.c @@ -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);