builder/virtualbox: scancode reference

This commit is contained in:
Mitchell Hashimoto 2013-06-12 00:27:31 -07:00
parent 7344d9e52c
commit e7cc350536
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ func scancodes(message string) []string {
shiftedChars := "~!@#$%^&*()_+{}|:\"<>?" shiftedChars := "~!@#$%^&*()_+{}|:\"<>?"
// Scancodes reference: http://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html
scancodeIndex := make(map[string]uint) scancodeIndex := make(map[string]uint)
scancodeIndex["1234567890-="] = 0x02 scancodeIndex["1234567890-="] = 0x02
scancodeIndex["!@#$%^&*()_+"] = 0x02 scancodeIndex["!@#$%^&*()_+"] = 0x02