2018-04-12 18:59:07 -04:00
|
|
|
package bootcommand
|
|
|
|
|
|
|
|
const shiftedChars = "~!@#$%^&*()_+{}|:\"<>?"
|
|
|
|
|
|
|
|
// BCDriver is our access to the VM we want to type boot commands to
|
|
|
|
type BCDriver interface {
|
|
|
|
SendKey(key rune, action KeyAction) error
|
|
|
|
SendSpecial(special string, action KeyAction) error
|
2018-04-19 19:44:50 -04:00
|
|
|
// Flush will be called when we want to send scancodes to the VM.
|
|
|
|
Flush() error
|
2018-04-12 18:59:07 -04:00
|
|
|
}
|