I have a old Gravis Blackhawk joystick(pic and scheme below) that i figured the pinout of. i just opened up the back, and it doesn’t have any electronics, just a circuit board splitting out to all the buttons etc(no ICs etc, NOTHING)) it has 3 buttons on the stick, a slider and another button on the base , and of course the X + Y axis for the stick. All the buttons are wired to a pin of the DB15 connector and the other side goes to GND. The X + Y axis and the slider are connected to +5v and a individual pin for each on the DB15 also.
The X + Y axis go to a 95Kohm variable sliding resistor, and the slider goes to 180kohm variable pot. I can measure the varience by supplying 5v to the 5v pin and connecting the resistance volt meter to the 5V pin and the pin for the specific axis or slider.
how do i hook this up to arduino? i tried some of the tuts, but they dont work, i get 1023 as the constant out put. i had 5v to the joystick and each slider on a analog pin. also how would i connect the buttons as they go to GND when pressed.