mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-12 23:54:04 +09:00
fixed a bug caused by lwjgl3 where Ctrl-<alph> won't be recognised
This commit is contained in:
11
assets/disk0/home/strobotest.js
Normal file
11
assets/disk0/home/strobotest.js
Normal file
@@ -0,0 +1,11 @@
|
||||
function hitCtrlQ(keys) {
|
||||
return (keys[0] == 45 && (keys[1] == 129 || keys[1] == 130));
|
||||
}
|
||||
|
||||
println("Hit Ctrl+Shift+T+R to exit")
|
||||
|
||||
while (true) {
|
||||
con.scankeys((char, keys, counter) => {
|
||||
println(`${keys}\t'${char}' (${counter})`)
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user