<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Wilmer's stuff - Stuff that flies</title>
    <link>http://wilmer.gaa.st/blog/</link>
    <description>So today I...</description>
    <dc:language>en</dc:language>
    <admin:errorReportsTo rdf:resource="mailto:" />
    <generator>Serendipity 1.5.3-2 - http://www.s9y.org/</generator>
    <pubDate>Sat, 03 Mar 2012 13:23:27 GMT</pubDate>

    <image>
        <url>http://wilmer.gaa.st/blog/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Wilmer's stuff - Stuff that flies - So today I...</title>
        <link>http://wilmer.gaa.st/blog/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>uhat, using your joystick's hat switch in Linux flight simulators</title>
    <link>http://wilmer.gaa.st/blog/archives/73-uhat,-using-your-joysticks-hat-switch-in-Linux-flight-simulators.html</link>
            <category>Development</category>
            <category>Linux</category>
            <category>Stuff that flies</category>
    
    <comments>http://wilmer.gaa.st/blog/archives/73-uhat,-using-your-joysticks-hat-switch-in-Linux-flight-simulators.html#comments</comments>
    <wfw:comment>http://wilmer.gaa.st/blog/wfwcomment.php?cid=73</wfw:comment>

    <wfw:commentRss>http://wilmer.gaa.st/blog/rss.php?version=2.0&amp;type=comments&amp;cid=73</wfw:commentRss>
    

    <author>blog@wilmer.gaast.net (Wilmer van der Gaast)</author>
    <content:encoded>
    So I have this fun hobby for a while already, flying.. I have around 50 hours logged by now in the US + Ireland, which means I can more or less land safely now, on my own. In fact I had my first solo in October last year which was an absolutely amazing experience. But sometimes weather just doesn&#039;t work with me here in Ireland (either too windy or too cloudy) and instead I go &quot;flying&quot; with X-Plane on my machine at home.&lt;br /&gt;
&lt;br /&gt;
Now X-Plane is a pretty neat simulator, and as long as you use it with a real yoke/stick and not keyboard/mouse, it seems like a useful way to practice. But there&#039;s one way in which a flight simulation projected on a single screen, no matter its size, just doesn&#039;t beat sitting in a cockpit: the inability to look around in any direction by, you know, just turning your head. Instead, joysticks often have this &lt;a href=&quot;http://marsxplr.com/_upl/aviatorlogitechjse-orig.jpg&quot;  class=&quot;bb-url&quot;&gt;hat switch&lt;/a&gt; on the top to look around. Unfortunately in Linux, the joystick driver gets told that the hat switch is a mini-joystick that the user can move up/down, left/right. Instead of just representing it as four separate buttons (which is what they really are anyway, hardware-wise). X-Plane and apparently other flight simulators can&#039;t use this, they need buttons.&lt;br /&gt;
&lt;br /&gt;
This week I wrote &lt;a href=&quot;http://wilmer.gaa.st/main.php/uhat.html&quot;  class=&quot;bb-url&quot;&gt;uhat&lt;/a&gt; to solve this problem. It&#039;ll listen to joystick events and if you move the hat switch axes, it will generate button events on a separate virtual joystick device. There&#039;s a similar tool called jhat, which generates keyboard events instead, but I never really liked the idea of my joystick pretending to be a keyboard and hoped there were a better way to do this. A week ago I found my answer in uinput. It&#039;s poorly documented, but fortunately very simple to figure out. It looks like uinput is just a fairly 1:1 translation of the input subsystem kernel interface into a character device.&lt;br /&gt;
&lt;br /&gt;
It works like a charm for me, with the udev rule I don&#039;t even have to think about it, udev will just start it for me when I plug in my joystick. Hugely enjoying X-Plane 10 again. :-D  
    </content:encoded>

    <pubDate>Sat, 03 Mar 2012 13:23:00 +0000</pubDate>
    <guid isPermaLink="false">http://wilmer.gaa.st/blog/archives/73-guid.html</guid>
    
