brr
Ev.Wheel
Wheel events.
brr.ocaml_poke
brr.ocaml_poke_ui
brr.poke
brr.poked
module Delta_mode : sig ... end
Delta unit specification.
type t
The type for WheelEvent objects.
val as_mouse : t -> Mouse.t
as_mouse w is w as a mouse event.
as_mouse w
w
val delta_x : t -> float
delta_x w is the amount to be scrolled on the x-axis.
delta_x w
val delta_y : t -> float
delta_x w is the amount to be scrolled on the y-axis.
val delta_z : t -> float
delta_z w is the amount to be scrolled on the z-axis.
delta_z w
val delta_mode : t -> Delta_mode.t
delta_mode w is the unit of measurement for delta_x, delta_y and delta_z.
delta_mode w
delta_x
delta_y
delta_z