Files
voidraft/internal/common/hotkey/hotkey_nocgo.go
2025-11-06 22:42:44 +08:00

21 lines
393 B
Go

//go:build !windows && !cgo
package hotkey
type platformHotkey struct{}
// Modifier represents a modifier
type Modifier uint32
// Key represents a key.
type Key uint8
func (hk *Hotkey) register() error {
panic("hotkey: cannot use when CGO_ENABLED=0")
}
// unregister deregisteres a system hotkey.
func (hk *Hotkey) unregister() error {
panic("hotkey: cannot use when CGO_ENABLED=0")
}