<?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>Is it possible to integrate Bluetooth HID mouse and keyboard functionality in a single program?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37273/is-it-possible-to-integrate-bluetooth-hid-mouse-and-keyboard-functionality-in-a-single-program</link><description>Hi, 
 I was wondering if it is possible to create a program that can control mouse movement as well as perform some keyboard button functionality at the same time?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Sep 2018 09:00:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37273/is-it-possible-to-integrate-bluetooth-hid-mouse-and-keyboard-functionality-in-a-single-program" /><item><title>RE: Is it possible to integrate Bluetooth HID mouse and keyboard functionality in a single program?</title><link>https://devzone.nordicsemi.com/thread/146920?ContentTypeID=1</link><pubDate>Mon, 03 Sep 2018 09:00:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd12f4ee-f97b-4faf-aa0e-dcdd977d0f62</guid><dc:creator>hari911</dc:creator><description>&lt;p&gt;Why is in the HID mouse example program, the main function doesn&amp;#39;t take in any button inputs? How to include mouse button inputs along with the rest of the data packets?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to integrate Bluetooth HID mouse and keyboard functionality in a single program?</title><link>https://devzone.nordicsemi.com/thread/146919?ContentTypeID=1</link><pubDate>Mon, 03 Sep 2018 08:57:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff2de4fc-6645-4a27-b5e6-9ed86edea229</guid><dc:creator>hari911</dc:creator><description>&lt;p&gt;Has the Nordic Smart Remote 3 example program got anything to do with my requirement?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to integrate Bluetooth HID mouse and keyboard functionality in a single program?</title><link>https://devzone.nordicsemi.com/thread/145537?ContentTypeID=1</link><pubDate>Thu, 23 Aug 2018 13:56:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c389c12b-28fb-4a7a-82cd-88ce6eb61ed1</guid><dc:creator>hari911</dc:creator><description>&lt;p&gt;again, in&lt;/p&gt;
[quote userid="67750" url="~/f/nordic-q-a/37273/is-it-possible-to-integrate-bluetooth-hid-mouse-and-keyboard-functionality-in-a-single-program/145535"]&lt;em&gt;&amp;quot;&lt;strong&gt;mouse_movement_sent()&lt;/strong&gt;&lt;/em&gt;&amp;quot;[/quote]
&lt;p&gt;the buffer [0-2] is made to store the movement values. But i thought HID mouse report format is like [Buttons, X-translation, Y-translation.&lt;/p&gt;
&lt;p&gt;Am sure that I screwed up somewhere but still not sure how find it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to integrate Bluetooth HID mouse and keyboard functionality in a single program?</title><link>https://devzone.nordicsemi.com/thread/145535?ContentTypeID=1</link><pubDate>Thu, 23 Aug 2018 13:50:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:142cd48b-8e26-4864-8f87-a4b26253a241</guid><dc:creator>hari911</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;In the HID mouse example, the program makes use of a function&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;&lt;strong&gt;mouse_movement_sent()&lt;/strong&gt;&lt;/em&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;This function takes in two arguments(horizontal and vertical movement). I was trying to include the mouse button press into this, but doesn&amp;#39;t seem to work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to integrate Bluetooth HID mouse and keyboard functionality in a single program?</title><link>https://devzone.nordicsemi.com/thread/144978?ContentTypeID=1</link><pubDate>Mon, 20 Aug 2018 14:57:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5f7d0b4-e66c-441e-ac75-ef431862abe3</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Hari,&lt;/p&gt;
&lt;p&gt;You would need to add a descriptor in the code.&lt;/p&gt;
&lt;p&gt;I would suggest that you begin with the mouse example as reference.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To answer your past question, you&amp;nbsp;would need to make one for keyboard as well.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;ble_hids_init_t           hids_init_obj_keyboard;

ble_hids_init_t           hids_init_obj_mouse;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;(You could also check out &lt;a href="https://github.com/bjornspockeli/custom_ble_service_example"&gt;this tutorial&lt;/a&gt;, just to give you an idea how to make a custom service)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to integrate Bluetooth HID mouse and keyboard functionality in a single program?</title><link>https://devzone.nordicsemi.com/thread/144880?ContentTypeID=1</link><pubDate>Mon, 20 Aug 2018 08:54:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7a39ac8-c4e6-4234-b4d5-035fd1df30b9</guid><dc:creator>hari911</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I still haven&amp;#39;t tackled the issue. Need help...&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f61e.svg" title="Disappointed"&gt;&amp;#x1f61e;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to integrate Bluetooth HID mouse and keyboard functionality in a single program?</title><link>https://devzone.nordicsemi.com/thread/143529?ContentTypeID=1</link><pubDate>Thu, 09 Aug 2018 10:14:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:685a74c1-1440-424b-bcc9-3d5511579dff</guid><dc:creator>hari911</dc:creator><description>&lt;p&gt;In the HID mouse example, parsing into function hids_init(),&amp;nbsp; I can see lots of mouse dependent configurations like,&lt;/p&gt;
&lt;p&gt;hid_init_obj.is_mouse,&lt;/p&gt;
&lt;p&gt;hid_init_obj.inp_rep_count,&lt;/p&gt;
&lt;p&gt;hid_init_obj.p_inp_rep_array, so and so&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Now am like confused with all these settings. How to deal with these if we are planning to use both?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to integrate Bluetooth HID mouse and keyboard functionality in a single program?</title><link>https://devzone.nordicsemi.com/thread/143396?ContentTypeID=1</link><pubDate>Wed, 08 Aug 2018 13:59:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3591eb4-5984-481a-aff2-a735eba7a7a4</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Hari,&lt;/p&gt;
&lt;p&gt;Yes that is possible. (&lt;em&gt;ex. it is done in the&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.rds%2Fdita%2Frds%2Fdesigns%2Fsmart_remote%2Fsmart_remote_3_nrf52%2Fsr3_nrf52_main.html" target="_blank" rel="noopener noreferrer"&gt;nRFready Smart Remote reference design )&lt;/a&gt; &lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;You can use the&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fble_sdk_app_hids_keyboard.html&amp;amp;cp=4_0_0_4_1_2_15" target="_blank" rel="noopener noreferrer"&gt; HID Keyboard &lt;/a&gt;and &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fble_sdk_app_hids_mouse.html&amp;amp;cp=4_0_0_4_1_2_16" target="_blank" rel="noopener noreferrer"&gt;HID Mouse&lt;/a&gt; applications as reference, and combine those two.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;(for nRF52840, we also have a &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fusbd_hid_composite_example.html" target="_blank" rel="noopener noreferrer"&gt;USB HID Composite Example&lt;/a&gt;&amp;nbsp;that shows how to use two HID classes as one composite device)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>