<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>jstest-gtk | Learn C Games Programming Blog</title>
	<atom:link href="https://learncgames.com/tag/jstest-gtk/feed/" rel="self" type="application/rss+xml" />
	<link>https://learncgames.com</link>
	<description>A blog about C, programming games and my ebook(s).</description>
	<lastBuildDate>Sun, 03 May 2020 14:20:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://learncgames.com/wp-content/uploads/2020/03/cropped-favicon-32x32.png</url>
	<title>jstest-gtk | Learn C Games Programming Blog</title>
	<link>https://learncgames.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">181446779</site>	<item>
		<title>More on Raspberry Pi Gamepad</title>
		<link>https://learncgames.com/more-on-raspberry-pi-gamepad/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=more-on-raspberry-pi-gamepad</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Wed, 13 May 2020 23:00:16 +0000</pubDate>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[raspberry-pi]]></category>
		<category><![CDATA[gamepad]]></category>
		<category><![CDATA[gamepadtool]]></category>
		<category><![CDATA[jstest]]></category>
		<category><![CDATA[jstest-gtk]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=581</guid>

					<description><![CDATA[<p>Unfortunately there&#8217;s no gamepad-tool for the PI, but there is a program called jstest and in particular a visual one called jstest-gtk. That&#8217;s it on the left. You install it on any Linux system, including Raspbian on the Pi with the command sudo apt install jstest-gtk Then run it with a jstest-gtk command from a [&#8230;]</p>
The post <a href="https://learncgames.com/more-on-raspberry-pi-gamepad/">More on Raspberry Pi Gamepad</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="alignleft size-full wp-image-582" src="https://learncgames.com/wp-content/uploads/2020/05/jstest-gtk.png" alt="jstest-gtk" width="306" height="614" srcset="https://learncgames.com/wp-content/uploads/2020/05/jstest-gtk.png 306w, https://learncgames.com/wp-content/uploads/2020/05/jstest-gtk-150x300.png 150w" sizes="(max-width: 306px) 100vw, 306px" />Unfortunately there&#8217;s no gamepad-tool for the PI, but there is a program called jstest and in particular a visual one called jstest-gtk. That&#8217;s it on the left. You install it on any Linux system, including Raspbian on the Pi with the command</p>
<pre><code class="language-c" data-line="">sudo apt install jstest-gtk</code></pre>
<p>Then run it with a <em>jstest-gtk</em> command from a terminal.</p>
<p>It then detects your game pad and responds to button presses and joystick movements.</p>
<p>The weird thing is although my gamepad identifies it as a NEXT SNES but so far attempts to load that have not been successful in the Asteroids game. It loads but doesn&#8217;t seem to work and its not recognising the right shoulder button and has A and B buttons muddled up. Yet in jstest, it is clearly able to identify them.</p>
<p>Time I think to create a mapping under Linux with gamepadtool. Unfortunately it doesn&#8217;t work on the Hyper-V Ubuntu so it&#8217;s time to fetch my Linux laptop and try it on that.</p>
<p>&nbsp;</p>The post <a href="https://learncgames.com/more-on-raspberry-pi-gamepad/">More on Raspberry Pi Gamepad</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">581</post-id>	</item>
	</channel>
</rss>
