FramebufferInput

data class FramebufferInput(val pointerX: Int = 0, val pointerY: Int = 0, val buttons: Int = 0, val modifiers: Int = 0, val wheel: Double = 0.0, val horizontalWheel: Double = 0.0, val hasFocus: Boolean = false, val visible: Boolean = true, val pointerOver: Boolean = false)

The pointer state as it is now, plus what else the plugin should know. Keys travel separately because a pointer only has a current position, while presses must not be dropped.

Constructors

Link copied to clipboard
constructor(pointerX: Int = 0, pointerY: Int = 0, buttons: Int = 0, modifiers: Int = 0, wheel: Double = 0.0, horizontalWheel: Double = 0.0, hasFocus: Boolean = false, visible: Boolean = true, pointerOver: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

In framebuffer pixels, origin at the top left.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Scroll since the last call, in steps normalised to ±1.0.