Skip to content

input.h

Emil Mair edited this page May 30, 2023 · 1 revision

bool input_get_button

  • uint8_t controller
  • uint8_t button

Returns state of given button on given controller (true = pressed).


bool* input_get_buttons

  • uint8_t controller

Returns pointer to array of button states of given controller.


bool input_is_available

  • uint8_t controller

Returns state of given controller (true = connected).


bool* input_get_availability

  • void Returns pointer to array of controller states.

void input_change_freq

  • uint16_t freq Changes controller clock frequency to Hz.

Clone this wiki locally