Function mir_input_device_state_event_device_pointer_buttons

Function Documentation

MirPointerButtons mir_input_device_state_event_device_pointer_buttons(MirInputDeviceStateEvent const *ev, uint32_t index)

Retrieve the pointer button state of the device identified by the index.

Parameters:
  • ev[in] The input device state event

  • index[in] The index of the input device

Returns:

The pointer button state of the device