From f6cb5760eb98caae80e76279271c28c40b0eb95b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Cuervo?= Date: Fri, 10 Nov 2023 15:58:24 -0500 Subject: Add keyboard progress --- virtual-programs/editor.folk | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'virtual-programs/editor.folk') diff --git a/virtual-programs/editor.folk b/virtual-programs/editor.folk index 8d3e12ad..705bcd39 100644 --- a/virtual-programs/editor.folk +++ b/virtual-programs/editor.folk @@ -1,8 +1,10 @@ set id "editor-1" -set ::debug_cursor true -set ::debug_print true +set ::debug_cursor false +set ::debug_print false -When /page/ is editor /n/ & /page/ has region /r/ { +# When /page/ is editor /n/ & /page/ has region /r/ { +When /page/ is a keyboard with path /kbPath/ & /page/ has region /r/ { + # Claim $this is a keyboard with path /dev/input/by-path/platform-i8042-serio-0-event-kbd Wish $page is outlined gray Claim $id has region [region move $r up 450px] } @@ -381,4 +383,4 @@ Claim $this has demo { # Ideally: Claim $this is keyboard with path /dev/input/by-path/platform-i8042-serio-0-event-kbd -} \ No newline at end of file +} -- cgit v1.2.3