Function mir_input_device_state_event_device_pressed_keys_count

Function Documentation

uint32_t mir_input_device_state_event_device_pressed_keys_count(MirInputDeviceStateEvent const *ev, uint32_t index)

Retrieve the size of scan code array of the device identified by the index.

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

  • index[in] The index of the input device

Returns:

Size of the pressed keys array