scancode

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package scancode maps human-friendly key names to PS/2 Set 1 scancode bytes suitable for `VBoxManage controlvm <vm> keyboardputscancode`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AvailableKeys

func AvailableKeys() []string

AvailableKeys returns every recognised key name, sorted.

func Resolve

func Resolve(keyCombo string) ([]string, error)

Resolve turns a key combo like "ctrl+alt+delete" into the ordered list of hex scancode bytes: all make codes in order, then all break codes in reverse, matching how a real keyboard reports a chord.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL