Fix VirtualBox scancodes
Support for the backspace, delete and F1-F12 keys was added in commit 6028a3c. However, that commit seems to have copied character codes from the vmware builder into the VirtualBox builder. Character codes are appropriate for VMware which communicates through a VNC. However, VirtualBox communicates through simulating raw keyboard input and therefore needs scancodes which are key press/key release sequences. This patch converts backspace, delete and F1-F10 to scancodes. F11 and F12 are not listed in the [scancode reference][scancodes] so they have been omitted. [scancodes]: http://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html
Showing
Please register or sign in to comment