xorg ulong -> KeySym.

This commit is contained in:
m1k1o
2021-04-12 19:22:59 +02:00
parent 7f226842df
commit b169195b69
2 changed files with 10 additions and 10 deletions

View File

@ -75,7 +75,7 @@ func KeyDown(code uint64) error {
debounce_key[code] = time.Now()
C.XKey(C.ulong(code), C.int(1))
C.XKey(C.KeySym(code), C.int(1))
return nil
}
@ -103,7 +103,7 @@ func KeyUp(code uint64) error {
delete(debounce_key, code)
C.XKey(C.ulong(code), C.int(0))
C.XKey(C.KeySym(code), C.int(0))
return nil
}