Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CharacterEvent ¶
type CharacterEvent struct {
Rune rune
}
CharacterEvent is an event specifying that a character was created by a hardware or virtual keyboard.
Since: 2.7
type Driver ¶
Driver is an embedded driver designed for handling custom hardware. Various standard driver implementations are available in the bellui-x project.
Since: 2.7
type Event ¶
type Event interface {
// contains filtered or unexported methods
}
Event is the general type of all embedded device events.
Since: 2.7
type KeyDirection ¶
type KeyDirection uint8
KeyDirection specifies the press/release of a key event
Since: 2.7
const ( // KeyPressed specifies that a key was pushed down. // // Since: 2.7 KeyPressed KeyDirection = iota // KeyReleased indicates a key was let back up. // // Since: 2.7 KeyReleased )
type KeyEvent ¶
type KeyEvent struct {
Name event.KeyName
Direction KeyDirection
// Modifiers reports the modifier keys held when the event was generated.
// The zero value means no modifiers; hosts without modifier information
// may leave it unset. It is carried through to the Modifier field of the
// event.KeyEvent delivered to key handlers.
//
// Since: 1.0
Modifiers event.KeyModifier
}
KeyEvent is an event from keyboard actions occurring in an embedded device keyboard.
Since: 2.7
type TouchDownEvent ¶
TouchDownEvent is for indicating that an embedded device touch screen or pointing device was pressed.
Since: 2.7
type TouchMoveEvent ¶
TouchMoveEvent is for indicating that an embedded device touch screen or pointing device was moved whilst being pressed.
Since: 2.7
type TouchUpEvent ¶
TouchUpEvent is for indicating that an embedded device touch screen or pointing device was released.
Since: 2.7