Analog Joystick to USB interface

Interface (P18F2550 and mikroPascal based) interface between an analog joystick and a PC via USB.
The purpose of this project is to provide an interface between an “old” analog joystick (in this case a
joystick from Quickshot with 2 buttons and an X and Y positioning), connected via a game port (DB15 connector) and a PC via USB.
The analog joystick uses as X and Y positioning 2 potmeters.
The hardware and software should be easily be adaptable to other joysticks.
Also: the software is written in MP but it should be easy to convert it to e.g. C and to use the USB interface available in that programmiing environment.
joystick from Quickshot with 2 buttons and an X and Y positioning), connected via a game port (DB15 connector) and a PC via USB.
The analog joystick uses as X and Y positioning 2 potmeters.
The hardware and software should be easily be adaptable to other joysticks.
Also: the software is written in MP but it should be easy to convert it to e.g. C and to use the USB interface available in that programmiing environment.
Discussion (1 comment)
Alan Rothenbush 5 years ago
But is it possible to increase the number of inputs? That is, add an additional analog input and 3 or 4 more digital (switch) inputs?
I know I should probably just build a modified version and find out for myself. But sadly, I'm only a so-so Microchip programmer and know next to nothing about USB (at this level).
So if my modded version didn't work, I wouldn't know if it's because I screwed up (the most likely possibility) or because it was never going to work no matter what I did.
Any thoughts appreciated.
Alan