![]() |
v18 Setup for Nintendo Switch Pro Controller in Leia under Ubuntu ? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222) +--- Forum: Hardware (https://forum.kodi.tv/forumdisplay.php?fid=112) +---- Forum: Peripherals (https://forum.kodi.tv/forumdisplay.php?fid=254) +---- Thread: v18 Setup for Nintendo Switch Pro Controller in Leia under Ubuntu ? (/showthread.php?tid=332326) |
Setup for Nintendo Switch Pro Controller in Leia under Ubuntu ? - Juppstein - 2018-05-29 So far I was able to get the controller connected to Ubuntu 18.04 and at least get it working in Steam BPM in Bluetooth mode (had to do some udev trickery though for the steam client). Jstest-gtk lists the controller and it can be tested and calibrated. In Kodi Leia (nightly Alpha2 20180517) it is even listed under connected devices as „Pro Controller“. The question would be how to properly assign the controller to Kodi and map the buttons, because that is not working at all. Also there is no fitting profile available to choose from, which might be the main issue here? Hope someone can help out a bit RE: Setup for Nintendo Switch Pro Controller in Leia under Ubuntu ? - garbear - 2018-05-30 @Juppstein I wrote an article on how to configure controllers in Krypton+ https://kodi.wiki/view/HOW-TO:Configure_controllers Let me know if this doesn't work (I built the utility a few years ago so new controllers might have problems). RE: Setup for Nintendo Switch Pro Controller in Leia under Ubuntu ? - Juppstein - 2018-06-01 Thanks for the link, that did the trick. The controller is now set up in Kodi and working, excep the right joystick. But apparently this is an issue with the controller under linux at the moment. But I am ok with that, it works well enough for Kodi to be used as an alternative to a XBox 360 controller. RE: Setup for Nintendo Switch Pro Controller in Leia under Ubuntu ? - garbear - 2018-06-01 Awesome! Can you upload your button map so the switch controller works out of the box? Github PR preferred. There's an article on the wiki. RE: Setup for Nintendo Switch Pro Controller in Leia under Ubuntu ? - Juppstein - 2018-06-01 @garbear , done and done. Hope I made everything correctly, as this is my first forray into github in regards to forking and pull requests ![]() As a side question, do I have to do anything special in order to get controllers to work in retroplayer? I built kodi from a nightly and then added some cores. The games load up properly but none of my controllers (xbox 360, Switch Pro or an 8bitdo Arcade stick) will do anything in any core I was trying (nes, snes, segagenesis). I can open the controller panel from within retroplayer and assign buttons and all that, they just dont do anything though. RE: Setup for Nintendo Switch Pro Controller in Leia under Ubuntu ? - garbear - 2018-06-01 (2018-06-01, 18:42)Juppstein Wrote: @garbear , done and done. Hope I made everything correctly, as this is my first forray into github in regards to forking and pull requests I think that officially makes you a developer ![]() (2018-06-01, 18:42)Juppstein Wrote: As a side question, do I have to do anything special in order to get controllers to work in retroplayer? I built kodi from a nightly and then added some cores. The games load up properly but none of my controllers (xbox 360, Switch Pro or an 8bitdo Arcade stick) will do anything in any core I was trying (nes, snes, segagenesis). I can open the controller panel from within retroplayer and assign buttons and all that, they just dont do anything though. You need to build the peripheral.joystick add-on. The Readme at my Kodi repo links to instructions here: https://github.com/kodi-game/peripheral.joystick RE: Setup for Nintendo Switch Pro Controller in Leia under Ubuntu ? - Juppstein - 2018-06-02 @garbear this I have already done before and the addon seems to be loading properly. Though looking through the log files in kodi I see that retroplayer is expecting xml files for a game when it is run or loaded. If I should open a new thread for this in the retroplayer forum just tell me. I dont wanna clog up space in the wrong place ![]() In regards to the buttonmap I will try to start this push merge thing from scratch. Seems I messed it up for you guys, sorry in case I caused too much trouble. I am too new with this github stuff ![]() Quote: RE: Setup for Nintendo Switch Pro Controller in Leia under Ubuntu ? - garbear - 2018-06-02 (2018-06-02, 10:33)Juppstein Wrote: Though looking through the log files in kodi I see that retroplayer is expecting xml files for a game when it is run or loaded. Yes, Kodi implements auto-save by saving an XML file alongside the ROM. This should be generated on first play, though I've experienced this being generated in the wrong directory. I'll look into it. (2018-06-02, 10:33)Juppstein Wrote: Seems I messed it up for you guys, sorry in case I caused too much trouble. I am too new with this github stuff On the contrary, I think it's awesome you're participating in the development effort. More people should look under the hood and figure out how things work. If you get stuck (the tools can be difficult) I'm here to help. RE: Setup for Nintendo Switch Pro Controller in Leia under Ubuntu ? - Juppstein - 2018-06-09 @garbear Thanks for the help. I've tried a new commit/pull request and I hope this time it is clean enough for you to be able to work with it ![]() RE: Setup for Nintendo Switch Pro Controller in Leia under Ubuntu ? - garbear - 2018-06-09 (2018-06-09, 11:35)Juppstein Wrote: @garbear Thanks for the help. I've tried a new commit/pull request and I hope this time it is clean enough for you to be able to work with it Merged. Thanks for joining the development effort! |