2010-06-03 18:05:08 +00:00
|
|
|
#include "EventHandler.h"
|
|
|
|
|
|
|
|
//extern EventHandler *eventHandler;
|
|
|
|
|
2009-01-04 21:07:22 +00:00
|
|
|
namespace InputCommon
|
|
|
|
{
|
2010-01-29 04:42:19 +00:00
|
|
|
enum EButtonType
|
|
|
|
{
|
|
|
|
CTL_AXIS = 0,
|
|
|
|
CTL_HAT,
|
|
|
|
CTL_BUTTON,
|
|
|
|
CTL_KEY,
|
|
|
|
};
|
|
|
|
|
|
|
|
enum ETriggerType
|
|
|
|
{
|
|
|
|
CTL_TRIGGER_SDL = 0,
|
|
|
|
CTL_TRIGGER_XINPUT,
|
|
|
|
};
|
|
|
|
|
|
|
|
enum EXInputTrigger
|
|
|
|
{
|
|
|
|
XI_TRIGGER_L = 0,
|
|
|
|
XI_TRIGGER_R,
|
|
|
|
};
|
|
|
|
|
2010-06-03 18:05:08 +00:00
|
|
|
void Init();
|
|
|
|
void Shutdown();
|
2009-01-04 20:05:34 +00:00
|
|
|
}
|