I am working on a small Arduino project to create an N64 Bluetooth joystick for my Ubuntu. I managed to find a sketch to display the status of the controllers through the serial port, and it works fine. Also sending TX and RX to a small Bluetooth CSR module, I work great.
When I connect to the device, I need to use the “rfcomm binding” to see the device in my dev directory, and “cat'ing output” shows that all the data is passing too.
My question is, what are my next steps in order to make Linux recognize this device as a joystick - that is, / dev / js 0. If I know what I need to do to achieve this, I can read about the necessary steps, but at the moment I have no idea where to start without doing anything like this in the past. Should I search in the creation of a kernel module?
Any information or bunches in the right direction will generally be appreciated - even if it's just an observation.
source share