Converts your Android screen into a Virtual Joystick.
by David M. Marciel
Welcome to the Android TCP/IP Virtual Joystick application!
The Android TCP/IP Virtual Joystick converts your Android screen into a Joystick able to send its action events via TCP/IP protocol, port 8081, to a given IP of your local network.
This applications is ideal for developers that want a simple TCP/IP client side Android Virtual Joystick to control its server side application.
The Android TCP/IP Virtual Joystick will ask you for an IP address of your local network where there must be an application (not provided by us!) already listening to the 8081 port to negotiate a TCP connection with this Android Virtual Joystick.
The first time that the Android Virtual Joystick is started, a base IP is asked. This base IP is
a) the device (computer, etc.) where your server side application is waiting for an Android Virtual Joystick at TCP port 8081 connection, or
b) if you do not know exactly which IP address has the server application, an IP from where the Virtual Joystick will start looking for a server side application. E.g. If the Virtual Joystick can not make a TCP connection to the base IP 192,168.1.1 port 8081, then it will look in the next IP 192,168.1.2, then the next one... until it is able to connect to a TCP server at port 8081.
This is useful when you do not know the server side app. IP (e.g. a local DHCP network using dynamic IPs). As this application is intended for simple local networks (usually WiFi at home, etc.) even if the IP of the server side application is dynamic, usually it does not change very often.
The Android TCP/IP Virtual Joystick sends the following verbose messages through the TCP port 8081 connection:
LEFT, RIGHT, UP, DOWN, UPLEFT, LEFTDOWN, DOWNRIGHT, RIGHTUP, plus the same words and BUTTON1 or BUTTON2, e.g. UPLEFTBUTTON1, DOWNRIGHTBUTTON2...
We are using this application for retrocomputing: this application for instance has been tested with the Fuse ZX Spectrum emulator (the ZX Spectrum was/is a popular personal computer of the 80's in Europe) configured with the Spectranet peripheral.
Check detailed information about the protocol and testing examples in the information button included inside the application.
|full network access|