Here's the solution @philx gave me: MultipleTouch.capx
Here's some screenshots of what's working for me now. When you touch the screen, an analog joystick appears. Maximum of two analog joysticks; one per side.
Here's the 'function' of the joysticks. You can set what happens when the joystick 'stick' is at a certain position with these.