-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This code can be used in conjunction with modding a single snes controller to include a Teensy 3.0, RN-42 bluetooth controller and a snes controller cable extender to enable two player bluetooth snes controllers (the second controller is not modded at all).
The gist of this is as follows:
The modded controller essentially acts as a bluetooth keyboard, sending the appropriate signals to the connected device to emulate keys being pressed and released as the buttons on the controllers are pressed and released.
This only requires modding a single controller, as the second controller plugs into the first controller via its regular cable (I got an controller extension cable and used that as the receiving plug on the first controller).
The is written specifically for the RN-42 bluetooth controller as it uses commands to set the name of the device. They will probably work with other bluetooth controllers, but I have not tested it and provide no guarantee that it will work.
The code should provide enough comments and context to make it readable enough, but if you have any comments or questions, contact me and I will see what I can do about replying.