B4A Library [Class] GamePad - Multitouch gamepad


Staff member
Licensed User
This class implements a multitouch gamepad made of two "joysticks":

The gamepad is made of a transparent panel. It uses Agraham's Gestures library in order to support multitouch.

The gamepad doesn't raise any events. Instead the developer is expected to periodically fetch the two joysticks values with: GetLeftValue and GetRightValue. Usually this is done with the main game timer.

In this example each joystick moves a small rectangle. You can instead use one joystick for movement and the other for different actions.



Active Member
Licensed User
Hi Erel, this is really cool and works very well. I just have a question, can we make the joystick bigger for large tablet ?