aboutsummaryrefslogtreecommitdiff
path: root/sources/TZR_JoystickPressed.c
blob: c1898bdf8c7ee24460e3a5bfed35a0f359eef47a (plain)
1
2
3
4
5
6
7
#include "TZR_joystick.h"

bool
TZR_JoystickPressed(uint8_t button)
{
	return (TZR_JoystickGetState(button) == TZR_KEYSTATE_PRESS);
}