Forum Replies Created
-
AuthorPosts
-
rasmushauschildParticipant
Thank you so much!
rasmushauschildParticipantThanks a lot!
It worked for me too!rasmushauschildParticipantHi, sorry for not answering!
So I got it to work perfectly by editing some config files, as you wrote!
Thank you so much for your help!rasmushauschildParticipantHere’s the link to the screen https://www.adafruit.com/products/1431
I’m not home right now, but I’ll try to disable emulation station as you wrote when I get home :)rasmushauschildParticipantYes, it does that every where except emulationstation.
rasmushauschildParticipantHi, So I actually got the thumbstick working, by copying and pasting the analog thumbstick code from a PS3 controller-config file. But when I try to walk around in super mario 64 he’s walking so slow. I think this is because my thumbstick is the same as you would find I a PSP (it’s very small compared to a regular thumbstick).
So how can I change the code, so retroarch knows the max value of the thumbstick (so that when I press it all the way the forward Mario will run (as if played with an original n64 gamepad) instead of walking very slow.
ThanksrasmushauschildParticipantHi, I tried to create the new “joypadtest” in /opt/retropie/configs/all/retroarch-joypads. At first it didn’t work, but I then changed the iproduct/name to the one shown in jstest, and it worked! I got the yellow text, and my gamepad was fully functional in any retroarch game! Now the only thing left to do is to get the analog thumbstick to work. Could I just copy-paste the part, coding for the analog joypad from another config-file in /opt/retropie/configs/all/retroarch-joypads?
Now it’s the teensy, that is in the “/home/pi/.emulationstation/es_temporaryinput.cfg”.
Here’s the new picture: http://minifactory.dk/test.html
You’ll see, that it has only 2 analog axes from the thumbstick, this is because it wont let me register both up and down or left and right in emulationstation, however in the retroarch controller setup/configuration it will sometimes accept all directions.
ThanksrasmushauschildParticipantSure, thanks
rasmushauschildParticipantHi, I’ll try that config-file tomorrow.
Thank you so much, for putting this much effort into helping me out! :)A very important thing for me is to have a full analog thumbstick, since I love n64 games. And I don’t think you can have that, if the Teensy is programmed as a keyboard, but I might be wrong?
In the directory “/home/pi/.emulationstation/es_temporaryinput.cfg” there is a configuration-file for my keyboard. i’ve posted a picture of the file here: http://minifactory.dk/test.html
Thanks again :)rasmushauschildParticipantHi, it seems like I can’t upload any images to this forum…
I have uploaded both images of the jstest on my own website: http://minifactory.dk/test.html
sorry for the delay :)rasmushauschildParticipantThe iProduct “value” is: 2 Serial/Keyboard/Mouse/Joystick
the Jstes is almost unreadeble on my Mac, so I also took picture of the screen with the raspberry pi. I’ll upload both. Also when I move the thumbstick all the text and values scroll down the screen – not like the jstest I can do with my SNES USB gamepad.Also in my last post I wrote: Could it be because the name of the gamepad (TeensyduinoSerial/Keyboard/Mouse/Joystick) includes “/”? I think that Retroarch gets confused, and thinks that the name of my gamepad is a directory. However in the output, when I type lsusb, all “/” are replaced by “+”.
What do you think, could this be the reason why Retrach doesn’t save my gamepad config-file?Do you have any idea if this could be the case?
ThanksrasmushauschildParticipantSure :)
When i type lsusb with the Teensy gamepad plugged in it says:
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 16c0:0487 VOTI Teensyduino Serial+Keyboard+Mouse+JoystickThe Bus 001 Device 005 is my gamepad
Also I think I might know why retroarch won’t save the controller config-file. Could it be because the name of the gamepad (TeensyduinoSerial/Keyboard/Mouse/Joystick) includes “/”? I think that Retroarch gets confused, and thinks that the name of my gamepad is a directory. However in the output, when I type lsusb, all “/” are replaced by “+”.
What do you think, could this be the reason why Retrach doesn’t save my gamepad config-file?
Thank you in adavncerasmushauschildParticipantHi again. To get the iproduct value, should I just try to type lsusb -v in the home directory? The file that you’re linking to is the USBGamepad.cfg in /opt/retropie/configs/all/retroarch-joypads right?
If so, I only see “code” for one directional control, and my gamepad has both an analog thumbstick and a controll cross. I believe, that the axes up, down, left and right in the USBGamepad.cfg file are for a control cross? Can I add an analog thumbstick to the USBGamepad.cfg file? If so, then how?
ThanksrasmushauschildParticipantHi.
The jstest displays all the buttons and analog axes and their number/mapping.
Yes, the teensy board that i’m using is just the same as in that toturial. However I didn’t write my script in HEX, but in the Arduino IDE. Also my controller has been made from parts, if that makes any difference :)
Tank you in advancerasmushauschildParticipantBen Heck Show did one
rasmushauschildParticipantHi 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 :)rasmushauschildParticipantYea, I have the exact same problem myself!
But I can’t find anyone with a solution!!rasmushauschildParticipantHi Floob.
I have tried all the commands but they all resultat in an error message “no such file directory. Do you know why?rasmushauschildParticipantthank you so much, it works now :)
-
AuthorPosts