Files
hermes dfaa87994a Releases: Linux amd64 + Windows amd64 Binaries mit Build-Tags für USB
- USB-Input via evdev wird nur auf Linux gebaut (build tag linux)
- Windows bekommt USB-Stub (build tag !linux)
- Binaries: sportscore-linux-amd64 (ELF 64-bit), sportscore-windows-amd64.exe (PE32+)
- Alle Tests bestanden
2026-07-14 17:43:57 +02:00

13 lines
355 B
Go

// 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.