<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/3384" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2009-10-14T04:52:23+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/3384</id>

		<entry>
		<author><name><![CDATA[ulao]]></name></author>
		<updated>2009-10-14T04:52:23+02:00</updated>

		<published>2009-10-14T04:52:23+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3384&amp;p=11353#p11353</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3384&amp;p=11353#p11353"/>
		<title type="html"><![CDATA[Re: hid report descriptor help]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3384&amp;p=11353#p11353"><![CDATA[
Here is a generic 8 button x,y hid. I never have a single bit of trouble with it.<br /><div class="codebox"><p>Code: </p><pre><code>const char generic_usbHidReportDescriptor&#91;&#93; PROGMEM = {<br />    0x05, 0x01,                    // USAGE_PAGE (Generic Desktop)<br />    0x09, 0x05,                    // USAGE (Game Pad)<br />    0xa1, 0x01,                    // COLLECTION (Application)<br />    0x09, 0x01,                    //   USAGE (Pointer)<br />    0xa1, 0x00,                    //   COLLECTION (Physical)<br />    0x09, 0x30,                    //     USAGE (X)<br />    0x09, 0x31,                    //     USAGE (Y)<br />    0x15, 0x00,                    //   LOGICAL_MINIMUM (0)<br />    0x26, 0xff, 0x00,              //     LOGICAL_MAXIMUM (255)<br />    0x75, 0x08,                    //   REPORT_SIZE (8)<br />    0x95, 0x02,                    //   REPORT_COUNT (2)<br />    0x81, 0x02,                    //   INPUT (Data,Var,Abs)<br />    0xc0,                          // END_COLLECTION<br />    0x05, 0x09,                    // USAGE_PAGE (Button)<br />    0x19, 0x01,                    //   USAGE_MINIMUM (Button 1)<br />    0x29, 0x08,                    //   USAGE_MAXIMUM (Button 8)<br />    0x15, 0x00,                    //   LOGICAL_MINIMUM (0)<br />    0x25, 0x01,                    //   LOGICAL_MAXIMUM (1)<br />    0x75, 0x01,                    // REPORT_SIZE (1)<br />    0x95, 0x08,                    // REPORT_COUNT (8)<br />    0x81, 0x02,                    // INPUT (Data,Var,Abs)<br />    0xc0<br />};</code></pre></div><br /><br />Are you sure its the descriptor that is the trouble?<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1281">ulao</a> — Wed Oct 14, 2009 4:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[thelorax]]></name></author>
		<updated>2009-10-14T03:00:53+02:00</updated>

		<published>2009-10-14T03:00:53+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3384&amp;p=11351#p11351</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3384&amp;p=11351#p11351"/>
		<title type="html"><![CDATA[hid report descriptor help]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3384&amp;p=11351#p11351"><![CDATA[
Hello,<br />I'm trying to create a hid report descriptor for a joystick with an X and Y axis and around 4 buttons. I've searched the web and I haven't been able to find any concise reading on how to build up a report descriptor. I've tried HID Tool under windows, but it seems really buggy and crashes frequently. Is there any alternative?<br />If anybody has a good tutorial/hidtool replacement/joystick + button report descriptor I'd really appreciate it. <br /><br />thanks.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1903">thelorax</a> — Wed Oct 14, 2009 3:00 am</p><hr />
]]></content>
	</entry>
	</feed>
