recalbox / mk_arcade_joystick_rpi

Raspberry PI kernel module for arcade joystick on GPIO and MCP23017
GNU General Public License v2.0
200 stars 120 forks source link

Analog Inputs #48

Open Rumblebelly5 opened 7 years ago

Rumblebelly5 commented 7 years ago

Is this possible?

substring commented 7 years ago

Would require a ADC. Each axis usually ranges from -127 to 127 -> 256 values, 8 bits. So a single stick would require 16 bits. And some analogue arcade sticks .. .to be honnest, i really wonder if it's worth bothering with it ...

Rumblebelly5 commented 7 years ago

With the use of a MCP3008 it would seem simple enough from a hardware perspective, im not sure how it would work from a software side?

I have been researching building a portable for the Pi3 since there doesnt seem to be much around, I would love to have a working n64 portable