Documentation
¶
Index ¶
Constants ¶
View Source
const ( Event_None EventType = 0 Event_DeviceAdded = 1 Event_DeviceRemoved = 2 Event_KeyboardKey = 300 Event_PointerMotion = 400 Event_PointerMotionAbsolute = 401 Event_PointerButton = 402 Event_PointerAxis = 403 Event_TouchDown = 500 Event_TouchUp = 501 Event_TouchMotion = 502 Event_TouchCancel = 503 Event_TouchFrame = 504 Event_TabletToolAxis = 600 Event_TabletToolProximity = 601 Event_TabletToolTip = 602 Event_TabletToolButton = 603 Event_TabletPadButton = 700 Event_TabletPadRing = 701 Event_TabletPadStrip = 702 Event_GestureSwipeBegin = 800 Event_GestureSwipeUpdate = 801 Event_GestureSwipeEnd = 802 Event_GesturePinchBegin = 803 Event_GesturePinchUpdate = 804 Event_GesturePinchEnd = 805 Event_SwitchToggle = 900 )
https://code.woboq.org/qt5/include/libinput.h.html
View Source
const ( PointerAxis_ScrollVertical = iota PointerAxis_ScrollHorizontal )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { Type EventType // contains filtered or unexported fields }
type PathContext ¶
type PathContext struct {
// contains filtered or unexported fields
}
func NewPathContext ¶
func NewPathContext() *PathContext
func (*PathContext) Close ¶
func (li *PathContext) Close()
func (*PathContext) Dispatch ¶
func (li *PathContext) Dispatch() error
func (*PathContext) GetEvent ¶
func (li *PathContext) GetEvent() (*Event, error)
func (*PathContext) GetPollFD ¶
func (li *PathContext) GetPollFD() unix.PollFd
func (*PathContext) PathAddDevice ¶
func (li *PathContext) PathAddDevice(path string) error
type PointerAxis ¶
type PointerAxis uint32
func (PointerAxis) String ¶
func (pp PointerAxis) String() string
Click to show internal directories.
Click to hide internal directories.