From 34041e67c384236158d4ab36d57d3f66adc7eba6 Mon Sep 17 00:00:00 2001 From: miteruzo Date: Fri, 7 Jul 2023 08:34:43 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=AD=E3=83=BC=E3=83=9C=E3=83=BC=E3=83=89?= =?UTF-8?q?=E3=81=AE=E5=85=A5=E5=8A=9B=E5=8F=96=E5=BE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/keyboard.mod.hsp | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/modules/keyboard.mod.hsp b/modules/keyboard.mod.hsp index 3a78868..60847da 100644 --- a/modules/keyboard.mod.hsp +++ b/modules/keyboard.mod.hsp @@ -15,12 +15,30 @@ Hide Return #defcfunc local \ -GetChar +GetChar \ + local l_ids,\ + local l_touchInfo if showing = False { Return "" } - ; text += charDict + MTList l_id + + If stat = 0 { + Return "" + } + + MTInfo l_touchInfo, l_id.0 + + If l_touchInfo.2 < 1920 - 480 { + Return "" + } + + NoteSel charDict + ;text += l_ + NoteUnsel + + ;text += charDict Return ""