aboutsummaryrefslogtreecommitdiff
path: root/tests/sdl_key.c
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-04-13 17:54:28 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-04-13 17:54:28 -0700
commitef59099ffccfa09f82cf7f3d18b702a114aed0b0 (patch)
tree8a84ec9ac6a90d9d7f9fe08ce87277da3e826657 /tests/sdl_key.c
parent23c05c5ce9c602c149a1b0138423088fa63ceb28 (diff)
sdl pageup/down
Diffstat (limited to 'tests/sdl_key.c')
-rw-r--r--tests/sdl_key.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/sdl_key.c b/tests/sdl_key.c
index 6a5ad694..f82f8e72 100644
--- a/tests/sdl_key.c
+++ b/tests/sdl_key.c
@@ -23,6 +23,7 @@ void one() {
if (event.key.keysym.scancode == SDL_SCANCODE_B) {
printf("b scancode\n"); result *= 17; break;
}
+ printf("unknown key: sym %d scancode %d\n", event.key.keysym.sym, event.key.keysym.scancode);
REPORT_RESULT();
emscripten_run_script("throw 'done'");
}