Documentation
¶
Index ¶
- func NewAbsPositionEvent(position gopi.Point, code gopi.KeyCode, ts time.Duration) *event
- func NewKeyEvent(action gopi.KeyAction, code gopi.KeyCode, state gopi.KeyState, scancode uint32, ...) *event
- func NewRelPositionEvent(rel gopi.Point, position gopi.Point, ts time.Duration) *event
- type Device
- type InputManager
- type State
- func (this *State) Decode(evt linux.EVEvent) *event
- func (this *State) DecodeAbs(evt linux.EVEvent)
- func (this *State) DecodeKey(evt linux.EVEvent)
- func (this *State) DecodeMsc(evt linux.EVEvent)
- func (this *State) DecodeRel(evt linux.EVEvent)
- func (this *State) DecodeSyn(evt linux.EVEvent) *event
- func (this *State) KeyState() gopi.KeyState
- func (this *State) Position() gopi.Point
- func (this *State) Reset(ledstate []linux.EVLEDState)
- func (this *State) SetPosition(pt gopi.Point)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAbsPositionEvent ¶ added in v2.0.16
func NewKeyEvent ¶ added in v2.0.16
Types ¶
type InputManager ¶
func (InputManager) Name ¶
func (InputManager) Name() string
type State ¶ added in v2.0.16
type State struct {
// contains filtered or unexported fields
}
func (*State) Reset ¶ added in v2.0.16
func (this *State) Reset(ledstate []linux.EVLEDState)
func (*State) SetPosition ¶ added in v2.0.16
Click to show internal directories.
Click to hide internal directories.