Issue with Teensy LC & Raspberry Pi
I am attempting to create my own handheld Retropie device. Retropie works fine with any controller on my Raspberry Pi 4 (4 GB). I am attempting to use a Teensy LC however, I have attempted using several different code repos. Including the example File>Teensy>UBS_Joystick>Complete code. They all work when I test on joy.cpl but when I connect the Teensy to the Raspberry Pi, RetroPie is stuck on the Press and Hold A button screen. Nothing will register.
My Setup is:
Board: Teensy LC
USB Type: Serial + Keyboard + Mouse + Joystick
Port: I have tried both Teensy Port & Serial Port
I am stuck as to why this works in the joy.cpl test but nothing happens in RetroPie.
I would appreciate any help.
Is your device recognized as a gamepad ? Run
cat /proc/bus/input/devicesand see if it's listed as a gamepad/joypad.
How can I get the raspberry pi to recognize my teensy as a gamepad?
Usually the device should advertise itself as a joystick input device or a driver would recognize it and configure it. Did you install any driver ?
Post the output of the
catcommand here - run it with only the device plugged in.
Okay so I figured out what was going on. I had two micro-usb cords, one was connected to my RaspberryPi and one to my laptop. The issue was with my micro-usb to the RaspberryPi, it was powering the Teensy LC but not reading it.
I switched the cords and it started working on the RaspberryPi.
You can imagine how frustrated I was, given I am new to all this.
Thanks for your help Mitu!