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