Haiku API Bindings
mouse_map
Not logged in

Documentation | InterfaceKit | mouse_map

DESCRIPTION

Exposes the C++ mouse_map struct as a native map.

FIELDS

button

A native list containing B_MAX_MOUSE_BUTTONS entries; each entry corresponds to a mouse button and identifies which role the button plays.

The value will be one of the mouse button constants.

Note that although there are B_MAX_MOUSE_BUTTONS entries, only ones corresponding to your mouse type are valid.