</item>
<item>
    <title>Bunch of pictures (and updated blog software)</title>
    <link>http://wilmer.gaa.st/blog/archives/48-Bunch-of-pictures-and-updated-blog-software.html</link>
            <category>OSS</category>
            <category>Stuff that flies</category>
    
    <comments>http://wilmer.gaa.st/blog/archives/48-Bunch-of-pictures-and-updated-blog-software.html#comments</comments>
    <wfw:comment>http://wilmer.gaa.st/blog/wfwcomment.php?cid=48</wfw:comment>

    <wfw:commentRss>http://wilmer.gaa.st/blog/rss.php?version=2.0&amp;type=comments&amp;cid=48</wfw:commentRss>
    

    <author>blog@wilmer.gaast.net (Wilmer van der Gaast)</author>
    <content:encoded>
    Sigh. If a PHP coder says &quot;The complete upgrade path is automatted and can be performed with a single mouse click.&quot;, don&#039;t believe him. I just spent almost an hour on a Serendipity upgrade. Maybe it works well if you have a dumbass FTP CGI-exec webhost, but I miss the good old days without &quot;user friendly&quot; installer scripts, where installing a webapp was a matter of unpacking a tarball and feeding a database dump to MySQL. Stuff just worked without having to give the webserver write permissions pretty much everywhere.&lt;br /&gt;
&lt;br /&gt;
But now, after the hackish s9y upgrade I lost the old theme, random plugins broke and I had to reinstall + reconfigure them (after resolving some more permission issues), and the best part must be that the upgrade script does absolutely no error checking. After tons of error messages it says &quot;upgrade successful&quot;. Fortunately it&#039;s also dumb and didn&#039;t mark the upgrade as successful, so I could retry the upgrade after fixing permissions. One day I&#039;ll just figure out how to move all this stuff to Blogger. :-/&lt;br /&gt;
&lt;br /&gt;
Anyway, I promised pictures. Lots of stuff is now on &lt;a href=&quot;http://wilmer.gaast.net/fotos/&quot;  class=&quot;bb-url&quot;&gt;http://wilmer.gaast.net/fotos/&lt;/a&gt;. Don&#039;t have very fast hosting for it yet, but I&#039;ll work that out later. Hilights are the pictures of &lt;a href=&quot;http://wilmer.gaast.net/fotos/?tag=32&quot;  class=&quot;bb-url&quot;&gt;my first flight lesson&lt;/a&gt;, and also pictures of &lt;a href=&quot;http://wilmer.gaast.net/fotos/?tag=37&quot;  class=&quot;bb-url&quot;&gt;my cool model airplane&lt;/a&gt;. Bought it in April (after mostly trashing my &lt;a href=&quot;http://www.hobbyzone.com/rc_planes_hobbyzone_super_cub.htm&quot;  class=&quot;bb-url&quot;&gt;Super Cub&lt;/a&gt; and leaving it behind in Beilen), and got some cool in-flight pictures. I also bought a 37g camera especially designed for attaching to these planes, so soon I&#039;ll be spying on people in the park and around here in Dublin. :-P&lt;br /&gt;
&lt;br /&gt;
Some pretty hiking pictures from this year&#039;s Mountain View trip are also there: &lt;a href=&quot;http://wilmer.gaast.net/fotos/?tag=34&quot;  class=&quot;bb-url&quot;&gt;Big Sur&lt;/a&gt; (under Monterey), &lt;a href=&quot;http://wilmer.gaast.net/fotos/?tag=36&quot;  class=&quot;bb-url&quot;&gt;Rancho San Antonio&lt;/a&gt; (just under Mountain View/Sunnyvale). In other news, I&#039;m flying to New York on the 24th. Not sure if I&#039;ll make any pictures there since probably everything there has been photographed to death already.  
    </content:encoded>

    <pubDate>Sat, 06 Jun 2009 21:25:43 +0000</pubDate>
    <guid isPermaLink="false">http://wilmer.gaa.st/blog/archives/48-guid.html</guid>
    
</item>

</channel>
</rss>
