How to use iPad as a joystick on WiFi network?

Hi I’m developing a game in which i want to use my iPad as game controller through WiFi network to control my game in mac/windows… I saw this website ( which should have given me what i needed , unfortunately the site is not working. Can any one give me an alternative and steps to make it work.
Please answer ASAP
Thanks in advance.