CSE2-tweaks/src/Backends/Controller.h

10 lines
403 B
C

// Released under the MIT licence.
// See LICENCE.txt for details.
#pragma once
bool ControllerBackend_Init(void);
void ControllerBackend_Deinit(void);
bool ControllerBackend_GetJoystickStatus(bool **buttons, unsigned int *button_count, short **axes, unsigned int *axis_count);
const char* ControllerBackend_GetButtonName(unsigned int button_id);
const char* ControllerBackend_GetControllerName(void);