Simple virtual joystick for cocos2d-x written in C++