<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[ChipMusic.org - How do I specify "hat(0):..." in mapping.xml?]]></title>
		<link>https://chipmusic.org/forums/topic/15448/how-do-i-specify-hat0-in-mappingxml/</link>
		<description><![CDATA[The most recent posts in How do I specify "hat(0):..." in mapping.xml?.]]></description>
		<lastBuildDate>Thu, 17 Dec 2020 13:50:27 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: How do I specify "hat(0):..." in mapping.xml?]]></title>
			<link>https://chipmusic.org/forums/post/264591/#p264591</link>
			<description><![CDATA[<b><i>herr_prof says:</i></b><p>Yea you defo need a controller with shoulder buttons! Every port it has been for has been at least snes controller spec</p>]]></description>
			<pubDate>Thu, 17 Dec 2020 13:50:27 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/264591/#p264591</guid>
		</item>
		<item>
			<title><![CDATA[Re: How do I specify "hat(0):..." in mapping.xml?]]></title>
			<link>https://chipmusic.org/forums/post/264590/#p264590</link>
			<description><![CDATA[<b><i>MazHoot says:</i></b><p>I have found an other USB controller I had somewhere, but it&#039;s nes style, dpad, select, start, A and B, no shoulder. </p><p>I tried to map both shoulder left and right to select, and it works for the page, I can go everywhere except quitting project screen, but I can&#039;t do copy operations like select+b in LSDJ (shoulder L + b in LGPT)</p><p>So it means that only shoulder right works, i can&#039;t mapp select to both shoulder right and left, only the first assignation will work<br />That should be better if select could do the job like on LSDJ. I think maybe it&#039;s that because it was created for consoles which don&#039;t have select at good position, but maybe this can be also changed? Maybe have to compile lgpt for that...</p><p>So I think I will just try with other controllers (have to buy new...) until it works good. One with no joystick but Dpad and shoulders should be a good candidate.</p>]]></description>
			<pubDate>Thu, 17 Dec 2020 12:37:27 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/264590/#p264590</guid>
		</item>
		<item>
			<title><![CDATA[Re: How do I specify "hat(0):..." in mapping.xml?]]></title>
			<link>https://chipmusic.org/forums/post/264583/#p264583</link>
			<description><![CDATA[<b><i>MazHoot says:</i></b><p>Hello (after 6 years... but I have exactly the same problem).</p><p>The joystick react but I think my controller is a little ruined and it&#039;s hard to use lgpt with it as cursor goes sometimes to right instead of down etc because you have to be very specific. For the D-pad, that should be better but...<br />I have that :</p><p>LOG: hat(0)::0=8<br />LOG: hat(0)::0=0<br />LOG: hat(0)::0=4<br />LOG: hat(0)::0=0<br />LOG: hat(0)::0=2<br />LOG: hat(0)::0=0<br />LOG: hat(0)::0=1<br />LOG: hat(0)::0=0</p><p>So I tried hat:0:0:1 like egr said in this post but it don&#039;t work for me. There is the &quot;=&quot; which was not on egr&#039;s controller.</p>]]></description>
			<pubDate>Wed, 16 Dec 2020 18:23:47 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/264583/#p264583</guid>
		</item>
		<item>
			<title><![CDATA[Re: How do I specify "hat(0):..." in mapping.xml?]]></title>
			<link>https://chipmusic.org/forums/post/219616/#p219616</link>
			<description><![CDATA[<b><i>egr says:</i></b><p>The solution was to use all three digits just like in the log output.&nbsp; Like hat:0:0:0</p><p>Trust the log.&nbsp; It is wise and just.</p><p>(also Marc was kind enough to help me)</p>]]></description>
			<pubDate>Wed, 22 Oct 2014 23:59:15 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/219616/#p219616</guid>
		</item>
		<item>
			<title><![CDATA[How do I specify "hat(0):..." in mapping.xml?]]></title>
			<link>https://chipmusic.org/forums/post/219545/#p219545</link>
			<description><![CDATA[<b><i>egr says:</i></b><p>I&#039;m mapping an xbox afterglow gamepad for piggy use.&nbsp; The dpad is unfortunately the &quot;hat&quot; joystick axis.&nbsp; What&#039;s the correct syntax for this in mapping.xml?</p><p>The piggy event dump for the dpad is this:</p><p>[EVENT] hat(0)::0::3<br />[EVENT] hat(0)::0::1<br />[EVENT] hat(0)::0::0<br />[EVENT] hat(0)::0::2</p><p>and what I&#039;ve tried already is this:</p><p>&lt;MAPPINGS&gt;<br />&lt;MAP src=&quot;hat:0:0&quot; dst=&quot;/event/up&quot; /&gt;<br />&lt;MAP src=&quot;hat:0:2&quot; dst=&quot;/event/down&quot; /&gt;<br />&lt;MAP src=&quot;hat:0:3&quot; dst=&quot;/event/left&quot; /&gt;<br />&lt;MAP src=&quot;hat:0:1&quot; dst=&quot;/event/right&quot; /&gt;<br />&lt;MAP src=&quot;but:0:0&quot; dst=&quot;/event/a&quot; /&gt;<br />&lt;MAP src=&quot;but:0:1&quot; dst=&quot;/event/b&quot; /&gt;<br />&lt;MAP src=&quot;but:0:2&quot; dst=&quot;/event/a&quot; /&gt;<br />&lt;MAP src=&quot;but:0:3&quot; dst=&quot;/event/b&quot; /&gt;<br />&lt;MAP src=&quot;but:0:5&quot; dst=&quot;/event/rshoulder&quot; /&gt;<br />&lt;MAP src=&quot;but:0:4&quot; dst=&quot;/event/lshoulder&quot; /&gt;<br />&lt;MAP src=&quot;but:0:7&quot; dst=&quot;/event/start&quot; /&gt;<br />&lt;MAP src=&quot;but:0:6&quot; dst=&quot;/tempo/tap&quot; /&gt;<br />&lt;/MAPPINGS&gt;</p><p>All the buttons work but the dpad does not and in the log the &quot;attached blah blah&quot; isn&#039;t there for the &quot;hat&quot; mappings either.</p>]]></description>
			<pubDate>Tue, 21 Oct 2014 23:51:56 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/219545/#p219545</guid>
		</item>
	</channel>
</rss>
