Apparently I don't look at my source code before commiting

This commit is contained in:
lordwelch 2018-01-24 12:32:42 -08:00
parent 6b6b3db9cc
commit f264f9c017
2 changed files with 1 additions and 6 deletions

View File

@ -43,10 +43,6 @@
"modifier": ["NONE"],
"decimal": 45
},
// "=": {
// "modifier": ["NONE"],
// "decimal": 46
// },
"֩": {
"modifier": ["LSHIFT"],
"decimal": 30

View File

@ -165,9 +165,8 @@ func main() {
panic(err)
}
changeKeymap(r, keys, args, hidg0, &currentKeyMap)
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)