reflection goes out of the window
This commit is contained in:
1 parent
bc00262ead
commit
f442dc6921
16 files changed
+87
-63
No files matched your search
+1
-2
@@ -13,7 +13,7 @@ func ReadKey() (string, int) {
|
||||
}
|
||||
var key = blt.Read()
|
||||
var pressed = ""
|
||||
var isModifier, _ = util.InArray(key, modifiers)
|
||||
var isModifier, _ = util.IntInSlice(key, modifiers)
|
||||
if !isModifier {
|
||||
|
||||
pressed = Scancodemap[key]
|
||||
@@ -38,5 +38,4 @@ func ReadKeyCode() int {
|
||||
return blt.TK_NONE
|
||||
}
|
||||
return blt.Read()
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user