summaryrefslogtreecommitdiff
path: root/reduced_system_layer.c
diff options
context:
space:
mode:
Diffstat (limited to 'reduced_system_layer.c')
-rwxr-xr-xreduced_system_layer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/reduced_system_layer.c b/reduced_system_layer.c
index 587b319..30fb48b 100755
--- a/reduced_system_layer.c
+++ b/reduced_system_layer.c
@@ -1723,6 +1723,7 @@ __attribute__((export_name("js_mouseup"))) void js_mouseup(u32 buttons) {
}
__attribute__((export_name("js_keydown"))) void js_keydown(u32 key, u32 mod) {
+ // TODO
++_num_events;
_key_pressed[key] = 1;
platform.key_down[key] = 1;
@@ -1734,6 +1735,7 @@ __attribute__((export_name("js_keydown"))) void js_keydown(u32 key, u32 mod) {
}
__attribute__((export_name("js_keyup"))) void js_keyup(u32 key, u32 mod) {
+ // TODO
++_num_events;
platform.key_down[key] = 0;
}