Debug
This commit is contained in:
parent
a762e038f2
commit
0d2c476db9
1
main.go
1
main.go
@ -49,6 +49,7 @@ func Hold(press [8]byte, file io.Writer) {
|
|||||||
|
|
||||||
func changeKeymap(r rune, keys map[string]Keys, args Args, hidg0 *os.File, currentKeyMap *int) {
|
func changeKeymap(r rune, keys map[string]Keys, args Args, hidg0 *os.File, currentKeyMap *int) {
|
||||||
fmt.Println(*currentKeyMap)
|
fmt.Println(*currentKeyMap)
|
||||||
|
fmt.Println(args)
|
||||||
for keys[args.ORDER[(*currentKeyMap)]][r].name != r {
|
for keys[args.ORDER[(*currentKeyMap)]][r].name != r {
|
||||||
Press([8]byte{LCTRL, 0x00, 0x57, 0x00, 0x00, 0x00, 0x00, 0x00}, hidg0)
|
Press([8]byte{LCTRL, 0x00, 0x57, 0x00, 0x00, 0x00, 0x00, 0x00}, hidg0)
|
||||||
*currentKeyMap++
|
*currentKeyMap++
|
||||||
|
Loading…
Reference in New Issue
Block a user