Documentation ¶
Index ¶
Constants ¶
View Source
const ( IK_SB_PRESS int = iota // softbutton event IK_SB_RELEASE IK_M_PRESS // mouse hard button press/release IK_M_RELEASE IK_M_MOVED // mouse movement )
Event type constants.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interaction ¶
type Interaction struct { X float64 Y float64 Kind int // one of the IK_* constants Data int // data specific to the event (soft button id, mouse button etc.) }
func (*Interaction) To_string ¶
func (inst *Interaction) To_string() string
To_string generates a simple string representation of the instance.
Click to show internal directories.
Click to hide internal directories.