mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Deploy felis/USB_Host_Shield_2.0 to github.com/felis/USB_Host_Shield_2.0.git:gh-pages
This commit is contained in:
parent
8092bb3aa1
commit
ca6c2a19f5
1 changed files with 2 additions and 2 deletions
|
@ -247,7 +247,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="keyword">const</span> uint8_t KeyboardReportParser::numKeys[10] PROGMEM = {<span class="charliteral">'!'</span>, <span class="charliteral">'@'</span>, <span class="charliteral">'#'</span>, <span class="charliteral">'$'</span>, <span class="charliteral">'%'</span>, <span class="charliteral">'^'</span>, <span class="charliteral">'&'</span>, <span class="charliteral">'*'</span>, <span class="charliteral">'('</span>, <span class="charliteral">')'</span>};</div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="keyword">const</span> uint8_t KeyboardReportParser::symKeysUp[12] PROGMEM = {<span class="charliteral">'_'</span>, <span class="charliteral">'+'</span>, <span class="charliteral">'{'</span>, <span class="charliteral">'}'</span>, <span class="charliteral">'|'</span>, <span class="charliteral">'~'</span>, <span class="charliteral">':'</span>, <span class="charliteral">'"'</span>, <span class="charliteral">'~'</span>, <span class="charliteral">'<'</span>, <span class="charliteral">'>'</span>, <span class="charliteral">'?'</span>};</div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="keyword">const</span> uint8_t KeyboardReportParser::symKeysLo[12] PROGMEM = {<span class="charliteral">'-'</span>, <span class="charliteral">'='</span>, <span class="charliteral">'['</span>, <span class="charliteral">']'</span>, <span class="charliteral">'\\'</span>, <span class="charliteral">' '</span>, <span class="charliteral">';'</span>, <span class="charliteral">'\''</span>, <span class="charliteral">'`'</span>, <span class="charliteral">','</span>, <span class="charliteral">'.'</span>, <span class="charliteral">'/'</span>};</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="keyword">const</span> uint8_t KeyboardReportParser::padKeys[5] PROGMEM = {<span class="charliteral">'/'</span>, <span class="charliteral">'*'</span>, <span class="charliteral">'-'</span>, <span class="charliteral">'+'</span>, 0x13};</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="keyword">const</span> uint8_t KeyboardReportParser::padKeys[5] PROGMEM = {<span class="charliteral">'/'</span>, <span class="charliteral">'*'</span>, <span class="charliteral">'-'</span>, <span class="charliteral">'+'</span>, <span class="charliteral">'\r'</span>};</div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> </div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="class_keyboard_report_parser.html#aa21e9230ae4c2f068c404a9c2909a1f3"> 165</a></span> uint8_t <a class="code" href="class_keyboard_report_parser.html#aa21e9230ae4c2f068c404a9c2909a1f3">KeyboardReportParser::OemToAscii</a>(uint8_t mod, uint8_t key) {</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  uint8_t shift = (mod & 0x22);</div>
|
||||
|
@ -279,7 +279,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="keywordflow">switch</span>(key) {</div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <span class="keywordflow">case</span> <a class="code" href="hidboot_8h.html#abedef4cc17add7fafbbcda43b442964b">UHS_HID_BOOT_KEY_SPACE</a>: <span class="keywordflow">return</span> (0x20);</div>
|
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keywordflow">case</span> <a class="code" href="hidboot_8h.html#a42f71f6d2b7e4f543826af0234834237">UHS_HID_BOOT_KEY_ENTER</a>: <span class="keywordflow">return</span> (0x13);</div>
|
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keywordflow">case</span> <a class="code" href="hidboot_8h.html#a42f71f6d2b7e4f543826af0234834237">UHS_HID_BOOT_KEY_ENTER</a>: <span class="keywordflow">return</span> (<span class="charliteral">'\r'</span>); <span class="comment">// Carriage return (0x0D)</span></div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <span class="keywordflow">case</span> <a class="code" href="hidboot_8h.html#a69193f2a5138ebecc6819e21e6b31c45">UHS_HID_BOOT_KEY_ZERO2</a>: <span class="keywordflow">return</span> ((<a class="code" href="class_keyboard_report_parser.html#aa052645936a61219fb9f17490dd26115">kbdLockingKeys</a>.kbdLeds.bmNumLock == 1) ? <span class="charliteral">'0'</span>: 0);</div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keywordflow">case</span> <a class="code" href="hidboot_8h.html#a70520f779398f17618bbf6848472eecd">UHS_HID_BOOT_KEY_PERIOD</a>: <span class="keywordflow">return</span> ((<a class="code" href="class_keyboard_report_parser.html#aa052645936a61219fb9f17490dd26115">kbdLockingKeys</a>.kbdLeds.bmNumLock == 1) ? <span class="charliteral">'.'</span>: 0);</div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  }</div>
|
||||
|
|
Loading…
Reference in a new issue