<?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>How to send mouse right-click in nRFready Smart Remote</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3385/how-to-send-mouse-right-click-in-nrfready-smart-remote</link><description>I develop RF Remote Control with nRFready Smart Remote. 
 nRFready Smart Remote Feature: 
 
 Remote Control : nRF24LE1 (MCU + RF) -&amp;gt; Device 
 USB dongle : nRF24LU1+ (MCU + RF + USB) -&amp;gt; Host 
 
 I am trying to send mouse right-click event from Remote</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Aug 2014 02:20:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3385/how-to-send-mouse-right-click-in-nrfready-smart-remote" /><item><title>RE: How to send mouse right-click in nRFready Smart Remote</title><link>https://devzone.nordicsemi.com/thread/12294?ContentTypeID=1</link><pubDate>Mon, 11 Aug 2014 02:20:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e77d8fd-d897-4b90-8e40-04162ce8c147</guid><dc:creator>shellvxd</dc:creator><description>&lt;p&gt;The solution is above.&lt;/p&gt;
&lt;p&gt;It works well that I modified.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Note:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;		debug_printf(&amp;quot;scroll\r\n&amp;quot;);
		
		// Button Status, Gesture 0 ~ 1, Scroll 0 ~ 1
		u8Ret = SendMouseScrollRF_nRF24LE1(0x81, 0x00, 0x00, 0x00, 0x00);
		
		if( u8Ret )
		{
			u8Ret = SendMouseScrollRF_nRF24LE1(0x81, 0x00, 0x30, 0x00, 16);
			delay_ms(DELAY_MOVE_MOUSE);
		}
		
		if( u8Ret )
		{
			u8Ret = SendMouseScrollRF_nRF24LE1(0x81, 0x00, 0x30, 0x00, 16);
			delay_ms(DELAY_MOVE_MOUSE);
		}
		
		if( u8Ret )
		{
			u8Ret = SendMouseScrollRF_nRF24LE1(0x81, 0x00, 0x30, 0x00, 0x00);
			delay_ms(DELAY_MOVE_MOUSE);
		}
		
		if( u8Ret )
		{
			u8Ret = SendMouseScrollRF_nRF24LE1(0x01, 0x00, 0x1, 0x00, 0x00);
			delay_ms(DELAY_MOVE_MOUSE);
		}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>