keyevent reading moved to the tvdos itself

This commit is contained in:
minjaesong
2021-09-24 11:30:55 +09:00
parent 96e23d9019
commit 012bc44845
10 changed files with 632 additions and 70 deletions

View File

@@ -5,7 +5,7 @@ function hitCtrlQ(keys) {
println("Hit Ctrl+Shift+T+R to exit")
while (true) {
con.scankeys((char, keys, counter) => {
println(`${keys}\t'${char}' (${counter})`)
input.withEvent(event => {
println(event)
})
}