2009-01-04 20:05:34 +00:00
|
|
|
#include "EventHandler.h"
|
|
|
|
|
2009-01-05 13:39:54 +00:00
|
|
|
//extern EventHandler *eventHandler;
|
2009-01-04 20:05:34 +00:00
|
|
|
|
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,
|
|
|
|
};
|
|
|
|
|
2009-01-05 00:10:19 +00:00
|
|
|
void Init();
|
|
|
|
void Shutdown();
|
2009-01-04 20:05:34 +00:00
|
|
|
}
|