Documentation ¶
Overview ¶
Package inputviz provides components that enable visualization of user input (e.g. mouse, keyboard) for debugging
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Joystick ¶
type Joystick struct { // Rect is the rect this joystick should be drawn to. // Defaults to (0,0)->(320,240) Rect floatgeom.Rect2 // StickDeadzone is the lowest value of stick movements that should // be rendered. StickDeadzone int16 // BaseLayer is the base layer to render the resulting renderables to // if -1, it will render only to the layer provided to RenderAndListen. BaseLayer int event.CallerID // contains filtered or unexported fields }
Joystick visualizes the inputs sent to a controller
type Keyboard ¶
type LayoutKey ¶
type LayoutKey interface {
Pos() LayoutPosition
}
type LayoutPosition ¶
type LayoutQWERTY ¶
Click to show internal directories.
Click to hide internal directories.