I would like to be able to play games on my Windows PC using a joystick instead of keyboard and/or mouse as controls. However I don't have a joystick. I could buy one, but I want to see if I could use my iPad as a joystick. I want to be able to tilt the iPad and the angle of the iPad to be the joystick input to the computer. It should be possible to make an app like this; the question is whether anyone has made an app like this.
There is an app called Custom Control Pad which works as a joystick input to a computer. However, it does not appear to have a feature to read the iPad's orientation - you can only use an on screen joystick or sliders. I've tried contacting the makers of CCP but their forum does not appear to be working.