Documentation
¶
Overview ¶
custom xf86 input driver communication protocol
Index ¶
Constants ¶
View Source
const ( // absolute coordinates used in driver AbsX = 0xffff AbsY = 0xffff )
View Source
const ( XI_TouchBegin = 18 XI_TouchUpdate = 19 XI_TouchEnd = 20 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver interface {
Connect() error
Close() error
// release touches, that were not updated for duration
Debounce(duration time.Duration)
// touch events
TouchBegin(touchId uint32, x, y int, pressure uint8) error
TouchUpdate(touchId uint32, x, y int, pressure uint8) error
TouchEnd(touchId uint32, x, y int, pressure uint8) error
}
Click to show internal directories.
Click to hide internal directories.