<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Maratis forum - Joystick support for Linux]]></title>
		<link>http://forum.maratis3d.com/viewtopic.php?id=629</link>
		<description><![CDATA[The most recent posts in Joystick support for Linux.]]></description>
		<lastBuildDate>Thu, 08 Aug 2013 11:58:06 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Joystick support for Linux]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4532#p4532</link>
			<description><![CDATA[<p>Again, I fixed a bug about two axes being interchanged.<br />Additionally I cleaned up the code.</p><p>Patch: <a href="http://pastebin.com/i0p6dTAy">http://pastebin.com/i0p6dTAy</a></p><p>Sponk</p>]]></description>
			<author><![CDATA[dummy@example.com (Sponk)]]></author>
			<pubDate>Thu, 08 Aug 2013 11:58:06 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4532#p4532</guid>
		</item>
		<item>
			<title><![CDATA[Re: Joystick support for Linux]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4124#p4124</link>
			<description><![CDATA[<p>I fixed a bug affecting people using two joysticks at the same time.</p><p>Patch: <a href="http://pastebin.com/XCpGUDWB">http://pastebin.com/XCpGUDWB</a></p><p>Sponk</p>]]></description>
			<author><![CDATA[dummy@example.com (Sponk)]]></author>
			<pubDate>Tue, 07 May 2013 08:15:38 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4124#p4124</guid>
		</item>
		<item>
			<title><![CDATA[Re: Joystick support for Linux]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4123#p4123</link>
			<description><![CDATA[<p>usmangani289: Thanks for your feedback!</p><p>About the reconnect: It does not work because the joystick gets initialized once the game starts. Reconnecting could lead to undefined behaviour. I will see whether I can make some PnP detection to detect reconnected and newly connected devices.</p><p>About the &#039;precision mode&#039;: I don&#039;t think I could do something about it. I get data from the driver as it comes. I don&#039;t change anything about the values. If the button was common for all joysticks I could try to emulate the wanted behaviour but I think it&#039;s not that common for a joystick to even have this button.</p><p>I read about the vibration feature but I don&#039;t know how to expose it to the Maratis SDK since there is no engine support for that yet (As far as I know).</p><p>Thanks for you feedback <img src="http://forum.maratis3d.com/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /><br />I will see what I can do about your &#039;problems&#039; <img src="http://forum.maratis3d.com/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><p>Sponk</p>]]></description>
			<author><![CDATA[dummy@example.com (Sponk)]]></author>
			<pubDate>Tue, 07 May 2013 08:03:02 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4123#p4123</guid>
		</item>
		<item>
			<title><![CDATA[Re: Joystick support for Linux]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4027#p4027</link>
			<description><![CDATA[<p>Will test on my Fedora 17 box as soon as i get hold of a another joystick <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" />. Thanks for your efforts Sponk!</p>]]></description>
			<author><![CDATA[dummy@example.com (Alf)]]></author>
			<pubDate>Fri, 19 Apr 2013 08:16:37 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4027#p4027</guid>
		</item>
		<item>
			<title><![CDATA[Re: Joystick support for Linux]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4017#p4017</link>
			<description><![CDATA[<p>Lamberto: So it now works as expected? Could you please describe exactly your steps to make it work?</p><p>I still don&#039;t know what exactly caused the failure. Maybe I will find it later <img src="http://forum.maratis3d.com/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><p>TaeZ: You could possibly fix it the same way as Lamberto</p><p>Nice to hear that it is not solely my fault <img src="http://forum.maratis3d.com/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><p>Sponk</p>]]></description>
			<author><![CDATA[dummy@example.com (Sponk)]]></author>
			<pubDate>Wed, 17 Apr 2013 17:19:09 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4017#p4017</guid>
		</item>
		<item>
			<title><![CDATA[Re: Joystick support for Linux]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4010#p4010</link>
			<description><![CDATA[<div class="quotebox"><cite>Sponk wrote:</cite><blockquote><p>Are you sure you used the version from SVN while testing?</p></blockquote></div><p>sure but ... wait.<br />I was adding some printf in your code to figure out where the problem was, and... now it works! mumble mumble...&nbsp; it may be due from some package installed by jstest-gtk. I must try Maratis svn version on freshly installed Ubuntu machine.</p><p>Lamberto</p>]]></description>
			<author><![CDATA[dummy@example.com (Lamberto)]]></author>
			<pubDate>Wed, 17 Apr 2013 09:12:26 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4010#p4010</guid>
		</item>
		<item>
			<title><![CDATA[Re: Joystick support for Linux]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4005#p4005</link>
			<description><![CDATA[<p>Hi,</p><p>I&#039;ve tested cheap ACME gamepad on Ubuntu 12.04 (Maratis r200), but it doesn&#039;t work me either. Gamepad is functioning fine. Can I give you any more info to make it easier to debug?</p>]]></description>
			<author><![CDATA[dummy@example.com (TaeZ)]]></author>
			<pubDate>Tue, 16 Apr 2013 20:30:46 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4005#p4005</guid>
		</item>
		<item>
			<title><![CDATA[Re: Joystick support for Linux]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4004#p4004</link>
			<description><![CDATA[<p>I don&#039;t really know why it does not work for you.<br />The driver seems to be loaded and function properly.</p><p>Are you sure you used the version from SVN while testing?<br />You can find it in </p><div class="codebox"><pre><code>trunk/dev/prod/linux2/release/Maratis/Bin</code></pre></div><p>in your Maratis source directory.</p><p>Sponk</p>]]></description>
			<author><![CDATA[dummy@example.com (Sponk)]]></author>
			<pubDate>Tue, 16 Apr 2013 19:45:09 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4004#p4004</guid>
		</item>
		<item>
			<title><![CDATA[Re: Joystick support for Linux]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4003#p4003</link>
			<description><![CDATA[<p>lsusb returns<br /></p><div class="codebox"><pre><code>Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 056a:0010 Wacom Co., Ltd Graphire
Bus 001 Device 006: ID 12bd:d012  
Bus 001 Device 005: ID 058f:6364 Alcor Micro Corp. AU6477 Card Reader Controller
Bus 002 Device 003: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 002 Device 004: ID 046d:09a5 Logitech, Inc. Quickcam 3000 For Business
Bus 002 Device 005: ID 1a1d:8301 Veho 
Bus 002 Device 008: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth
Bus 002 Device 007: ID 0409:02b9 NEC Corp. </code></pre></div><p>joypad is Bus 001 Device 006: ID 12bd:d012</p><p>I tried &quot;cat /dev/input/js0&quot; that returns weird characters while pressing joypad buttons (meaning it works)</p><p>as final test used jstest-gtk and output is fine</p><p>any guess?<br />Lamberto</p>]]></description>
			<author><![CDATA[dummy@example.com (Lamberto)]]></author>
			<pubDate>Tue, 16 Apr 2013 08:53:07 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4003#p4003</guid>
		</item>
		<item>
			<title><![CDATA[Re: Joystick support for Linux]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4002#p4002</link>
			<description><![CDATA[<p>I can&#039;t reproduce it.<br />I get correct output.</p><p>Could you give me the output of</p><div class="codebox"><pre><code>lsusb</code></pre></div><p>and</p><div class="codebox"><pre><code>/dev/input/js0</code></pre></div><p>using the terminal?</p><p>Sponk</p><p>EDIT: I used the code stated earlier</p>]]></description>
			<author><![CDATA[dummy@example.com (Sponk)]]></author>
			<pubDate>Mon, 15 Apr 2013 19:23:13 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4002#p4002</guid>
		</item>
		<item>
			<title><![CDATA[Re: Joystick support for Linux]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3999#p3999</link>
			<description><![CDATA[<p>Hi Sponk<br />this is the code I used for testing<br /></p><div class="codebox"><pre><code>function onSceneUpdate()
    print(getAxis(&quot;JOY1_Y&quot;))
    print(isKeyPressed(&quot;JOY1_BUTTON1&quot;))
end</code></pre></div><p>just tried on different machine (same OS) with different joypad and I got same result:<br /></p><div class="codebox"><pre><code>0
false</code></pre></div><p>Lamberto</p>]]></description>
			<author><![CDATA[dummy@example.com (Lamberto)]]></author>
			<pubDate>Mon, 15 Apr 2013 09:59:53 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3999#p3999</guid>
		</item>
		<item>
			<title><![CDATA[Re: Joystick support for Linux]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3994#p3994</link>
			<description><![CDATA[<p>Lamberto: What code did you use to test the functionality? (I mean the lua code)</p><p>I tested it with three different joysticks on Ubuntu 12.10, Ubuntu 13.04 and openSUSE 12.3.<br />All three worked without any problems.</p><p>Does your joystick work with other programs/games?</p><p>Do you use multiple joysticks? I found a bug when using two controllers at the same time (I will fix it later today).</p><p>Sponk</p><p>PS: Thanks for your feedback <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>EDIT: Fixed typo</p>]]></description>
			<author><![CDATA[dummy@example.com (Sponk)]]></author>
			<pubDate>Sun, 14 Apr 2013 09:27:52 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3994#p3994</guid>
		</item>
		<item>
			<title><![CDATA[Re: Joystick support for Linux]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3993#p3993</link>
			<description><![CDATA[<p>Ubuntu linux 12.10<br />current svn compiles without errors<br />can&#039;t get joystick input</p>]]></description>
			<author><![CDATA[dummy@example.com (Lamberto)]]></author>
			<pubDate>Sun, 14 Apr 2013 07:18:12 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3993#p3993</guid>
		</item>
		<item>
			<title><![CDATA[Re: Joystick support for Linux]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3954#p3954</link>
			<description><![CDATA[<p>The patch is in the trunk, thank you Sponk !</p><p>I don&#039;t have access to linux to test it, is there a linux user that can help with this ?<br />&gt; first by testing that the compilation is going without errors<br />&gt; then by testing a controller</p><p>Thanks for the help.</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Wed, 10 Apr 2013 05:21:37 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3954#p3954</guid>
		</item>
		<item>
			<title><![CDATA[Re: Joystick support for Linux]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3908#p3908</link>
			<description><![CDATA[<p>Hi, thanks !<br />I will merge your patch to the trunk when I find some time,<br />nice work !</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Wed, 03 Apr 2013 15:13:21 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3908#p3908</guid>
		</item>
	</channel>
</rss>
