Versions in this module Expand all Collapse all v1 v1.1.0 Mar 29, 2026 v1.0.0 Mar 27, 2026 Changes in this version + const JogLedReportId + const JogModeReportId + const LedReportId + const PID + const VID + func NullBatteryHandler(client SpeedEditorInt, report input.BatteryReport) + func NullJogHandler(client SpeedEditorInt, report input.JogReport) + func NullKeyPressHandler(client SpeedEditorInt, report input.KeyPressReport) + type AuthHandler struct + func (ah AuthHandler) Authenticate() time.Duration + func (ah AuthHandler) GetAuthChallengeResult() uint16 + func (ah AuthHandler) GetHostChallengeResponse() []byte + func (ah AuthHandler) GetKeyboardChallenge() uint64 + func (ah AuthHandler) ResetAuthState() + func (ah AuthHandler) SendAuthChallengeResponse(response uint64) + func (ah AuthHandler) SendHostChallenge() + type AuthHandlerInt interface + Authenticate func() time.Duration + GetAuthChallengeResult func() uint16 + GetHostChallengeResponse func() []byte + GetKeyboardChallenge func() uint64 + ResetAuthState func() + SendAuthChallengeResponse func(response uint64) + SendHostChallenge func() + type SpeedEditor struct + AuthHandler AuthHandlerInt + func (se *SpeedEditor) SetBatteryHandler(handler func(SpeedEditorInt, input.BatteryReport)) + func (se *SpeedEditor) SetJogHandler(handler func(SpeedEditorInt, input.JogReport)) + func (se *SpeedEditor) SetKeyPressHandler(handler func(SpeedEditorInt, input.KeyPressReport)) + func (se SpeedEditor) Authenticate() + func (se SpeedEditor) GetDeviceInfo() hid.DeviceInfo + func (se SpeedEditor) HandleBattery(report input.BatteryReport) + func (se SpeedEditor) HandleJog(report input.JogReport) + func (se SpeedEditor) HandleKeyPress(report input.KeyPressReport) + func (se SpeedEditor) HandleReport(genericReport any) + func (se SpeedEditor) Poll() + func (se SpeedEditor) Read() ([]byte, int) + func (se SpeedEditor) SetJogLeds(leds []uint8) + func (se SpeedEditor) SetJogMode(mode uint8) + func (se SpeedEditor) SetLeds(leds []uint32) + type SpeedEditorInt interface + Authenticate func() + GetDeviceInfo func() hid.DeviceInfo + Poll func() + Read func() ([]byte, int) + SetBatteryHandler func(handler func(SpeedEditorInt, input.BatteryReport)) + SetJogHandler func(handler func(SpeedEditorInt, input.JogReport)) + SetJogLeds func(leds []uint8) + SetJogMode func(mode uint8) + SetKeyPressHandler func(handler func(SpeedEditorInt, input.KeyPressReport)) + SetLeds func(leds []uint32) + func NewClient() SpeedEditorInt