package brr

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Ev.WheelSource

Wheel events.

Sourcemodule Delta_mode : sig ... end

Delta unit specification.

Sourcetype t

The type for WheelEvent objects.

Sourceval as_mouse : t -> Mouse.t

as_mouse w is w as a mouse event.

Sourceval delta_x : t -> float

delta_x w is the amount to be scrolled on the x-axis.

Sourceval delta_y : t -> float

delta_x w is the amount to be scrolled on the y-axis.

Sourceval delta_z : t -> float

delta_z w is the amount to be scrolled on the z-axis.

Sourceval delta_mode : t -> Delta_mode.t

delta_mode w is the unit of measurement for delta_x, delta_y and delta_z.