zombusterftwParticipant03/22/2015 at 02:43Post count: 9
I coded and set up my teensy to work as a HID device it works in windows but it wont in retro pie, it has 9 buttons and one joystick. How do I get it working?
Thank YouRooParticipant03/22/2015 at 03:48Post count: 211
What have you tried in RetroPie?
Does it show up when you type
For example, I get
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. Bus 001 Device 004: ID 413c:2107 Dell Computer Corp. Bus 001 Device 005: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter Bus 001 Device 006: ID 04d8:f673 Microchip Technology, Inc. Bus 001 Device 007: ID 045e:0719 Microsoft Corp. Xbox 360 Wireless Adapter
Device 1, 2 and 3 are the USB controller on the Pi itself. 4 is a keyboard, 5 is a WiFi adapter. 6 is a custom device similar to how a Teensy should show up.
If you see the Teensy there, you can get further info with
sudo lsusb -D /dev/bus/usb/001/006
If it is recognized by raspbian, it will show up under
ls /dev/inputas js[x]. If you see it there, try
jstest /dev/input/js0, do you see the controls recognized?zombusterftwParticipant03/22/2015 at 17:29Post count: 9
When I boot up into emulation station it will let me hold a button to start configuring but after that it wont let me input anything. When I tried the lsusb command the teensy showed up as number 6 and my wifi adapter showrd as number 5. I couldnt get the second command to work it just listed how to type with -d and other letters. The third command ls /dev/input showed a js0 and the last command made numbers and letters move down the screen really fast but whenever I pressed a button they stopped moving for a split second.RooParticipant03/22/2015 at 18:37Post count: 211
are you running
jstest /dev/input/js0from the console (not an ssh session)?
it should show the recognized axes and buttons for that device and monitor for any joystick movement / button presses until you break out of it (ctrl-c).
then you can move the sticks and press the buttons to ensure everything is working. Until you can verify the OS can see the Teensy properly with jstest, there’s no sense in going further.zombusterftwParticipant03/22/2015 at 20:27Post count: 9
It was a bad mini usb cable,I now have the controls set for emulation station but do you know how to set them in the games?vang1Participant05/01/2015 at 00:59Post count: 6
Hello. i just built a gamepad with teensy 2.0. works perfec under windows, but will not be detected under retropi. cant find /dev/input/js0 :(
can only find “Standard Microsystems Corp.”
but not Device 006: ID 04d8:f673 Microchip Technology, Inc.
have i done anything wrong ? is there a driver i should load ?vang1Participant05/01/2015 at 02:30Post count: 6
got it detected now when i make it as a serial/keyboad/mouse/joystick, but after it got detected and i going to setup the keys it does nothing, cant select the up key or nothing,. but its detecting as a teensy joystick……zombusterftwParticipant05/02/2015 at 20:46Post count: 9
Hmm maybe try a fresh install of retro pie? or try a new USB cable? Thats what worked for me also code it as a usb HID device and check your aruduino software settings.rasmushauschildParticipant05/24/2015 at 00:39Post count: 30
Hi I’ve also made a Teensy Gamepad for my portable rpi.
It has a bunch of tactile switches and one analog joystick.
It all works perfectly fine on my Mac, but when I try to configure it in Retropie, Left and Up does not work on the analog joystick??
I have no idea why, the joystick is just a regular X, Y axis one.
Any help will be greatly appreciated :)deepdiveredParticipant06/05/2015 at 13:20Post count: 42
any examples of projects with the teensy working. debating doing this rather then just hooking up to the gpio’s
- You must be logged in to reply to this topic.