From 879bbfa1739e976443965ea6f918f8d0d181bd30 Mon Sep 17 00:00:00 2001 From: Able Date: Tue, 5 Nov 2024 23:01:06 -0600 Subject: [PATCH] rework logic --- sysdata/libraries/intouch/src/lib.hb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sysdata/libraries/intouch/src/lib.hb b/sysdata/libraries/intouch/src/lib.hb index a8d3e36..d57177a 100644 --- a/sysdata/libraries/intouch/src/lib.hb +++ b/sysdata/libraries/intouch/src/lib.hb @@ -26,10 +26,7 @@ recieve_mouse_event := fn(): ?^MouseEvent { // Read out of the Mouse buffer here buffer.recv(MouseEvent, buf_id, mem_page) - if *mem_page == 0 { - // log.info("Haha\0") - } else { - log.info("Mouse event recieved in horizon.\0") + if *mem_page != 0 { dx := *mem_page dy := *mem_page + 1 mevent := MouseEvent.(dx, dy, 0, 0, 0)