#include "gamecontroller.h"

native static class NativeEngine.SDLGameController
{
	int GetAxis( int joystickId, GameControllerAxis_t axis );
	GameControllerType_t GetControllerType( int joystickId );
	bool Close( int joystickId );

	// Features
	bool SetLEDColor( int joystickId, int red, int green, int blue );

	// Haptics
	bool Rumble( int joystickId, int lowFreq, int highFreq, int duration );
	bool RumbleTriggers( int joystickId, int lowFreq, int highFreq, int duration );

	// Sensors
	Vector GetGyroscope( int joystickId );
	Vector GetAccelerometer( int joystickId );
}