summaryrefslogtreecommitdiff
path: root/reduced_system_layer.c
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2025-01-07 00:16:22 +0100
committerMitya Selivanov <automainint@guattari.tech>2025-01-07 00:16:22 +0100
commit91646cbafee3ff67baff52499529ac9077675239 (patch)
treeef450666dc81f014025425264cf38b2bac2ab7c3 /reduced_system_layer.c
parent8572d0ade4d8447ba68c4f6e3a7e791a8b38ad22 (diff)
downloadreduced_system_layer-web_audio.zip
Fix clipboard; TODO keysweb_audio
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;
}