Commit efa401e4 authored by Charlie Sharpsteen's avatar Charlie Sharpsteen

Fix scancode comment concerning key release

According to the scancode reference, the release key code is generated by
adding `0x80` to the key press code, not `0x81`.
parent c653bfca
......@@ -99,7 +99,7 @@ func scancodes(message string) []string {
//
// Scancodes are recorded here in pairs. The first entry represents
// the key press and the second entry represents the key release and is
// derived from the first by the addition of 0x81.
// derived from the first by the addition of 0x80.
special := make(map[string][]string)
special["<bs>"] = []string{"0e", "8e"}
special["<del>"] = []string{"53", "d3"}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment