{"id":383,"date":"2009-01-16T00:45:33","date_gmt":"2009-01-15T23:45:33","guid":{"rendered":"http:\/\/mattiesworld.gotdns.org\/weblog\/2009\/01\/16\/controlling-xmms-using-a-gamepad\/"},"modified":"2009-01-16T00:46:27","modified_gmt":"2009-01-15T23:46:27","slug":"controlling-xmms-using-a-gamepad","status":"publish","type":"post","link":"https:\/\/mattiesworld.gotdns.org\/weblog\/2009\/01\/16\/controlling-xmms-using-a-gamepad\/","title":{"rendered":"Controlling XMMS using a gamepad"},"content":{"rendered":"<p>On windows I used to control winamp using global shortcuts. Since I didn&#8217;t immediately find this plugin on linux (although google seems to suggest it exists), I tried the joystick control plugin. But I never used a joystick before on linux.. \ud83d\ude42<\/p>\n<p>I plugged in my <a href=\"http:\/\/www.logitech.com\/index.cfm\/gaming\/pc_gaming\/gamepads\/devices\/288&#038;cl=US,EN\">Logitech Dual Action Gamepad<\/a> and a cpu spike indicated something got detected. \ud83d\ude09 I didn&#8217;t have high hopes it would work in <a href=\"http:\/\/en.wikipedia.org\/wiki\/Xmms\">XMMS<\/a> though, since that&#8217;s about as archaic as one can get with a gui app. \ud83d\ude09 I enabled the libjoy.so plugin and set the path right to \/dev\/input\/js0 instead of the default \/dev\/js0. I tried some button and some joystick. It didn&#8217;t do anything.<\/p>\n<p>Let&#8217;s have a look at Yast. Yes, it has a joystick module, but it didn&#8217;t seem to list my gamepad. But then I read in the side column that you don&#8217;t have to configure anything if you use an USB gamepad. So next thing was to try KDE&#8217;s control center which turns out to also have joystick module. Indeed, the gamepad with all its axes and buttons was properly detected! While I was there, I also did a calibration, mostly for fun, as it didn&#8217;t seem necessary. So why didn&#8217;t it work with XMMS, because it was just too old?<\/p>\n<p>In a final attempt, I tried testing a &#8220;general analog joystick&#8221; in yast, which triggered a package install (don&#8217;t remember which one). I don&#8217;t know if it was the package that did the trick, but after that, it worked in XMMS! It was just a matter of finding out the right buttons by trial and error (the mapping didn&#8217;t correspond to KDE&#8217;s mapping).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On windows I used to control winamp using global shortcuts. Since I didn&#8217;t immediately find this plugin on linux (although google seems to suggest it exists), I tried the joystick control plugin. But I never used a joystick before on linux.. \ud83d\ude42 I plugged in my Logitech Dual Action Gamepad and a cpu spike indicated &hellip; <a href=\"https:\/\/mattiesworld.gotdns.org\/weblog\/2009\/01\/16\/controlling-xmms-using-a-gamepad\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Controlling XMMS using a gamepad<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,20,10],"tags":[],"class_list":["post-383","post","type-post","status-publish","format-standard","hentry","category-linux","category-suse","category-tweaking"],"_links":{"self":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts\/383","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/comments?post=383"}],"version-history":[{"count":0,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts\/383\/revisions"}],"wp:attachment":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/media?parent=383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/categories?post=383"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/tags?post=383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}