mjtMouse_, from MuJoCo's headers, as numbers. All 10 values carry a number in the header.
Summary
Functions
mjMOUSE_MOVE_H is 4.
mjMOUSE_MOVE_H_REL is 7.
mjMOUSE_MOVE_V is 3.
mjMOUSE_MOVE_V_REL is 6.
mjMOUSE_NONE is 0.
mjMOUSE_ROTATE_H is 2.
mjMOUSE_ROTATE_V is 1.
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
mjMOUSE_TURN_H is 9.
mjMOUSE_TURN_V is 8.
Every value, as {name, integer}, in the order the header lists them.
mjMOUSE_ZOOM is 5.
Types
@type t() :: integer()
Functions
@spec move_h() :: 4
mjMOUSE_MOVE_H is 4.
@spec move_h_rel() :: 7
mjMOUSE_MOVE_H_REL is 7.
@spec move_v() :: 3
mjMOUSE_MOVE_V is 3.
@spec move_v_rel() :: 6
mjMOUSE_MOVE_V_REL is 6.
@spec none() :: 0
mjMOUSE_NONE is 0.
@spec rotate_h() :: 2
mjMOUSE_ROTATE_H is 2.
@spec rotate_v() :: 1
mjMOUSE_ROTATE_V is 1.
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
@spec turn_h() :: 9
mjMOUSE_TURN_H is 9.
@spec turn_v() :: 8
mjMOUSE_TURN_V is 8.
Every value, as {name, integer}, in the order the header lists them.
@spec zoom() :: 5
mjMOUSE_ZOOM is 5.