<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nRF24LU1+ HID programming descriptor question.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22345/nrf24lu1-hid-programming-descriptor-question</link><description>HI 
 I&amp;#39;m studying how to control mouse and keyboard via HID with nRF24LU1+ module referring to firmware of nAN-22. 
 Even though I set Descriptor as appropriate for mouse and send dates to USB, it has no response.
I have no idea why.. 
 To send dates</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 May 2017 04:50:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22345/nrf24lu1-hid-programming-descriptor-question" /><item><title>RE: nRF24LU1+ HID programming descriptor question.</title><link>https://devzone.nordicsemi.com/thread/87845?ContentTypeID=1</link><pubDate>Mon, 29 May 2017 04:50:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86993944-0191-470e-9eba-3bebbdbb7e10</guid><dc:creator>powerup</dc:creator><description>&lt;p&gt;thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF24LU1+ HID programming descriptor question.</title><link>https://devzone.nordicsemi.com/thread/87844?ContentTypeID=1</link><pubDate>Sun, 28 May 2017 21:34:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23b88686-f99b-4666-b443-9b6fbb850df2</guid><dc:creator>Jon Helge</dc:creator><description>&lt;p&gt;&lt;a href="http://www.usbmadesimple.co.uk/ums_ms_desc_conf.htm"&gt;www.usbmadesimple.co.uk/ums_ms_desc_conf.htm&lt;/a&gt;
You probably have to set bInterfaceProtocol to 0x02 (mouse) in the interface descriptor as well&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF24LU1+ HID programming descriptor question.</title><link>https://devzone.nordicsemi.com/thread/87843?ContentTypeID=1</link><pubDate>Sun, 28 May 2017 21:30:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c81be2c4-698b-47e5-8c19-85a243e9165d</guid><dc:creator>Jon Helge</dc:creator><description>&lt;p&gt;This should be a 4 byte report. report[0] has the 3 buttons on bit 0,1 and 2, report[1] is x axis, report[2] is y axis and report[3] is wheel data.  No report id is set in the report descriptor and then (if I remember correctly) you should not send any report id&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF24LU1+ HID programming descriptor question.</title><link>https://devzone.nordicsemi.com/thread/87842?ContentTypeID=1</link><pubDate>Sat, 27 May 2017 05:45:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b3f5f8f-bee1-4562-8024-8e8e4b35f1cd</guid><dc:creator>powerup</dc:creator><description>&lt;p&gt;0x05, 0x01,    // USAGE_PAGE (Generic Desktop)
0x09, 0x02,    // USAGE (mouse)
0xa1, 0x01,    // COLLECTION (Application)&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;  0x09, 0x01,    // USAGE (Pointer) 
	0xa1, 0x00,    // COLLECTION (physical)

	0x95, 0x03,    // Report_count(3)
	0x75, 0x01,    // Report_Size(1)
	0x05, 0x09,    // USAGE_PAGE (button)
	0x19, 0x01,	   // Usage_MINIMUM (Button 1)
  0x29, 0x03,    // Usage_MAXIMUM (Button 3)
	0x15, 0x00,	   // LOGICAL_MINIMUM (0)
	0x25, 0x01,    // LOGICAL_MAXIMUM (1)
	0x81, 0x02,    // INPUT (Data,Var,Abs) 
	
	0x95, 0x01,    // Report_count(1)
	0x75, 0x05,    // Report_Size(5)
	0x81, 0x01,    // INPUT (Data,Var,Abs) 
	
	0x75, 0x08,    //   REPORT_SIZE (8 bit)
  0x95, 0x03,    //   REPORT_COUNT (EP1_2_PACKET_SIZE) pre EP1_2_PACKET_SIZE
	0x05, 0x01,    // USAGE_PAGE (Generic Desktop)
	0x09, 0x30,    // USAGE (X)
	0x09, 0x31,    // USAGE (Y)
	0x09, 0x38,    // USAGE (Wheel)
	0x15, 0x81,	   //   LOGICAL_MINIMUM (-127)
	0x25, 0x7F,    //   LOGICAL_MAXIMUM (127)
  0x81, 0x06,    //   INPUT (Data,Var,Abs)  

  0xc0,             // END_COLLECTION
	0xc0
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Report descriptor mouse setting.
I don&amp;#39;t know report ID set.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF24LU1+ HID programming descriptor question.</title><link>https://devzone.nordicsemi.com/thread/87840?ContentTypeID=1</link><pubDate>Fri, 26 May 2017 08:29:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c69af306-8291-4924-8c36-c46600ec67be</guid><dc:creator>Jon Helge</dc:creator><description>&lt;p&gt;That depends on what mouse descriptor you use. Can you post it here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF24LU1+ HID programming descriptor question.</title><link>https://devzone.nordicsemi.com/thread/87841?ContentTypeID=1</link><pubDate>Thu, 25 May 2017 16:39:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d330c12a-1687-4c66-84f0-1b4e9525126d</guid><dc:creator>powerup</dc:creator><description>&lt;p&gt;If only information about mouse is defined in report descriptor and there is no report id, should I just send 3 or 4 bites of mouse dates ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF24LU1+ HID programming descriptor question.</title><link>https://devzone.nordicsemi.com/thread/87839?ContentTypeID=1</link><pubDate>Thu, 25 May 2017 13:11:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16b0bd4c-db70-4033-a3ce-0e615e9dbc87</guid><dc:creator>Jon Helge</dc:creator><description>&lt;p&gt;It depends on your mouse descriptor how many bytes of data you need to send mouse inputs. A simple mouse is 3-4 bytes + report id.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>