Apparently I don't look at my source code before commiting
This commit is contained in:
parent
6b6b3db9cc
commit
f264f9c017
@ -43,10 +43,6 @@
|
||||
"modifier": ["NONE"],
|
||||
"decimal": 45
|
||||
},
|
||||
// "=": {
|
||||
// "modifier": ["NONE"],
|
||||
// "decimal": 46
|
||||
// },
|
||||
"֩": {
|
||||
"modifier": ["LSHIFT"],
|
||||
"decimal": 30
|
||||
|
3
main.go
3
main.go
@ -165,9 +165,8 @@ func main() {
|
||||
panic(err)
|
||||
}
|
||||
changeKeymap(r, keys, args, hidg0, ¤tKeyMap)
|
||||
keys[args.ORDER[currentKeyMap]][string(r)].Modifier
|
||||
for _, v := range keys[args.ORDER[currentKeyMap]][string(r)].Modifier {
|
||||
flag = flag | v
|
||||
flag = flag | flags[v]
|
||||
}
|
||||
binary.BigEndian.PutUint16(report[:], uint16(keys[args.ORDER[currentKeyMap]][string(r)].Decimal))
|
||||
Press([8]byte{flag, 0, report[0], report[1], report[2], report[3], report[4], report[5]}, hidg0)
|
||||
|
Loading…
Reference in New Issue
Block a user