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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2008-06-02T09:53:44+02:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-06-02T09:53:44+02:00</updated>

		<published>2008-06-02T09:53:44+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1492&amp;p=5476#p5476</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1492&amp;p=5476#p5476"/>
		<title type="html"><![CDATA[Creating a consumer device?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1492&amp;p=5476#p5476"><![CDATA[
i've tried turning on debuggin by setting<br /><br />#define DEBUG_LEVEL 2 (or 1)<br /><br />however when i run make i get.<br /><br /><div class="codebox"><p>Code: </p><pre><code>main.c:&lt;.text+0x9c&gt;:undefined reference to 'odDebug'</code></pre></div><br /><br />this doesn't happen with debug level undefined, i even managed to compile the standard HIDkeys (with the buttons changed to a different characeter) like this.<p>Statistics: Posted by Guest — Mon Jun 02, 2008 9:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-06-02T06:06:35+02:00</updated>

		<published>2008-06-02T06:06:35+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1492&amp;p=5475#p5475</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1492&amp;p=5475#p5475"/>
		<title type="html"><![CDATA[Creating a consumer device?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1492&amp;p=5475#p5475"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>PROGMEM char usbHidReportDescriptor&#91;33&#93; = &#123; /* USB report descriptor */<br />    0x05, 0x0c,                    // USAGE_PAGE &#40;Consumer Devices&#41;<br />    0x09, 0x01,                    // USAGE &#40;Consumer Control&#41;<br />    0xa1, 0x01,                    // COLLECTION &#40;Application&#41;<br />    0x85, 0x4c,                    //   REPORT_ID &#40;76&#41;<br />    0x15, 0x00,                    //   LOGICAL_MINIMUM &#40;0&#41;<br />    0x25, 0x01,                    //   LOGICAL_MAXIMUM &#40;1&#41;<br />    0x09, 0xe9,                    //   USAGE &#40;Volume Up&#41;<br />    0x09, 0xea,                    //   USAGE &#40;Volume Down&#41;<br />    0x75, 0x01,                    //   REPORT_SIZE &#40;1&#41;<br />    0x95, 0x02,                    //   REPORT_COUNT &#40;2&#41;<br />    0x81, 0x02,                    //   INPUT &#40;Data,Var,Abs&#41;<br />    0x09, 0xe2,                    //   USAGE &#40;Mute&#41;<br />    0x95, 0x01,                    //   REPORT_COUNT &#40;1&#41;<br />    0x81, 0x06,                    //   INPUT &#40;Data,Var,Rel&#41;<br />    0x95, 0x05,                    //   REPORT_COUNT &#40;5&#41;<br />    0x81, 0x01,                    //   INPUT &#40;Cnst,Ary,Abs&#41;<br />    0xc0                           // END_COLLECTION<br />&#125;;</code></pre></div><br /><br /><br />Here's what i;ve kinda tried to make myself, though it doesnt work, I get the device cannot start error message.<br /><br />I believe that would be caused by the HidDescriptor here correct?.<p>Statistics: Posted by Guest — Mon Jun 02, 2008 6:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-06-01T15:08:20+02:00</updated>

		<published>2008-06-01T15:08:20+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1492&amp;p=5472#p5472</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1492&amp;p=5472#p5472"/>
		<title type="html"><![CDATA[Creating a consumer device?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1492&amp;p=5472#p5472"><![CDATA[
Hello.<br /><br />I want to kinda of mod/ redo HIDkeys to send the Multimedia keys to the pc instead.<br /><br />It seems these aren't part of the USB keyboard spec, but the consumer device one (play/pause,next, volume up/down etc).<br /><br />I would need to change usbHidReportDescriptor wouldn't it? and then keyReport to send the differnet data?.<br /><br />Is there anywhere explaining how i should start to create this?<p>Statistics: Posted by Guest — Sun Jun 01, 2008 3:08 pm</p><hr />
]]></content>
	</entry>
	</feed>
