Figuring out Moai input

Sample can be referred: moai-sdk/sample/input/

As far as I can see, there is a input manager: MOAIInputMgr, to handle cross platform input. It seems its member MOAIInputMgr.device handle with different plat form, like in PC, there is MOAIInputMgr.device.mouseLeft, and in mobile device, it is MOAIInputMgr.device.touch.

Also, there is MOAITouchSensor can handle touch behavior. There are members and functions show in Moai SDK class reference manual. Unfortunately, I can’t find any reference about MOAIInputMgr, the SDK reference manual just said there is no public member in the input manager. If anyone know any reference about MOAIInputMgr, please tell me, I will appreciate that.

Leave a Reply

Your email address will not be published. Required fields are marked *