This website works better with JavaScript.
Home
Explore
Register
Sign In
miteruzo
/
goatoh_training_android
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
キーボード,タッチ位置判定
main
みてるぞ
1 year ago
parent
34041e67c3
commit
6c894c9bde
1 changed files
with
8 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-5
modules/keyboard.mod.hsp
+ 8
- 5
modules/keyboard.mod.hsp
View File
@@ -17,7 +17,9 @@ Hide
#defcfunc local \
GetChar \
local l_ids,\
local l_touchInfo
local l_touchInfo,\
local l_charId,\
local l_char
if showing = False {
Return ""
}
@@ -34,11 +36,12 @@ GetChar \
Return ""
}
NoteSel charDict
;text += l_
NoteUnsel
l_charId = (1080 - l_touchInfo.1) / 96 * 5 + (l_touchInfo.2 - (1920 - 480)) / 96
;text += charDict
NoteSel charDict@Char
NoteGet l_char, l_charId
text += l_char
NoteUnsel
Return ""
Write
Preview
Loading…
Cancel
Save