Hi everybody,
I'm working on a project to get a gamepad talking to a Teensy 3.6 over bluetooth. This gamepad (the nunchuk from the Utopia Virtual Reality set) has no dongle, but has BT. I have been able to get a gamepad with a dongle to work on a Teensy 3.6 in the past, but this was by using the USB host function of the Teensy 3.6. For this application, I have access to an HM-10 BT module, which is able to "pair" with the nunchuk, but I am at a loss as to how to detect events such as button clicks and thumbpad motion. Additionally, I have been able to pair the device with my PC and use the pygame library to detect events.
Any thoughts on how I can combine these two successes to get the Teensy to detect events and respond to gamepad inputs over bluetooth? I also have a BT dongle which can plug into a USB port. I don't know if this will work or anything about BT, really. Pointers or suggested reading would be very helpful!
Thank you!
Mark
I'm working on a project to get a gamepad talking to a Teensy 3.6 over bluetooth. This gamepad (the nunchuk from the Utopia Virtual Reality set) has no dongle, but has BT. I have been able to get a gamepad with a dongle to work on a Teensy 3.6 in the past, but this was by using the USB host function of the Teensy 3.6. For this application, I have access to an HM-10 BT module, which is able to "pair" with the nunchuk, but I am at a loss as to how to detect events such as button clicks and thumbpad motion. Additionally, I have been able to pair the device with my PC and use the pygame library to detect events.
Any thoughts on how I can combine these two successes to get the Teensy to detect events and respond to gamepad inputs over bluetooth? I also have a BT dongle which can plug into a USB port. I don't know if this will work or anything about BT, really. Pointers or suggested reading would be very helpful!
Thank you!
Mark