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 …

Continue reading