Oxygine  1
2g game engine
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
oxygine::Input Class Reference

Public Member Functions

void cleanup ()
PointerStategetTouchByIndex (int index)
int touchID2index (int64 id)
PointerStategetTouchByID (int64 id)
void sendPointerButtonEvent (spStage, MouseButton button, float x, float y, float pressure, int type, PointerState *)
void sendPointerMotionEvent (spStage, float x, float y, float pressure, PointerState *)
void sendPointerWheelEvent (spStage, int scroll, PointerState *)

Public Attributes

PointerState _pointers [MAX_TOUCHES]
PointerState _pointerMouse
int64 _ids [MAX_TOUCHES+1]

Static Public Attributes

static Input instance

Member Function Documentation

§ getTouchByIndex()

PointerState* oxygine::Input::getTouchByIndex ( int  index)

id should be in range [1, MAX_TOUCHES]

The documentation for this class was generated from the following file: