Versions in this module Expand all Collapse all v0 v0.2.1 Nov 28, 2026 v0.2.0 Nov 27, 2026 Changes in this version + const AbsHat0X + const AbsHat0Y + const AbsHat3Y + const AbsInfoSize + const AbsMax + const AbsRX + const AbsRY + const AbsRZ + const AbsX + const AbsY + const AbsZ + const BtnDPadDown + const BtnDPadLeft + const BtnDPadRight + const BtnDPadUp + const BtnEast + const BtnExtra + const BtnJoystick + const BtnLeft + const BtnMiddle + const BtnMode + const BtnNorth + const BtnRight + const BtnSelect + const BtnSide + const BtnSouth + const BtnStart + const BtnTL + const BtnTL2 + const BtnTR + const BtnTR2 + const BtnThumbL + const BtnThumbR + const BtnToolFinger + const BtnTouch + const BtnWest + const BusBluetooth + const BusUSB + const BusVirtual + const EvAbs + const EvFF + const EvKey + const EvMsc + const EvRel + const EvSyn + const EvUinput + const EventSize + const FFEffectSize + const FFGain + const FFRumble + const FFRumbleOffset + const InputIDSize + const KeyMax + const RelHWheel + const RelHWheelHiRes + const RelWheel + const RelWheelHiRes + const RelX + const RelY + const SynDrop + const SynReport + var EVIOCGID = IOR(evdevIoctlTyp, 0x02, InputIDSize) + var EVIOCRMFF = IOW(evdevIoctlTyp, 0x81, 4) + var EVIOCSFF = IOW(evdevIoctlTyp, 0x80, FFEffectSize) + func EVIOCGABS(abs int) uintptr + func EVIOCGBIT(ev, n int) uintptr + func EVIOCGKEY(n int) uintptr + func EVIOCGNAME(n int) uintptr + func Encode(dst []byte, evs ...Event) []byte + func IO(typ, nr uint32) uintptr + func IOR(typ, nr, size uint32) uintptr + func IOW(typ, nr, size uint32) uintptr + func IOWR(typ, nr, size uint32) uintptr + func Ioctl(fd int, req uintptr, arg unsafe.Pointer) error — linux/amd64 + func IoctlInt(fd int, req, arg uintptr) error — linux/amd64 + func TestBit(bm []byte, n int) bool + type Event struct + Code uint16 + Type uint16 + Value int32 + func ParseEvent(b []byte) Event + func (e Event) Put(b []byte)