Skip to content

cf_joypad_is_connected

Category: input
GitHub: cute_joypad.h


Returns true if a joypad is connected.

bool cf_joypad_is_connected(int player_index);
Parameters Description
player_index An index represeting the joypad for a particular player, starting at 0.

CF_Joypad
cf_joypad_count
cf_joypad_open
cf_joypad_close