<?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>HID</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66866/hid</link><description>Hi, 
 I want to send keyboard keys to change tab i.e CTRL+ALT+TAB, how can I send these keys from the Bluetooth HID keyboard to change tabs on my PC? 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 10 Oct 2020 08:38:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66866/hid" /><item><title>RE: HID</title><link>https://devzone.nordicsemi.com/thread/274136?ContentTypeID=1</link><pubDate>Sat, 10 Oct 2020 08:38:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d72bafc1-139b-41d1-ab0a-dbb06e95f50c</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;CTRL and ALT are sent in first byte of report as modifiers, the first google answer turns&amp;nbsp;&lt;a href="https://gist.github.com/MightyPork/6da26e382a7ad91b5496ee55fdc73db2"&gt;here&lt;/a&gt;. To send a keypress with CTRL+ALT, add following lines:&lt;/p&gt;
&lt;p&gt;#define KEY_MOD_LCTRL 0x01&lt;br /&gt;#define KEY_MOD_LALT 0x04&lt;/p&gt;
&lt;p&gt;data[MODIFIER_KEY_POS] |= (&lt;span class="pl-en"&gt;KEY_MOD_LCTRL&lt;/span&gt;&lt;span&gt;&amp;nbsp;|&amp;nbsp;&lt;span class="pl-en"&gt;KEY_MOD_LALT&lt;/span&gt;&lt;/span&gt;);&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID</title><link>https://devzone.nordicsemi.com/thread/274132?ContentTypeID=1</link><pubDate>Sat, 10 Oct 2020 07:36:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2724877d-709d-4835-b6e6-cd7edfe3f70d</guid><dc:creator>him</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;if it&amp;#39;s possible please give me an answer to my query.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID</title><link>https://devzone.nordicsemi.com/thread/273901?ContentTypeID=1</link><pubDate>Fri, 09 Oct 2020 05:54:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bc01a8d-4c99-4283-a55f-852397f7bd63</guid><dc:creator>him</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; I have seen it and able to send single as well as multiple keys, but I want to perform functions like change window(CTRL+ALT+TAB), close current window(ALT+F4), open task manager(CTRL+ALT+DELETE), etc. I also want to know the HID hex code for CTRL, ALT, and SHIFT.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID</title><link>https://devzone.nordicsemi.com/thread/273725?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2020 12:10:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c89502a9-32a8-45a2-aa99-1282b7278c90</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We do have a &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ble_sdk_app_hids_keyboard.html?cp=7_1_4_2_2_15" rel="noopener noreferrer" target="_blank"&gt;HID Keyboard example&lt;/a&gt; in our SDK, I would suggest you take a look at that on how to send keyboard keys.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>