51 #ifndef _CARSAINPUT_H_ 52 #define _CARSAINPUT_H_ 56 #pragma warning( push ) 57 #pragma warning( disable: 4251 ) 65 const static int TOUCH_MOVE_DIFF = 3;
66 const static int MAX_TOUCH = 5;
122 "gettouchx_fromstart",
123 "gettouchy_fromstart",
127 "gettouchx_diff_fromstart",
128 "gettouchy_diff_fromstart",
181 return ID != -1?
true:
false;
249 virtual bool keyPressed(
unsigned char keycode);
250 virtual bool keyDown(
unsigned char keycode);
251 virtual bool keyUp(
unsigned char keycode);
258 virtual void init(
void );
259 virtual void clear(
void );
265 virtual bool isTouchLeft(
u8 id,
int diff = TOUCH_MOVE_DIFF,
bool fromstart =
false )
const;
266 virtual bool isTouchRight(
u8 id,
int diff = TOUCH_MOVE_DIFF,
bool fromstart =
false)
const;
267 virtual bool isTouchUp(
u8 id,
int diff = TOUCH_MOVE_DIFF,
bool fromstart =
false)
const;
268 virtual bool isTouchDown(
u8 id,
int diff = TOUCH_MOVE_DIFF,
bool fromstart =
false)
const;
311 #pragma warning( pop ) 314 #endif // _CARSAINPUT_H_
SEvents hold information about an event. See irr::IEventReceiver for details on event handling.
void CARSAInputLogCB(const irr::core::stringc &msg)
float f32
32 bit floating point variable.
Everything in the Irrlicht Engine can be found in this namespace.
Main header file of the irrlicht, the only file needed to include.
Very simple string class with some useful features.
unsigned char u8
8 bit unsigned variable.
Interface of an object which can receive events.
signed int s32
32 bit signed variable.
unsigned int u32
32 bit unsigned variable.
Self reallocating template array (like stl vector) with additional features.
const char *const sBuiltInKeyStateNames[]