From 91646cbafee3ff67baff52499529ac9077675239 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Tue, 7 Jan 2025 00:16:22 +0100 Subject: Fix clipboard; TODO keys --- reduced_system_layer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'reduced_system_layer.c') 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; } -- cgit v1.2.3