<?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/8586" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2013-08-15T21:21:02+02:00</updated>

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

		<entry>
		<author><name><![CDATA[1.21Gigawatts]]></name></author>
		<updated>2013-08-15T21:21:02+02:00</updated>

		<published>2013-08-15T21:21:02+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8586&amp;p=25699#p25699</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8586&amp;p=25699#p25699"/>
		<title type="html"><![CDATA[Re: HID read speed?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8586&amp;p=25699#p25699"><![CDATA[
Well, it certainly does help to RTFM, doesn't it? I simply changed    USB_CFG_INTR_POLL_INTERVAL  from 100 to 10, and all is well.<br />Sorry for the intrusion.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=5999">1.21Gigawatts</a> — Thu Aug 15, 2013 9:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[1.21Gigawatts]]></name></author>
		<updated>2013-08-15T18:18:21+02:00</updated>

		<published>2013-08-15T18:18:21+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8586&amp;p=25698#p25698</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8586&amp;p=25698#p25698"/>
		<title type="html"><![CDATA[HID read speed?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8586&amp;p=25698#p25698"><![CDATA[
I am creating a new HID device to deliver real-time data to a PC (or Mac). I have used a template for a game controller with a single slider and no buttons to get the smallest report descriptor:<br /><br /><div class="codebox"><p>Code: </p><pre><code>PROGMEM const char usbHidReportDescriptor&#91;24&#93; = {<br />    0x05, 0x01,                    // USAGE_PAGE (Generic Desktop)<br />    0x09, 0x05,                    // USAGE (Game Pad)<br />    0xa1, 0x01,                    // COLLECTION (Application)<br />    0xa1, 0x00,                    //   COLLECTION (Physical)<br />    0x05, 0x01,                    //     USAGE_PAGE (Generic Desktop)<br />    0x09, 0x36,                    //     USAGE (Slider)<br />    0x15, 0x00,                    //     LOGICAL_MINIMUM (0)<br />    0x25, 0x7f,                    //     LOGICAL_MAXIMUM (127)<br />    0x75, 0x08,                    //     REPORT_SIZE (8)<br />    0x95, 0x01,                    //     REPORT_COUNT (1)<br />    0x81, 0x02,                    //     INPUT (Data,Var,Abs)<br />    0xc0,                          //     END_COLLECTION<br />    0xc0                           // END_COLLECTION<br />};<br /></code></pre></div><br />My problem is that this only seems to get read every 35mS or so, and I need to be able to go <em class="text-italics">at least</em> three times as fast. I tried this with a more complicated report descriptor (X &amp; Y 2-byte axes and 8 buttons) and the speed was about the same.<br /><br />I'm developing on win 7-64 (but will also have a Mac application). Is this a windows limitation, or maybe an HID limitation? Can I not send data over an HID interface faster than this? If not, I'll have to go to a much messier plan B, and whatever drivers that entails. I do like the HID interface, given the lack of drivers and the clean installation that allows.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=5999">1.21Gigawatts</a> — Thu Aug 15, 2013 6:18 pm</p><hr />
]]></content>
	</entry>
	</feed>
