8bitdo fc30 pro does not work in kodi
-
It registers negative and positive values. What is exactly your problem ? Nothing works or only the analog joysticks ? Did you created your own keymap.xml ? You have to do it for that joypad. If yes post it here. The Kodi log should be helpfull.
-
yeah my bad for the lack of detail. here is my joystick.xml.
i don't have any issues with the buttons but the dpad and thumbsticks have issues. the only directions that work are up and left on the thumbsticks. not sure if the kodi log is gonna help as it seems kodi doesn't log thumbstick inputs but you can view it at
as you can see the hat/dpad inputs are logged but nothing occurs. what is weird is that my wired usb snes controller works without any issues.
i was assuming the following bug fix from a different developer is the issue
https://github.com/recalbox/recalbox-configgen/commit/2605e90d19d878298b16cf12aad99156a6bb163e
https://github.com/recalbox/recalbox-configgen/commit/e076537c3694103f50f5944ec918e7e21ea297dalet me know if you need more details.
-
Your keymap seems good, in the log the joystick is detected but it doesn't seem to be working fine, too many key repeats. That commits don't apply to RetroPie and this Kodi version, it's not that. Probably a bug with only that joystick, likely something related to hats axes in SDL. I will take a look at it on the next Kodi version.
In the meantime if you can't fix it by edditing keymap.xml, disable the hats in the xml, than the d-pad should work fine. -
@Rascas thank you so far for you assistance. I tried commenting out the "hat id" stuff but i am still not able to use the dpad in kodi.
i am assuming you are a busy person so you will be looking deeper into the issue when you get some time but do you happen to a have a ballpark estimate of when you will look into it?
-
You have to comment all the axis unless the d-pad one. Take a look of some working examples here:
https://github.com/xbmc/xbmc/tree/Jarvis/system/keymaps
https://github.com/HerbFargus/kodi-joypads/tree/master/keymaps
I will take a look when next Kodi version comes out, 16.2. -
@Rascas i c right on. i'll try and compile from source to see if the issue persist.
-
There is no joystick support in Kodi 16 official source code for the Raspberry Pi, it will have only on 17. I backported the code to 16.
-
Ahh, you backported Garbear's code from Krypton! Sweet deal. I've been anxious to give that a go. I might try it out this evening. Obviously it's a very early incarnation, but it looks to be a huge improvement from what came before. I'm sure all of Retroplayer will be very impressive when it's complete. They really seem to be dotting all the lower case "j"s.
-
I have a Kodi 17 Krypton build available, it is working fine for me but I didn't have tested it much. The joysticks don't work as good as in Kodi 16, but might work for @rt .
If you want to test it, edit /etc/apt/sources.list.d/pipplware.list and add this for Pi 2 and 3 (ARMv7):
deb http://dl.bintray.com/pipplware/dists/unstable/armv7/binary/ /
Or this for RPi 1 (ARMv6):
deb http://dl.bintray.com/pipplware/dists/unstable/main/binary/ /
And update and upgrade:
sudo apt-get update && sudo apt-get dist-upgrade
-
OK, thanks. I just hope that running RetroPlayer in Kodi through a RetroPie distribution doesn't somehow create Skynet or anything.
-
RetroPlayer isn't part of Kodi 17 Krypton already, only the joystick module/addon, at least at the time I compiled it. I think it will be only on the next version.
But when it became part of Kodi, there shouldn't be any conflict with RetroPie. -
Good to know. I could barely follow Genisys. I don't need that same aggravation from my gaming console. Thanks for your work with this. I look forward to trying it out.
-
@Rascas ahh it looks like i only saw a part of your message and didn't see the whole "comment all the axis". i tried removing both the axis and hats(also tried just commenting out the axis) and still had issues. I'll try and install kodi from your unstable repo. and will update you accordingly. thanks again.
-
@Rascas I was able to upgrade to 17.
root@raspberrypi:/opt/temp/peripheral.joystick# dpkg -l|grep kodi
ii kodi 2:17.0~git20160313.188ff0e-4~jessie all Kodi Media Center (arch-independent data package)
ii kodi-bin 2:17.0~git20160313.188ff0e-4~jessie armhf Kodi Media Center (binary data package)
root@raspberrypi:/opt/temp/peripheral.joystick#however it looks like kodi doesn't recognize any of my controllers(usb and bluetooth) as "Configure attached controllers" is greyed out. Is there something else I need to do to get my controller recognized by kodi?
-
In Kodi 16, you were suposed to configure only the d-pad, so only 4 axis lines with the corresponding ids of your d-pad. Something like this:
https://github.com/HerbFargus/kodi-joypads/blob/master/keymaps/retrolinksnes.xmlIn Kodi 17 you have to activate the Joystick Support in the peripheral addons. If after that your joystick still doesn't work, you have to report it upstream since I didn't touch the joystick support in Kodi 17.
-
I've made some progress with the 8bitdo in kodi, I'm at a point where it's functional, but definitely not working the right way. The major problem is that it seems like only left and up work on either analog stick. I haven't got the dpad to work at all.
My specs:
Retropie 3.7
8bitdo NES30 Pro w/ firmware 1.68- Mode 1 (power button only - works well for me in most emulators)
Kodi 16.1 installed from RP install script
Basically I've got it so with this joystick config, I can navigate L, R, U, D,select and go back. The downside is it's weird. The left stick works to go left and up, the right stick works to go right and down, but to go right you actually have to push left on the right stick. and to go down, you push up on the right stick. The X and Y buttons work I just left them unbound for now while I try to get directionals working. Also L2 is set to exit kodi.
Left and Up are the only 2 positions on each stick that I have been able to get functional in Kodi. It doesn't seem like any positive axis values or id's work at all.
Here's my ~/.kodi/userdata/keymaps/joystick.xml
<keymap>
<global>
<joystick name="8Bitdo NES30 Pro">
<button id="9">Quit</button><!--LEFTSHOULDER-MIDDLE-->
<button id="1">Select</button><!--A BUTTON-->
<button id="2">Back</button><!--B BUTTON-->
<axis id="3" limit="-1">Right</axis><!--RIGHT-->
<axis id="1" limit="-1">Left</axis><!--LEFT-->
<axis id="2" limit="-1">Up</axis><!--UP-->
<axis id="4" limit="-1">Down</axis><!--DOWN-->
</joystick>
</global>
</keymap>Here is my evtest output if it helps anyone:
http://pastebin.com/UcPHKvYnRunning out of ideas, I've tried all sorts of different combos to get them to work.
- Mode 1 (power button only - works well for me in most emulators)
-
This post is deleted! -
@theroamer Can you test with latest Open/LibreELEC, Kodi 17 ?
-
@theroamer yup same problem with me. i can get this half baked setup where i use up and left only to navigate the menu but for whatever reason positive axis limits don't work at all. and no matter what i do i can't get the dpad to work at all.
-
@Rascas said in 8bitdo fc30 pro does not work in kodi:
In Kodi 16, you were suposed to configure only the d-pad, so only 4 axis lines with the corresponding ids of your d-pad. Something like this:
https://github.com/HerbFargus/kodi-joypads/blob/master/keymaps/retrolinksnes.xmlIn Kodi 17 you have to activate the Joystick Support in the peripheral addons. If after that your joystick still doesn't work, you have to report it upstream since I didn't touch the joystick support in Kodi 17.
sorry for taking for ever to try this stuff out just been a little busy.
in kodi 16 i have tried every single combination of axis and still was not able to get the dpad to work. i may just wait until version 16.2 as i can still navigate through the menu even though it's not ideal.
in kodi 17, the peripheral addon for joystick was enabled but the "configuration attached controllers" is still greyed out. I guess i'll have to report it upstream.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.