
#include "engine2/iinputservice.h"

native enum ButtonCode_t is NativeEngine.ButtonCode;
native enum GameControllerCode_t is NativeEngine.GameControllerCode;
native enum GameControllerAxis_t is NativeEngine.GameControllerAxis;
native enum GameControllerType_t is NativeEngine.GameControllerType;

native accessor g_pInputService
{
	bool IsAppActive();

	// Some key trapping stuff here that could be useful

	bool HasMouseFocus();

	string Key_NameForBinding( string binding );
	string GetBinding( ButtonCode button );

	void SetCursorPosition( int x, int y );

	void Pump();
}
