// Package usb provides keyboard input handling. // Platform-independent types and interfaces. package usb // Key represents a keyboard key event. type Key struct { Code uint16 // Linux input event code Type string // "press", "release" } // Keyboard represents an input device (keyboard). // The concrete type is defined per-platform via build tags.