MouseWheelScrolled

Reports that the mouse wheel or a touchpad scrolled by dx and dy.

Positive dx scrolls right and positive dy scrolls up, the wheel rolled away from the user. SDL reports the opposite signs when the system uses "natural" scrolling; the pump flips them back, so the sign means the same on every system. One notch of a wheel is usually 1; touchpads report fractions.

Constructors

Link copied to clipboard
constructor(dx: Float, dy: Float)

Properties

Link copied to clipboard
val dx: Float
Link copied to clipboard
val dy: Float

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String