2013-02-05 20:02:12 +01:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
2014-01-10 18:20:37 +01:00
< meta name = "generator" content = "Doxygen 1.8.6" / >
2013-02-17 01:37:13 +01:00
< title > USB Host Shield 2.0: hidboot.cpp Source File< / title >
2013-02-05 20:02:12 +01:00
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/search.js" > < / script >
< script type = "text/javascript" >
$(document).ready(function() { searchBox.OnSelectItem(0); });
< / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
2013-02-05 22:39:56 +01:00
< link href = "imageStyle.css" rel = "stylesheet" type = "text/css" / >
2013-02-05 20:02:12 +01:00
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td style = "padding-left: 0.5em;" >
2013-02-17 01:37:13 +01:00
< div id = "projectname" > USB Host Shield 2.0
2013-02-05 20:02:12 +01:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2014-01-10 18:20:37 +01:00
<!-- Generated by Doxygen 1.8.6 -->
2013-02-05 20:02:12 +01:00
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "search",false,'Search');
< / script >
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "pages.html" > < span > Related  Pages< / span > < / a > < / li >
< li > < a href = "annotated.html" > < span > Classes< / span > < / a > < / li >
< li class = "current" > < a href = "files.html" > < span > Files< / span > < / a > < / li >
< li >
< div id = "MSearchBox" class = "MSearchBoxInactive" >
< span class = "left" >
< img id = "MSearchSelect" src = "search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
< input type = "text" id = "MSearchField" value = "Search" accesskey = "S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
< / span > < span class = "right" >
< a id = "MSearchClose" href = "javascript:searchBox.CloseResultsWindow()" > < img id = "MSearchCloseImg" border = "0" src = "search/close.png" alt = "" / > < / a >
< / span >
< / div >
< / li >
< / ul >
< / div >
< div id = "navrow2" class = "tabs2" >
< ul class = "tablist" >
< li > < a href = "files.html" > < span > File  List< / span > < / a > < / li >
< li > < a href = "globals.html" > < span > File  Members< / span > < / a > < / li >
< / ul >
< / div >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(0)" > < span class = "SelectionMark" >   < / span > All< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(1)" > < span class = "SelectionMark" >   < / span > Classes< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(2)" > < span class = "SelectionMark" >   < / span > Files< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(3)" > < span class = "SelectionMark" >   < / span > Functions< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(4)" > < span class = "SelectionMark" >   < / span > Variables< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(5)" > < span class = "SelectionMark" >   < / span > Typedefs< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(6)" > < span class = "SelectionMark" >   < / span > Enumerations< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(7)" > < span class = "SelectionMark" >   < / span > Enumerator< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(8)" > < span class = "SelectionMark" >   < / span > Macros< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(9)" > < span class = "SelectionMark" >   < / span > Pages< / a > < / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div id = "nav-path" class = "navpath" >
< ul >
2013-02-05 22:39:56 +01:00
< li class = "navelem" > < a class = "el" href = "dir_e5fbe6d2783ccd4c93c7856d92d7be6e.html" > GitHub< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_397a095372f04465e811d0ee219bbf8f.html" > USB_Host_Shield_2.0< / a > < / li > < / ul >
2013-02-05 20:02:12 +01:00
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "headertitle" >
< div class = "title" > hidboot.cpp< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< a href = "hidboot_8cpp.html" > Go to the documentation of this file.< / a > < div class = "fragment" > < div class = "line" > < a name = "l00001" > < / a > < span class = "lineno" > 1< / span >   < span class = "comment" > /* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.< / span > < / div >
< div class = "line" > < a name = "l00002" > < / a > < span class = "lineno" > 2< / span >   < span class = "comment" > < / span > < / div >
< div class = "line" > < a name = "l00003" > < / a > < span class = "lineno" > 3< / span >   < span class = "comment" > This software may be distributed and modified under the terms of the GNU< / span > < / div >
< div class = "line" > < a name = "l00004" > < / a > < span class = "lineno" > 4< / span >   < span class = "comment" > General Public License version 2 (GPL2) as published by the Free Software< / span > < / div >
< div class = "line" > < a name = "l00005" > < / a > < span class = "lineno" > 5< / span >   < span class = "comment" > Foundation and appearing in the file GPL2.TXT included in the packaging of< / span > < / div >
< div class = "line" > < a name = "l00006" > < / a > < span class = "lineno" > 6< / span >   < span class = "comment" > this file. Please note that GPL2 Section 2[b] requires that all works based< / span > < / div >
< div class = "line" > < a name = "l00007" > < / a > < span class = "lineno" > 7< / span >   < span class = "comment" > on this software must also be made publicly available under the terms of< / span > < / div >
< div class = "line" > < a name = "l00008" > < / a > < span class = "lineno" > 8< / span >   < span class = "comment" > the GPL2 (" Copyleft" ).< / span > < / div >
< div class = "line" > < a name = "l00009" > < / a > < span class = "lineno" > 9< / span >   < span class = "comment" > < / span > < / div >
< div class = "line" > < a name = "l00010" > < / a > < span class = "lineno" > 10< / span >   < span class = "comment" > Contact information< / span > < / div >
< div class = "line" > < a name = "l00011" > < / a > < span class = "lineno" > 11< / span >   < span class = "comment" > -------------------< / span > < / div >
< div class = "line" > < a name = "l00012" > < / a > < span class = "lineno" > 12< / span >   < span class = "comment" > < / span > < / div >
< div class = "line" > < a name = "l00013" > < / a > < span class = "lineno" > 13< / span >   < span class = "comment" > Circuits At Home, LTD< / span > < / div >
< div class = "line" > < a name = "l00014" > < / a > < span class = "lineno" > 14< / span >   < span class = "comment" > Web : http://www.circuitsathome.com< / span > < / div >
< div class = "line" > < a name = "l00015" > < / a > < span class = "lineno" > 15< / span >   < span class = "comment" > e-mail : support@circuitsathome.com< / span > < / div >
2013-04-01 22:52:24 +02:00
< div class = "line" > < a name = "l00016" > < / a > < span class = "lineno" > 16< / span >   < span class = "comment" > */< / span > < / div >
2013-02-05 20:02:12 +01:00
< div class = "line" > < a name = "l00017" > < / a > < span class = "lineno" > 17< / span >   < span class = "preprocessor" > #include " < a class = "code" href = "hidboot_8h.html" > hidboot.h< / a > " < / span > < / div >
< div class = "line" > < a name = "l00018" > < / a > < span class = "lineno" > 18< / span >   < / div >
2013-10-21 21:15:43 +02:00
< div class = "line" > < a name = "l00019" > < / a > < span class = "lineno" > < a class = "line" href = "class_mouse_report_parser.html#a2dd4e0add7c902300de5e7250c6d6110" > 19< / a > < / span >   < span class = "keywordtype" > void< / span > < a class = "code" href = "class_mouse_report_parser.html#a2dd4e0add7c902300de5e7250c6d6110" > MouseReportParser::Parse< / a > (< a class = "code" href = "class_h_i_d.html" > HID< / a > *hid, < span class = "keywordtype" > bool< / span > is_rpt_id, uint8_t len, uint8_t *buf) {< / div >
2013-04-01 22:52:24 +02:00
< div class = "line" > < a name = "l00020" > < / a > < span class = "lineno" > 20< / span >   < a class = "code" href = "struct_m_o_u_s_e_i_n_f_o.html" > MOUSEINFO< / a > *pmi = (< a class = "code" href = "struct_m_o_u_s_e_i_n_f_o.html" > MOUSEINFO< / a > *)buf;< / div >
2014-01-10 18:20:37 +01:00
< div class = "line" > < a name = "l00021" > < / a > < span class = "lineno" > 21< / span >   < span class = "comment" > // Future:< / span > < / div >
< div class = "line" > < a name = "l00022" > < / a > < span class = "lineno" > 22< / span >   < span class = "comment" > // bool event;< / span > < / div >
< div class = "line" > < a name = "l00023" > < / a > < span class = "lineno" > 23< / span >   < / div >
< div class = "line" > < a name = "l00024" > < / a > < span class = "lineno" > 24< / span >   < span class = "preprocessor" > #if 0< / span > < / div >
< div class = "line" > < a name = "l00025" > < / a > < span class = "lineno" > 25< / span >   < span class = "preprocessor" > < / span > < span class = "keywordflow" > if< / span > (prevState.mouseInfo.bmLeftButton == 0 & & pmi-> < a class = "code" href = "struct_m_o_u_s_e_i_n_f_o.html#a848ceb3b38f0dc9e09a83612c1fa89ff" > bmLeftButton< / a > == 1)< / div >
< div class = "line" > < a name = "l00026" > < / a > < span class = "lineno" > 26< / span >   < a class = "code" href = "class_mouse_report_parser.html#accfab93f9a2ba8fa0998437dcca44086" > OnLeftButtonDown< / a > (pmi);< / div >
2013-04-01 22:52:24 +02:00
< div class = "line" > < a name = "l00027" > < / a > < span class = "lineno" > 27< / span >   < / div >
2014-01-10 18:20:37 +01:00
< div class = "line" > < a name = "l00028" > < / a > < span class = "lineno" > 28< / span >   < span class = "keywordflow" > if< / span > (prevState.mouseInfo.bmLeftButton == 1 & & pmi-> < a class = "code" href = "struct_m_o_u_s_e_i_n_f_o.html#a848ceb3b38f0dc9e09a83612c1fa89ff" > bmLeftButton< / a > == 0)< / div >
< div class = "line" > < a name = "l00029" > < / a > < span class = "lineno" > 29< / span >   < a class = "code" href = "class_mouse_report_parser.html#a6e640919bf67e70c66f1dcbee5798e45" > OnLeftButtonUp< / a > (pmi);< / div >
2013-04-01 22:52:24 +02:00
< div class = "line" > < a name = "l00030" > < / a > < span class = "lineno" > 30< / span >   < / div >
2014-01-10 18:20:37 +01:00
< div class = "line" > < a name = "l00031" > < / a > < span class = "lineno" > 31< / span >   < span class = "keywordflow" > if< / span > (prevState.mouseInfo.bmRightButton == 0 & & pmi-> < a class = "code" href = "struct_m_o_u_s_e_i_n_f_o.html#a07f604e1dffc0a72fa28e94a5094ebbe" > bmRightButton< / a > == 1)< / div >
< div class = "line" > < a name = "l00032" > < / a > < span class = "lineno" > 32< / span >   < a class = "code" href = "class_mouse_report_parser.html#a6884349e6b2de0cbfedf3e1a77c23870" > OnRightButtonDown< / a > (pmi);< / div >
2013-04-01 22:52:24 +02:00
< div class = "line" > < a name = "l00033" > < / a > < span class = "lineno" > 33< / span >   < / div >
2014-01-10 18:20:37 +01:00
< div class = "line" > < a name = "l00034" > < / a > < span class = "lineno" > 34< / span >   < span class = "keywordflow" > if< / span > (prevState.mouseInfo.bmRightButton == 1 & & pmi-> < a class = "code" href = "struct_m_o_u_s_e_i_n_f_o.html#a07f604e1dffc0a72fa28e94a5094ebbe" > bmRightButton< / a > == 0)< / div >
< div class = "line" > < a name = "l00035" > < / a > < span class = "lineno" > 35< / span >   < a class = "code" href = "class_mouse_report_parser.html#a1bdfee565073cd8b77cbeb9e184c174f" > OnRightButtonUp< / a > (pmi);< / div >
2013-04-01 22:52:24 +02:00
< div class = "line" > < a name = "l00036" > < / a > < span class = "lineno" > 36< / span >   < / div >
2014-01-10 18:20:37 +01:00
< div class = "line" > < a name = "l00037" > < / a > < span class = "lineno" > 37< / span >   < span class = "keywordflow" > if< / span > (prevState.mouseInfo.bmMiddleButton == 0 & & pmi-> < a class = "code" href = "struct_m_o_u_s_e_i_n_f_o.html#a7fb48a7cb68cfc8db2bb8838694c0b51" > bmMiddleButton< / a > == 1)< / div >
< div class = "line" > < a name = "l00038" > < / a > < span class = "lineno" > 38< / span >   < a class = "code" href = "class_mouse_report_parser.html#ad1c06ea106608bd3dcb5c90ecc487ac9" > OnMiddleButtonDown< / a > (pmi);< / div >
2013-04-01 22:52:24 +02:00
< div class = "line" > < a name = "l00039" > < / a > < span class = "lineno" > 39< / span >   < / div >
2014-01-10 18:20:37 +01:00
< div class = "line" > < a name = "l00040" > < / a > < span class = "lineno" > 40< / span >   < span class = "keywordflow" > if< / span > (prevState.mouseInfo.bmMiddleButton == 1 & & pmi-> < a class = "code" href = "struct_m_o_u_s_e_i_n_f_o.html#a7fb48a7cb68cfc8db2bb8838694c0b51" > bmMiddleButton< / a > == 0)< / div >
< div class = "line" > < a name = "l00041" > < / a > < span class = "lineno" > 41< / span >   < a class = "code" href = "class_mouse_report_parser.html#a7512c9a85581aa4be52a780d7c91f655" > OnMiddleButtonUp< / a > (pmi);< / div >
2013-04-01 22:52:24 +02:00
< div class = "line" > < a name = "l00042" > < / a > < span class = "lineno" > 42< / span >   < / div >
2014-01-10 18:20:37 +01:00
< div class = "line" > < a name = "l00043" > < / a > < span class = "lineno" > 43< / span >   < span class = "keywordflow" > if< / span > (prevState.mouseInfo.dX != pmi-> < a class = "code" href = "struct_m_o_u_s_e_i_n_f_o.html#a8b67db1c54e5db9782a0b5b707dcf9db" > dX< / a > || prevState.mouseInfo.dY != pmi-> < a class = "code" href = "struct_m_o_u_s_e_i_n_f_o.html#ae7192500776548f5c6868cc37eaaabb2" > dY< / a > )< / div >
< div class = "line" > < a name = "l00044" > < / a > < span class = "lineno" > 44< / span >   < a class = "code" href = "class_mouse_report_parser.html#a3e231baff6196df63dbad9a44f4945a7" > OnMouseMove< / a > (pmi);< / div >
< div class = "line" > < a name = "l00045" > < / a > < span class = "lineno" > 45< / span >   < / div >
< div class = "line" > < a name = "l00046" > < / a > < span class = "lineno" > 46< / span >   < span class = "keywordflow" > if< / span > (len > < span class = "keyword" > sizeof< / span > (< a class = "code" href = "struct_m_o_u_s_e_i_n_f_o.html" > MOUSEINFO< / a > ))< / div >
< div class = "line" > < a name = "l00047" > < / a > < span class = "lineno" > 47< / span >   < span class = "keywordflow" > for< / span > (uint8_t i = 0; i< < span class = "keyword" > sizeof< / span > (< a class = "code" href = "struct_m_o_u_s_e_i_n_f_o.html" > MOUSEINFO< / a > ); i++)< / div >
< div class = "line" > < a name = "l00048" > < / a > < span class = "lineno" > 48< / span >   prevState.bInfo[i] = buf[i];< / div >
< div class = "line" > < a name = "l00049" > < / a > < span class = "lineno" > 49< / span >   #< span class = "keywordflow" > else< / span > < / div >
< div class = "line" > < a name = "l00050" > < / a > < span class = "lineno" > 50< / span >   < span class = "comment" > //< / span > < / div >
< div class = "line" > < a name = "l00051" > < / a > < span class = "lineno" > 51< / span >   < span class = "comment" > // Optimization idea:< / span > < / div >
< div class = "line" > < a name = "l00052" > < / a > < span class = "lineno" > 52< / span >   < span class = "comment" > //< / span > < / div >
< div class = "line" > < a name = "l00053" > < / a > < span class = "lineno" > 53< / span >   < span class = "comment" > // 1: Don' t pass the structure on every event. Buttons would not need it.< / span > < / div >
< div class = "line" > < a name = "l00054" > < / a > < span class = "lineno" > 54< / span >   < span class = "comment" > // 2: Only pass x/y values in the movement routine.< / span > < / div >
< div class = "line" > < a name = "l00055" > < / a > < span class = "lineno" > 55< / span >   < span class = "comment" > //< / span > < / div >
< div class = "line" > < a name = "l00056" > < / a > < span class = "lineno" > 56< / span >   < span class = "comment" > // These two changes (with the ones I have made) will save extra flash.< / span > < / div >
< div class = "line" > < a name = "l00057" > < / a > < span class = "lineno" > 57< / span >   < span class = "comment" > // The only " bad" thing is that it could break old code.< / span > < / div >
< div class = "line" > < a name = "l00058" > < / a > < span class = "lineno" > 58< / span >   < span class = "comment" > //< / span > < / div >
< div class = "line" > < a name = "l00059" > < / a > < span class = "lineno" > 59< / span >   < span class = "comment" > // Future thoughts:< / span > < / div >
< div class = "line" > < a name = "l00060" > < / a > < span class = "lineno" > 60< / span >   < span class = "comment" > //< / span > < / div >
< div class = "line" > < a name = "l00061" > < / a > < span class = "lineno" > 61< / span >   < span class = "comment" > // The extra space gained can be used for a generic mouse event that can be called< / span > < / div >
< div class = "line" > < a name = "l00062" > < / a > < span class = "lineno" > 62< / span >   < span class = "comment" > // when there are _ANY_ changes. This one you _MAY_ want to pass everything, however the< / span > < / div >
< div class = "line" > < a name = "l00063" > < / a > < span class = "lineno" > 63< / span >   < span class = "comment" > // sketch could already have noted these facts to support drag/drop scroll wheel stuff, etc.< / span > < / div >
< div class = "line" > < a name = "l00064" > < / a > < span class = "lineno" > 64< / span >   < span class = "comment" > //< / span > < / div >
< div class = "line" > < a name = "l00065" > < / a > < span class = "lineno" > 65< / span >   < / div >
< div class = "line" > < a name = "l00066" > < / a > < span class = "lineno" > 66< / span >   < span class = "comment" > // Why do we need to pass the structure for buttons?< / span > < / div >
< div class = "line" > < a name = "l00067" > < / a > < span class = "lineno" > 67< / span >   < span class = "comment" > // The function call not enough of a hint for what is happening?< / span > < / div >
< div class = "line" > < a name = "l00068" > < / a > < span class = "lineno" > 68< / span >   < span class = "keywordflow" > if< / span > (prevState.mouseInfo.bmLeftButton != pmi-> < a class = "code" href = "struct_m_o_u_s_e_i_n_f_o.html#a848ceb3b38f0dc9e09a83612c1fa89ff" > bmLeftButton< / a > ) {< / div >
< div class = "line" > < a name = "l00069" > < / a > < span class = "lineno" > 69< / span >   < span class = "keywordflow" > if< / span > (pmi-> < a class = "code" href = "struct_m_o_u_s_e_i_n_f_o.html#a848ceb3b38f0dc9e09a83612c1fa89ff" > bmLeftButton< / a > ) {< / div >
< div class = "line" > < a name = "l00070" > < / a > < span class = "lineno" > 70< / span >   < a class = "code" href = "class_mouse_report_parser.html#accfab93f9a2ba8fa0998437dcca44086" > OnLeftButtonDown< / a > (pmi);< / div >
< div class = "line" > < a name = "l00071" > < / a > < span class = "lineno" > 71< / span >   } < span class = "keywordflow" > else< / span > {< / div >
< div class = "line" > < a name = "l00072" > < / a > < span class = "lineno" > 72< / span >   < a class = "code" href = "class_mouse_report_parser.html#a6e640919bf67e70c66f1dcbee5798e45" > OnLeftButtonUp< / a > (pmi);< / div >
2013-06-17 20:33:24 +02:00
< div class = "line" > < a name = "l00073" > < / a > < span class = "lineno" > 73< / span >   }< / div >
2014-01-10 18:20:37 +01:00
< div class = "line" > < a name = "l00074" > < / a > < span class = "lineno" > 74< / span >   < span class = "comment" > // Future:< / span > < / div >
< div class = "line" > < a name = "l00075" > < / a > < span class = "lineno" > 75< / span >   < span class = "comment" > // event = true;< / span > < / div >
2013-06-17 20:33:24 +02:00
< div class = "line" > < a name = "l00076" > < / a > < span class = "lineno" > 76< / span >   }< / div >
2014-01-10 18:20:37 +01:00
< div class = "line" > < a name = "l00077" > < / a > < span class = "lineno" > 77< / span >   < / div >
< div class = "line" > < a name = "l00078" > < / a > < span class = "lineno" > 78< / span >   < span class = "keywordflow" > if< / span > (prevState.mouseInfo.bmRightButton != pmi-> < a class = "code" href = "struct_m_o_u_s_e_i_n_f_o.html#a07f604e1dffc0a72fa28e94a5094ebbe" > bmRightButton< / a > ) {< / div >
< div class = "line" > < a name = "l00079" > < / a > < span class = "lineno" > 79< / span >   < span class = "keywordflow" > if< / span > (pmi-> < a class = "code" href = "struct_m_o_u_s_e_i_n_f_o.html#a07f604e1dffc0a72fa28e94a5094ebbe" > bmRightButton< / a > ) {< / div >
< div class = "line" > < a name = "l00080" > < / a > < span class = "lineno" > 80< / span >   < a class = "code" href = "class_mouse_report_parser.html#a6884349e6b2de0cbfedf3e1a77c23870" > OnRightButtonDown< / a > (pmi);< / div >
< div class = "line" > < a name = "l00081" > < / a > < span class = "lineno" > 81< / span >   } < span class = "keywordflow" > else< / span > {< / div >
< div class = "line" > < a name = "l00082" > < / a > < span class = "lineno" > 82< / span >   < a class = "code" href = "class_mouse_report_parser.html#a1bdfee565073cd8b77cbeb9e184c174f" > OnRightButtonUp< / a > (pmi);< / div >
< div class = "line" > < a name = "l00083" > < / a > < span class = "lineno" > 83< / span >   }< / div >
< div class = "line" > < a name = "l00084" > < / a > < span class = "lineno" > 84< / span >   < span class = "comment" > // Future:< / span > < / div >
< div class = "line" > < a name = "l00085" > < / a > < span class = "lineno" > 85< / span >   < span class = "comment" > // event = true;< / span > < / div >
< div class = "line" > < a name = "l00086" > < / a > < span class = "lineno" > 86< / span >   }< / div >
< div class = "line" > < a name = "l00087" > < / a > < span class = "lineno" > 87< / span >   < / div >
< div class = "line" > < a name = "l00088" > < / a > < span class = "lineno" > 88< / span >   < span class = "keywordflow" > if< / span > (prevState.mouseInfo.bmMiddleButton != pmi-> < a class = "code" href = "struct_m_o_u_s_e_i_n_f_o.html#a7fb48a7cb68cfc8db2bb8838694c0b51" > bmMiddleButton< / a > ) {< / div >
< div class = "line" > < a name = "l00089" > < / a > < span class = "lineno" > 89< / span >   < span class = "keywordflow" > if< / span > (pmi-> < a class = "code" href = "struct_m_o_u_s_e_i_n_f_o.html#a7fb48a7cb68cfc8db2bb8838694c0b51" > bmMiddleButton< / a > ) {< / div >
< div class = "line" > < a name = "l00090" > < / a > < span class = "lineno" > 90< / span >   < a class = "code" href = "class_mouse_report_parser.html#ad1c06ea106608bd3dcb5c90ecc487ac9" > OnMiddleButtonDown< / a > (pmi);< / div >
< div class = "line" > < a name = "l00091" > < / a > < span class = "lineno" > 91< / span >   } < span class = "keywordflow" > else< / span > {< / div >
< div class = "line" > < a name = "l00092" > < / a > < span class = "lineno" > 92< / span >   < a class = "code" href = "class_mouse_report_parser.html#a7512c9a85581aa4be52a780d7c91f655" > OnMiddleButtonUp< / a > (pmi);< / div >
< div class = "line" > < a name = "l00093" > < / a > < span class = "lineno" > 93< / span >   }< / div >
< div class = "line" > < a name = "l00094" > < / a > < span class = "lineno" > 94< / span >   < span class = "comment" > // Future:< / span > < / div >
< div class = "line" > < a name = "l00095" > < / a > < span class = "lineno" > 95< / span >   < span class = "comment" > // event = true;< / span > < / div >
< div class = "line" > < a name = "l00096" > < / a > < span class = "lineno" > 96< / span >   }< / div >
< div class = "line" > < a name = "l00097" > < / a > < span class = "lineno" > 97< / span >   < / div >
< div class = "line" > < a name = "l00098" > < / a > < span class = "lineno" > 98< / span >   < span class = "comment" > //< / span > < / div >
< div class = "line" > < a name = "l00099" > < / a > < span class = "lineno" > 99< / span >   < span class = "comment" > // Scroll wheel(s), are not part of the spec, but we could support it.< / span > < / div >
< div class = "line" > < a name = "l00100" > < / a > < span class = "lineno" > 100< / span >   < span class = "comment" > // Logitech wireless keyboard and mouse combo reports scroll wheel in byte 4< / span > < / div >
< div class = "line" > < a name = "l00101" > < / a > < span class = "lineno" > 101< / span >   < span class = "comment" > // We wouldn' t even need to save this information.< / span > < / div >
< div class = "line" > < a name = "l00102" > < / a > < span class = "lineno" > 102< / span >   < span class = "comment" > //if(len > 3) {< / span > < / div >
< div class = "line" > < a name = "l00103" > < / a > < span class = "lineno" > 103< / span >   < span class = "comment" > //}< / span > < / div >
< div class = "line" > < a name = "l00104" > < / a > < span class = "lineno" > 104< / span >   < span class = "comment" > //< / span > < / div >
< div class = "line" > < a name = "l00105" > < / a > < span class = "lineno" > 105< / span >   < / div >
< div class = "line" > < a name = "l00106" > < / a > < span class = "lineno" > 106< / span >   < span class = "comment" > // Mice only report motion when they actually move!< / span > < / div >
< div class = "line" > < a name = "l00107" > < / a > < span class = "lineno" > 107< / span >   < span class = "comment" > // Why not just pass the x/y values to simplify things??< / span > < / div >
< div class = "line" > < a name = "l00108" > < / a > < span class = "lineno" > 108< / span >   < span class = "keywordflow" > if< / span > (pmi-> < a class = "code" href = "struct_m_o_u_s_e_i_n_f_o.html#a8b67db1c54e5db9782a0b5b707dcf9db" > dX< / a > || pmi-> < a class = "code" href = "struct_m_o_u_s_e_i_n_f_o.html#ae7192500776548f5c6868cc37eaaabb2" > dY< / a > ) {< / div >
< div class = "line" > < a name = "l00109" > < / a > < span class = "lineno" > 109< / span >   < a class = "code" href = "class_mouse_report_parser.html#a3e231baff6196df63dbad9a44f4945a7" > OnMouseMove< / a > (pmi);< / div >
< div class = "line" > < a name = "l00110" > < / a > < span class = "lineno" > 110< / span >   < span class = "comment" > // Future:< / span > < / div >
< div class = "line" > < a name = "l00111" > < / a > < span class = "lineno" > 111< / span >   < span class = "comment" > // event = true;< / span > < / div >
< div class = "line" > < a name = "l00112" > < / a > < span class = "lineno" > 112< / span >   }< / div >
< div class = "line" > < a name = "l00113" > < / a > < span class = "lineno" > 113< / span >   < / div >
< div class = "line" > < a name = "l00114" > < / a > < span class = "lineno" > 114< / span >   < span class = "comment" > //< / span > < / div >
< div class = "line" > < a name = "l00115" > < / a > < span class = "lineno" > 115< / span >   < span class = "comment" > // Future:< / span > < / div >
< div class = "line" > < a name = "l00116" > < / a > < span class = "lineno" > 116< / span >   < span class = "comment" > // Provide a callback that operates on the gathered events from above.< / span > < / div >
< div class = "line" > < a name = "l00117" > < / a > < span class = "lineno" > 117< / span >   < span class = "comment" > //< / span > < / div >
< div class = "line" > < a name = "l00118" > < / a > < span class = "lineno" > 118< / span >   < span class = "comment" > // if(event) OnMouse();< / span > < / div >
< div class = "line" > < a name = "l00119" > < / a > < span class = "lineno" > 119< / span >   < span class = "comment" > //< / span > < / div >
< div class = "line" > < a name = "l00120" > < / a > < span class = "lineno" > 120< / span >   < / div >
< div class = "line" > < a name = "l00121" > < / a > < span class = "lineno" > 121< / span >   < span class = "comment" > // Only the first byte matters (buttons). We do NOT need to save position info.< / span > < / div >
< div class = "line" > < a name = "l00122" > < / a > < span class = "lineno" > 122< / span >   prevState.bInfo[0] = buf[0];< / div >
< div class = "line" > < a name = "l00123" > < / a > < span class = "lineno" > 123< / span >   < span class = "preprocessor" > #endif< / span > < / div >
< div class = "line" > < a name = "l00124" > < / a > < span class = "lineno" > 124< / span >   < span class = "preprocessor" > < / span > < / div >
< div class = "line" > < a name = "l00125" > < / a > < span class = "lineno" > 125< / span >   };< / div >
< div class = "line" > < a name = "l00126" > < / a > < span class = "lineno" > 126< / span >   < / div >
< div class = "line" > < a name = "l00127" > < / a > < span class = "lineno" > < a class = "line" href = "class_keyboard_report_parser.html#a60d8d4d4d187ce5c0e0d69aee7cc772f" > 127< / a > < / span >   < span class = "keywordtype" > void< / span > < a class = "code" href = "class_keyboard_report_parser.html#a60d8d4d4d187ce5c0e0d69aee7cc772f" > KeyboardReportParser::Parse< / a > (< a class = "code" href = "class_h_i_d.html" > HID< / a > *hid, < span class = "keywordtype" > bool< / span > is_rpt_id, uint8_t len, uint8_t *buf) {< / div >
< div class = "line" > < a name = "l00128" > < / a > < span class = "lineno" > 128< / span >   < span class = "comment" > // On error - return< / span > < / div >
< div class = "line" > < a name = "l00129" > < / a > < span class = "lineno" > 129< / span >   < span class = "keywordflow" > if< / span > (buf[2] == 1)< / div >
< div class = "line" > < a name = "l00130" > < / a > < span class = "lineno" > 130< / span >   < span class = "keywordflow" > return< / span > ;< / div >
< div class = "line" > < a name = "l00131" > < / a > < span class = "lineno" > 131< / span >   < / div >
< div class = "line" > < a name = "l00132" > < / a > < span class = "lineno" > 132< / span >   < span class = "comment" > //KBDINFO *pki = (KBDINFO*)buf;< / span > < / div >
< div class = "line" > < a name = "l00133" > < / a > < span class = "lineno" > 133< / span >   < / div >
< div class = "line" > < a name = "l00134" > < / a > < span class = "lineno" > 134< / span >   < span class = "comment" > // provide event for changed control key state< / span > < / div >
< div class = "line" > < a name = "l00135" > < / a > < span class = "lineno" > 135< / span >   < span class = "keywordflow" > if< / span > (< a class = "code" href = "class_keyboard_report_parser.html#af11da7bfeaff2505a36aa68abb0984f1" > prevState< / a > .bInfo[0x00] != buf[0x00]) {< / div >
< div class = "line" > < a name = "l00136" > < / a > < span class = "lineno" > 136< / span >   < a class = "code" href = "class_keyboard_report_parser.html#ae8ce494271e8536f4bdc089db51bc67e" > OnControlKeysChanged< / a > (< a class = "code" href = "class_keyboard_report_parser.html#af11da7bfeaff2505a36aa68abb0984f1" > prevState< / a > .bInfo[0x00], buf[0x00]);< / div >
< div class = "line" > < a name = "l00137" > < / a > < span class = "lineno" > 137< / span >   }< / div >
< div class = "line" > < a name = "l00138" > < / a > < span class = "lineno" > 138< / span >   < / div >
< div class = "line" > < a name = "l00139" > < / a > < span class = "lineno" > 139< / span >   < span class = "keywordflow" > for< / span > (uint8_t i = 2; i < 8; i++) {< / div >
< div class = "line" > < a name = "l00140" > < / a > < span class = "lineno" > 140< / span >   < span class = "keywordtype" > bool< / span > down = < span class = "keyword" > false< / span > ;< / div >
< div class = "line" > < a name = "l00141" > < / a > < span class = "lineno" > 141< / span >   < span class = "keywordtype" > bool< / span > up = < span class = "keyword" > false< / span > ;< / div >
< div class = "line" > < a name = "l00142" > < / a > < span class = "lineno" > 142< / span >   < / div >
< div class = "line" > < a name = "l00143" > < / a > < span class = "lineno" > 143< / span >   < span class = "keywordflow" > for< / span > (uint8_t j = 2; j < 8; j++) {< / div >
< div class = "line" > < a name = "l00144" > < / a > < span class = "lineno" > 144< / span >   < span class = "keywordflow" > if< / span > (buf[i] == < a class = "code" href = "class_keyboard_report_parser.html#af11da7bfeaff2505a36aa68abb0984f1" > prevState< / a > .bInfo[j] & & buf[i] != 1)< / div >
< div class = "line" > < a name = "l00145" > < / a > < span class = "lineno" > 145< / span >   down = < span class = "keyword" > true< / span > ;< / div >
< div class = "line" > < a name = "l00146" > < / a > < span class = "lineno" > 146< / span >   < span class = "keywordflow" > if< / span > (buf[j] == < a class = "code" href = "class_keyboard_report_parser.html#af11da7bfeaff2505a36aa68abb0984f1" > prevState< / a > .bInfo[i] & & < a class = "code" href = "class_keyboard_report_parser.html#af11da7bfeaff2505a36aa68abb0984f1" > prevState< / a > .bInfo[i] != 1)< / div >
< div class = "line" > < a name = "l00147" > < / a > < span class = "lineno" > 147< / span >   up = < span class = "keyword" > true< / span > ;< / div >
< div class = "line" > < a name = "l00148" > < / a > < span class = "lineno" > 148< / span >   }< / div >
< div class = "line" > < a name = "l00149" > < / a > < span class = "lineno" > 149< / span >   < span class = "keywordflow" > if< / span > (!down) {< / div >
< div class = "line" > < a name = "l00150" > < / a > < span class = "lineno" > 150< / span >   < a class = "code" href = "class_keyboard_report_parser.html#a486df60a3d29f73e9052d3efb0c38de6" > HandleLockingKeys< / a > (hid, buf[i]);< / div >
< div class = "line" > < a name = "l00151" > < / a > < span class = "lineno" > 151< / span >   < a class = "code" href = "class_keyboard_report_parser.html#af855e596bbbb9755535f6e69f4ca2305" > OnKeyDown< / a > (*buf, buf[i]);< / div >
< div class = "line" > < a name = "l00152" > < / a > < span class = "lineno" > 152< / span >   }< / div >
< div class = "line" > < a name = "l00153" > < / a > < span class = "lineno" > 153< / span >   < span class = "keywordflow" > if< / span > (!up)< / div >
< div class = "line" > < a name = "l00154" > < / a > < span class = "lineno" > 154< / span >   < a class = "code" href = "class_keyboard_report_parser.html#a57710d31e5379db14779f960f5c714b2" > OnKeyUp< / a > (< a class = "code" href = "class_keyboard_report_parser.html#af11da7bfeaff2505a36aa68abb0984f1" > prevState< / a > .bInfo[0], < a class = "code" href = "class_keyboard_report_parser.html#af11da7bfeaff2505a36aa68abb0984f1" > prevState< / a > .bInfo[i]);< / div >
< div class = "line" > < a name = "l00155" > < / a > < span class = "lineno" > 155< / span >   }< / div >
< div class = "line" > < a name = "l00156" > < / a > < span class = "lineno" > 156< / span >   < span class = "keywordflow" > for< / span > (uint8_t i = 0; i < 8; i++)< / div >
< div class = "line" > < a name = "l00157" > < / a > < span class = "lineno" > 157< / span >   < a class = "code" href = "class_keyboard_report_parser.html#af11da7bfeaff2505a36aa68abb0984f1" > prevState< / a > .bInfo[i] = buf[i];< / div >
< div class = "line" > < a name = "l00158" > < / a > < span class = "lineno" > 158< / span >   };< / div >
< div class = "line" > < a name = "l00159" > < / a > < span class = "lineno" > 159< / span >   < / div >
< div class = "line" > < a name = "l00160" > < / a > < span class = "lineno" > < a class = "line" href = "class_keyboard_report_parser.html#a486df60a3d29f73e9052d3efb0c38de6" > 160< / a > < / span >   uint8_t < a class = "code" href = "class_keyboard_report_parser.html#a486df60a3d29f73e9052d3efb0c38de6" > KeyboardReportParser::HandleLockingKeys< / a > (< a class = "code" href = "class_h_i_d.html" > HID< / a > *hid, uint8_t key) {< / div >
< div class = "line" > < a name = "l00161" > < / a > < span class = "lineno" > 161< / span >   uint8_t old_keys = < a class = "code" href = "class_keyboard_report_parser.html#a8a8bd1a171e6b17d1c6db04cedeeff44" > kbdLockingKeys< / a > .bLeds;< / div >
< div class = "line" > < a name = "l00162" > < / a > < span class = "lineno" > 162< / span >   < / div >
< div class = "line" > < a name = "l00163" > < / a > < span class = "lineno" > 163< / span >   < span class = "keywordflow" > switch< / span > (key) {< / div >
< div class = "line" > < a name = "l00164" > < / a > < span class = "lineno" > 164< / span >   < span class = "keywordflow" > case< / span > < a class = "code" href = "hidboot_8h.html#abed3f994055e37e80bede60fda7ea056" > UHS_HID_BOOT_KEY_NUM_LOCK< / a > :< / div >
< div class = "line" > < a name = "l00165" > < / a > < span class = "lineno" > 165< / span >   < a class = "code" href = "class_keyboard_report_parser.html#a8a8bd1a171e6b17d1c6db04cedeeff44" > kbdLockingKeys< / a > .kbdLeds.bmNumLock = ~< a class = "code" href = "class_keyboard_report_parser.html#a8a8bd1a171e6b17d1c6db04cedeeff44" > kbdLockingKeys< / a > .kbdLeds.bmNumLock;< / div >
< div class = "line" > < a name = "l00166" > < / a > < span class = "lineno" > 166< / span >   < span class = "keywordflow" > break< / span > ;< / div >
< div class = "line" > < a name = "l00167" > < / a > < span class = "lineno" > 167< / span >   < span class = "keywordflow" > case< / span > < a class = "code" href = "hidboot_8h.html#a85200689879c7520e38541fa8ba29ade" > UHS_HID_BOOT_KEY_CAPS_LOCK< / a > :< / div >
< div class = "line" > < a name = "l00168" > < / a > < span class = "lineno" > 168< / span >   < a class = "code" href = "class_keyboard_report_parser.html#a8a8bd1a171e6b17d1c6db04cedeeff44" > kbdLockingKeys< / a > .kbdLeds.bmCapsLock = ~< a class = "code" href = "class_keyboard_report_parser.html#a8a8bd1a171e6b17d1c6db04cedeeff44" > kbdLockingKeys< / a > .kbdLeds.bmCapsLock;< / div >
< div class = "line" > < a name = "l00169" > < / a > < span class = "lineno" > 169< / span >   < span class = "keywordflow" > break< / span > ;< / div >
< div class = "line" > < a name = "l00170" > < / a > < span class = "lineno" > 170< / span >   < span class = "keywordflow" > case< / span > < a class = "code" href = "hidboot_8h.html#ad13513d5056e7bfe9f5a2f17e7cc8e42" > UHS_HID_BOOT_KEY_SCROLL_LOCK< / a > :< / div >
< div class = "line" > < a name = "l00171" > < / a > < span class = "lineno" > 171< / span >   < a class = "code" href = "class_keyboard_report_parser.html#a8a8bd1a171e6b17d1c6db04cedeeff44" > kbdLockingKeys< / a > .kbdLeds.bmScrollLock = ~< a class = "code" href = "class_keyboard_report_parser.html#a8a8bd1a171e6b17d1c6db04cedeeff44" > kbdLockingKeys< / a > .kbdLeds.bmScrollLock;< / div >
< div class = "line" > < a name = "l00172" > < / a > < span class = "lineno" > 172< / span >   < span class = "keywordflow" > break< / span > ;< / div >
< div class = "line" > < a name = "l00173" > < / a > < span class = "lineno" > 173< / span >   }< / div >
< div class = "line" > < a name = "l00174" > < / a > < span class = "lineno" > 174< / span >   < / div >
< div class = "line" > < a name = "l00175" > < / a > < span class = "lineno" > 175< / span >   < span class = "keywordflow" > if< / span > (old_keys != < a class = "code" href = "class_keyboard_report_parser.html#a8a8bd1a171e6b17d1c6db04cedeeff44" > kbdLockingKeys< / a > .bLeds & & hid)< / div >
< div class = "line" > < a name = "l00176" > < / a > < span class = "lineno" > 176< / span >   < span class = "keywordflow" > return< / span > (hid-> < a class = "code" href = "class_h_i_d.html#a58ca963ba0f12d2a457cb247595f38e9" > SetReport< / a > (0, 0< span class = "comment" > /*hid-> GetIface()*/< / span > , 2, 0, 1, & < a class = "code" href = "class_keyboard_report_parser.html#a8a8bd1a171e6b17d1c6db04cedeeff44" > kbdLockingKeys< / a > .bLeds));< / div >
< div class = "line" > < a name = "l00177" > < / a > < span class = "lineno" > 177< / span >   < / div >
< div class = "line" > < a name = "l00178" > < / a > < span class = "lineno" > 178< / span >   < span class = "keywordflow" > return< / span > 0;< / div >
< div class = "line" > < a name = "l00179" > < / a > < span class = "lineno" > 179< / span >   }< / div >
< div class = "line" > < a name = "l00180" > < / a > < span class = "lineno" > 180< / span >   < / div >
< div class = "line" > < a name = "l00181" > < / a > < span class = "lineno" > 181< / 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 = "l00182" > < / a > < span class = "lineno" > 182< / 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 = "l00183" > < / a > < span class = "lineno" > 183< / 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 = "l00184" > < / a > < span class = "lineno" > 184< / 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 = "l00185" > < / a > < span class = "lineno" > 185< / span >   < / div >
< div class = "line" > < a name = "l00186" > < / a > < span class = "lineno" > < a class = "line" href = "class_keyboard_report_parser.html#aa21e9230ae4c2f068c404a9c2909a1f3" > 186< / 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 = "l00187" > < / a > < span class = "lineno" > 187< / span >   uint8_t shift = (mod & 0x22);< / div >
< div class = "line" > < a name = "l00188" > < / a > < span class = "lineno" > 188< / span >   < / div >
< div class = "line" > < a name = "l00189" > < / a > < span class = "lineno" > 189< / span >   < span class = "comment" > // [a-z]< / span > < / div >
< div class = "line" > < a name = "l00190" > < / a > < span class = "lineno" > 190< / span >   < span class = "keywordflow" > if< / span > (< a class = "code" href = "macros_8h.html#ad1bf62861b3f4199c42a93bf6b2181d0" > VALUE_WITHIN< / a > (key, 0x04, 0x1d)) {< / div >
< div class = "line" > < a name = "l00191" > < / a > < span class = "lineno" > 191< / span >   < span class = "comment" > // Upper case letters< / span > < / div >
< div class = "line" > < a name = "l00192" > < / a > < span class = "lineno" > 192< / span >   < span class = "keywordflow" > if< / span > ((< a class = "code" href = "class_keyboard_report_parser.html#a8a8bd1a171e6b17d1c6db04cedeeff44" > kbdLockingKeys< / a > .kbdLeds.bmCapsLock == 0 & & (mod & 2)) ||< / div >
< div class = "line" > < a name = "l00193" > < / a > < span class = "lineno" > 193< / span >   (< a class = "code" href = "class_keyboard_report_parser.html#a8a8bd1a171e6b17d1c6db04cedeeff44" > kbdLockingKeys< / a > .kbdLeds.bmCapsLock == 1 & & (mod & 2) == 0))< / div >
< div class = "line" > < a name = "l00194" > < / a > < span class = "lineno" > 194< / span >   < span class = "keywordflow" > return< / span > (key - 4 + < span class = "charliteral" > ' A' < / span > );< / div >
< div class = "line" > < a name = "l00195" > < / a > < span class = "lineno" > 195< / span >   < / div >
< div class = "line" > < a name = "l00196" > < / a > < span class = "lineno" > 196< / span >   < span class = "comment" > // Lower case letters< / span > < / div >
< div class = "line" > < a name = "l00197" > < / a > < span class = "lineno" > 197< / span >   < span class = "keywordflow" > else< / span > < / div >
< div class = "line" > < a name = "l00198" > < / a > < span class = "lineno" > 198< / span >   < span class = "keywordflow" > return< / span > (key - 4 + < span class = "charliteral" > ' a' < / span > );< / div >
< div class = "line" > < a name = "l00199" > < / a > < span class = "lineno" > 199< / span >   }< span class = "comment" > // Numbers< / span > < / div >
< div class = "line" > < a name = "l00200" > < / a > < span class = "lineno" > 200< / span >   < span class = "keywordflow" > else< / span > < span class = "keywordflow" > if< / span > (< a class = "code" href = "macros_8h.html#ad1bf62861b3f4199c42a93bf6b2181d0" > VALUE_WITHIN< / a > (key, 0x1e, 0x27)) {< / div >
< div class = "line" > < a name = "l00201" > < / a > < span class = "lineno" > 201< / span >   < span class = "keywordflow" > if< / span > (shift)< / div >
< div class = "line" > < a name = "l00202" > < / a > < span class = "lineno" > 202< / span >   < span class = "keywordflow" > return< / span > ((uint8_t)pgm_read_byte(& < a class = "code" href = "class_keyboard_report_parser.html#a963cbe34cb4061dff6262ce4b39a43e2" > getNumKeys< / a > ()[key - 0x1e]));< / div >
< div class = "line" > < a name = "l00203" > < / a > < span class = "lineno" > 203< / span >   < span class = "keywordflow" > else< / span > < / div >
< div class = "line" > < a name = "l00204" > < / a > < span class = "lineno" > 204< / span >   < span class = "keywordflow" > return< / span > ((key == < a class = "code" href = "hidboot_8h.html#a2458c33386b5c5d5bd2fc0544c9ff70c" > UHS_HID_BOOT_KEY_ZERO< / a > ) ? < span class = "charliteral" > ' 0' < / span > : key - 0x1e + < span class = "charliteral" > ' 1' < / span > );< / div >
< div class = "line" > < a name = "l00205" > < / a > < span class = "lineno" > 205< / span >   }< span class = "comment" > // Keypad Numbers< / span > < / div >
< div class = "line" > < a name = "l00206" > < / a > < span class = "lineno" > 206< / span >   < span class = "keywordflow" > else< / span > < span class = "keywordflow" > if< / span > (< a class = "code" href = "macros_8h.html#ad1bf62861b3f4199c42a93bf6b2181d0" > VALUE_WITHIN< / a > (key, 0x59, 0x61)) {< / div >
< div class = "line" > < a name = "l00207" > < / a > < span class = "lineno" > 207< / span >   < span class = "keywordflow" > if< / span > (< a class = "code" href = "class_keyboard_report_parser.html#a8a8bd1a171e6b17d1c6db04cedeeff44" > kbdLockingKeys< / a > .kbdLeds.bmNumLock == 1)< / div >
< div class = "line" > < a name = "l00208" > < / a > < span class = "lineno" > 208< / span >   < span class = "keywordflow" > return< / span > (key - 0x59 + < span class = "charliteral" > ' 1' < / span > );< / div >
< div class = "line" > < a name = "l00209" > < / a > < span class = "lineno" > 209< / span >   } < span class = "keywordflow" > else< / span > < span class = "keywordflow" > if< / span > (< a class = "code" href = "macros_8h.html#ad1bf62861b3f4199c42a93bf6b2181d0" > VALUE_WITHIN< / a > (key, 0x2d, 0x38))< / div >
< div class = "line" > < a name = "l00210" > < / a > < span class = "lineno" > 210< / span >   < span class = "keywordflow" > return< / span > ((shift) ? (uint8_t)pgm_read_byte(& < a class = "code" href = "class_keyboard_report_parser.html#a2df76a06fee8df45a3d0850459887427" > getSymKeysUp< / a > ()[key - 0x2d]) : (uint8_t)pgm_read_byte(& < a class = "code" href = "class_keyboard_report_parser.html#a14a44500a5c22cb7e5374e4e334e0255" > getSymKeysLo< / a > ()[key - 0x2d]));< / div >
< div class = "line" > < a name = "l00211" > < / a > < span class = "lineno" > 211< / span >   < span class = "keywordflow" > else< / span > < span class = "keywordflow" > if< / span > (< a class = "code" href = "macros_8h.html#ad1bf62861b3f4199c42a93bf6b2181d0" > VALUE_WITHIN< / a > (key, 0x54, 0x58))< / div >
< div class = "line" > < a name = "l00212" > < / a > < span class = "lineno" > 212< / span >   < span class = "keywordflow" > return< / span > (uint8_t)pgm_read_byte(& < a class = "code" href = "class_keyboard_report_parser.html#afa488405e7ba3ce5249064f38bb8912c" > getPadKeys< / a > ()[key - 0x54]);< / div >
< div class = "line" > < a name = "l00213" > < / a > < span class = "lineno" > 213< / span >   < span class = "keywordflow" > else< / span > {< / div >
< div class = "line" > < a name = "l00214" > < / a > < span class = "lineno" > 214< / span >   < span class = "keywordflow" > switch< / span > (key) {< / div >
< div class = "line" > < a name = "l00215" > < / a > < span class = "lineno" > 215< / 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 = "l00216" > < / a > < span class = "lineno" > 216< / 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 = "l00217" > < / a > < span class = "lineno" > 217< / 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#a8a8bd1a171e6b17d1c6db04cedeeff44" > kbdLockingKeys< / a > .kbdLeds.bmNumLock == 1) ? < span class = "charliteral" > ' 0' < / span > : 0);< / div >
< div class = "line" > < a name = "l00218" > < / a > < span class = "lineno" > 218< / 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#a8a8bd1a171e6b17d1c6db04cedeeff44" > kbdLockingKeys< / a > .kbdLeds.bmNumLock == 1) ? < span class = "charliteral" > ' .' < / span > : 0);< / div >
< div class = "line" > < a name = "l00219" > < / a > < span class = "lineno" > 219< / span >   }< / div >
< div class = "line" > < a name = "l00220" > < / a > < span class = "lineno" > 220< / span >   }< / div >
< div class = "line" > < a name = "l00221" > < / a > < span class = "lineno" > 221< / span >   < span class = "keywordflow" > return< / span > ( 0);< / div >
< div class = "line" > < a name = "l00222" > < / a > < span class = "lineno" > 222< / span >   }< / div >
2013-10-21 21:15:43 +02:00
< div class = "ttc" id = "hidboot_8h_html" > < div class = "ttname" > < a href = "hidboot_8h.html" > hidboot.h< / a > < / div > < / div >
2014-01-10 18:20:37 +01:00
< div class = "ttc" id = "hidboot_8h_html_a70520f779398f17618bbf6848472eecd" > < div class = "ttname" > < a href = "hidboot_8h.html#a70520f779398f17618bbf6848472eecd" > UHS_HID_BOOT_KEY_PERIOD< / a > < / div > < div class = "ttdeci" > #define UHS_HID_BOOT_KEY_PERIOD< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00029" > hidboot.h:29< / a > < / div > < / div >
< div class = "ttc" id = "struct_m_o_u_s_e_i_n_f_o_html_a07f604e1dffc0a72fa28e94a5094ebbe" > < div class = "ttname" > < a href = "struct_m_o_u_s_e_i_n_f_o.html#a07f604e1dffc0a72fa28e94a5094ebbe" > MOUSEINFO::bmRightButton< / a > < / div > < div class = "ttdeci" > uint8_t bmRightButton< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00043" > hidboot.h:43< / a > < / div > < / div >
< div class = "ttc" id = "class_keyboard_report_parser_html_a14a44500a5c22cb7e5374e4e334e0255" > < div class = "ttname" > < a href = "class_keyboard_report_parser.html#a14a44500a5c22cb7e5374e4e334e0255" > KeyboardReportParser::getSymKeysLo< / a > < / div > < div class = "ttdeci" > virtual const uint8_t * getSymKeysLo()< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00169" > hidboot.h:169< / a > < / div > < / div >
< div class = "ttc" id = "class_mouse_report_parser_html_a6884349e6b2de0cbfedf3e1a77c23870" > < div class = "ttname" > < a href = "class_mouse_report_parser.html#a6884349e6b2de0cbfedf3e1a77c23870" > MouseReportParser::OnRightButtonDown< / a > < / div > < div class = "ttdeci" > virtual void OnRightButtonDown(MOUSEINFO *mi)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00075" > hidboot.h:75< / a > < / div > < / div >
< div class = "ttc" id = "class_keyboard_report_parser_html_af855e596bbbb9755535f6e69f4ca2305" > < div class = "ttname" > < a href = "class_keyboard_report_parser.html#af855e596bbbb9755535f6e69f4ca2305" > KeyboardReportParser::OnKeyDown< / a > < / div > < div class = "ttdeci" > virtual void OnKeyDown(uint8_t mod, uint8_t key)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00155" > hidboot.h:155< / a > < / div > < / div >
< div class = "ttc" id = "class_h_i_d_html_a58ca963ba0f12d2a457cb247595f38e9" > < div class = "ttname" > < a href = "class_h_i_d.html#a58ca963ba0f12d2a457cb247595f38e9" > HID::SetReport< / a > < / div > < div class = "ttdeci" > uint8_t SetReport(uint8_t ep, uint8_t iface, uint8_t report_type, uint8_t report_id, uint16_t nbytes, uint8_t *dataptr)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hid_8cpp_source.html#l00033" > hid.cpp:33< / a > < / div > < / div >
< div class = "ttc" id = "class_mouse_report_parser_html_a7512c9a85581aa4be52a780d7c91f655" > < div class = "ttname" > < a href = "class_mouse_report_parser.html#a7512c9a85581aa4be52a780d7c91f655" > MouseReportParser::OnMiddleButtonUp< / a > < / div > < div class = "ttdeci" > virtual void OnMiddleButtonUp(MOUSEINFO *mi)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00078" > hidboot.h:78< / a > < / div > < / div >
< div class = "ttc" id = "class_keyboard_report_parser_html_a486df60a3d29f73e9052d3efb0c38de6" > < div class = "ttname" > < a href = "class_keyboard_report_parser.html#a486df60a3d29f73e9052d3efb0c38de6" > KeyboardReportParser::HandleLockingKeys< / a > < / div > < div class = "ttdeci" > virtual uint8_t HandleLockingKeys(HID *hid, uint8_t key)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8cpp_source.html#l00160" > hidboot.cpp:160< / a > < / div > < / div >
2013-10-21 21:15:43 +02:00
< div class = "ttc" id = "class_mouse_report_parser_html_a2dd4e0add7c902300de5e7250c6d6110" > < div class = "ttname" > < a href = "class_mouse_report_parser.html#a2dd4e0add7c902300de5e7250c6d6110" > MouseReportParser::Parse< / a > < / div > < div class = "ttdeci" > virtual void Parse(HID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8cpp_source.html#l00019" > hidboot.cpp:19< / a > < / div > < / div >
2014-01-10 18:20:37 +01:00
< div class = "ttc" id = "hidboot_8h_html_a69193f2a5138ebecc6819e21e6b31c45" > < div class = "ttname" > < a href = "hidboot_8h.html#a69193f2a5138ebecc6819e21e6b31c45" > UHS_HID_BOOT_KEY_ZERO2< / a > < / div > < div class = "ttdeci" > #define UHS_HID_BOOT_KEY_ZERO2< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00028" > hidboot.h:28< / a > < / div > < / div >
< div class = "ttc" id = "hidboot_8h_html_ad13513d5056e7bfe9f5a2f17e7cc8e42" > < div class = "ttname" > < a href = "hidboot_8h.html#ad13513d5056e7bfe9f5a2f17e7cc8e42" > UHS_HID_BOOT_KEY_SCROLL_LOCK< / a > < / div > < div class = "ttdeci" > #define UHS_HID_BOOT_KEY_SCROLL_LOCK< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00026" > hidboot.h:26< / a > < / div > < / div >
2013-10-21 21:15:43 +02:00
< div class = "ttc" id = "class_keyboard_report_parser_html_a8a8bd1a171e6b17d1c6db04cedeeff44" > < div class = "ttname" > < a href = "class_keyboard_report_parser.html#a8a8bd1a171e6b17d1c6db04cedeeff44" > KeyboardReportParser::kbdLockingKeys< / a > < / div > < div class = "ttdeci" > union KeyboardReportParser::@14 kbdLockingKeys< / div > < / div >
< div class = "ttc" id = "class_keyboard_report_parser_html_af11da7bfeaff2505a36aa68abb0984f1" > < div class = "ttname" > < a href = "class_keyboard_report_parser.html#af11da7bfeaff2505a36aa68abb0984f1" > KeyboardReportParser::prevState< / a > < / div > < div class = "ttdeci" > union KeyboardReportParser::@13 prevState< / div > < / div >
2014-01-10 18:20:37 +01:00
< div class = "ttc" id = "hidboot_8h_html_a2458c33386b5c5d5bd2fc0544c9ff70c" > < div class = "ttname" > < a href = "hidboot_8h.html#a2458c33386b5c5d5bd2fc0544c9ff70c" > UHS_HID_BOOT_KEY_ZERO< / a > < / div > < div class = "ttdeci" > #define UHS_HID_BOOT_KEY_ZERO< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00022" > hidboot.h:22< / a > < / div > < / div >
< div class = "ttc" id = "class_keyboard_report_parser_html_a57710d31e5379db14779f960f5c714b2" > < div class = "ttname" > < a href = "class_keyboard_report_parser.html#a57710d31e5379db14779f960f5c714b2" > KeyboardReportParser::OnKeyUp< / a > < / div > < div class = "ttdeci" > virtual void OnKeyUp(uint8_t mod, uint8_t key)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00158" > hidboot.h:158< / a > < / div > < / div >
< div class = "ttc" id = "class_keyboard_report_parser_html_a60d8d4d4d187ce5c0e0d69aee7cc772f" > < div class = "ttname" > < a href = "class_keyboard_report_parser.html#a60d8d4d4d187ce5c0e0d69aee7cc772f" > KeyboardReportParser::Parse< / a > < / div > < div class = "ttdeci" > virtual void Parse(HID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8cpp_source.html#l00127" > hidboot.cpp:127< / a > < / div > < / div >
< div class = "ttc" id = "class_keyboard_report_parser_html_a2df76a06fee8df45a3d0850459887427" > < div class = "ttname" > < a href = "class_keyboard_report_parser.html#a2df76a06fee8df45a3d0850459887427" > KeyboardReportParser::getSymKeysUp< / a > < / div > < div class = "ttdeci" > virtual const uint8_t * getSymKeysUp()< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00165" > hidboot.h:165< / a > < / div > < / div >
< div class = "ttc" id = "struct_m_o_u_s_e_i_n_f_o_html_a7fb48a7cb68cfc8db2bb8838694c0b51" > < div class = "ttname" > < a href = "struct_m_o_u_s_e_i_n_f_o.html#a7fb48a7cb68cfc8db2bb8838694c0b51" > MOUSEINFO::bmMiddleButton< / a > < / div > < div class = "ttdeci" > uint8_t bmMiddleButton< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00044" > hidboot.h:44< / a > < / div > < / div >
< div class = "ttc" id = "class_mouse_report_parser_html_a6e640919bf67e70c66f1dcbee5798e45" > < div class = "ttname" > < a href = "class_mouse_report_parser.html#a6e640919bf67e70c66f1dcbee5798e45" > MouseReportParser::OnLeftButtonUp< / a > < / div > < div class = "ttdeci" > virtual void OnLeftButtonUp(MOUSEINFO *mi)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00066" > hidboot.h:66< / a > < / div > < / div >
< div class = "ttc" id = "hidboot_8h_html_abedef4cc17add7fafbbcda43b442964b" > < div class = "ttname" > < a href = "hidboot_8h.html#abedef4cc17add7fafbbcda43b442964b" > UHS_HID_BOOT_KEY_SPACE< / a > < / div > < div class = "ttdeci" > #define UHS_HID_BOOT_KEY_SPACE< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00024" > hidboot.h:24< / a > < / div > < / div >
< div class = "ttc" id = "struct_m_o_u_s_e_i_n_f_o_html" > < div class = "ttname" > < a href = "struct_m_o_u_s_e_i_n_f_o.html" > MOUSEINFO< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00039" > hidboot.h:39< / a > < / div > < / div >
< div class = "ttc" id = "class_mouse_report_parser_html_a3e231baff6196df63dbad9a44f4945a7" > < div class = "ttname" > < a href = "class_mouse_report_parser.html#a3e231baff6196df63dbad9a44f4945a7" > MouseReportParser::OnMouseMove< / a > < / div > < div class = "ttdeci" > virtual void OnMouseMove(MOUSEINFO *mi)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00063" > hidboot.h:63< / a > < / div > < / div >
< div class = "ttc" id = "class_mouse_report_parser_html_a1bdfee565073cd8b77cbeb9e184c174f" > < div class = "ttname" > < a href = "class_mouse_report_parser.html#a1bdfee565073cd8b77cbeb9e184c174f" > MouseReportParser::OnRightButtonUp< / a > < / div > < div class = "ttdeci" > virtual void OnRightButtonUp(MOUSEINFO *mi)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00072" > hidboot.h:72< / a > < / div > < / div >
2013-10-21 21:15:43 +02:00
< div class = "ttc" id = "class_h_i_d_html" > < div class = "ttname" > < a href = "class_h_i_d.html" > HID< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hid_8h_source.html#l00143" > hid.h:143< / a > < / div > < / div >
2014-01-10 18:20:37 +01:00
< div class = "ttc" id = "macros_8h_html_ad1bf62861b3f4199c42a93bf6b2181d0" > < div class = "ttname" > < a href = "macros_8h.html#ad1bf62861b3f4199c42a93bf6b2181d0" > VALUE_WITHIN< / a > < / div > < div class = "ttdeci" > #define VALUE_WITHIN(v, l, h)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "macros_8h_source.html#l00018" > macros.h:18< / a > < / div > < / div >
< div class = "ttc" id = "class_mouse_report_parser_html_ad1c06ea106608bd3dcb5c90ecc487ac9" > < div class = "ttname" > < a href = "class_mouse_report_parser.html#ad1c06ea106608bd3dcb5c90ecc487ac9" > MouseReportParser::OnMiddleButtonDown< / a > < / div > < div class = "ttdeci" > virtual void OnMiddleButtonDown(MOUSEINFO *mi)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00081" > hidboot.h:81< / a > < / div > < / div >
< div class = "ttc" id = "hidboot_8h_html_abed3f994055e37e80bede60fda7ea056" > < div class = "ttname" > < a href = "hidboot_8h.html#abed3f994055e37e80bede60fda7ea056" > UHS_HID_BOOT_KEY_NUM_LOCK< / a > < / div > < div class = "ttdeci" > #define UHS_HID_BOOT_KEY_NUM_LOCK< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00027" > hidboot.h:27< / a > < / div > < / div >
< div class = "ttc" id = "hidboot_8h_html_a42f71f6d2b7e4f543826af0234834237" > < div class = "ttname" > < a href = "hidboot_8h.html#a42f71f6d2b7e4f543826af0234834237" > UHS_HID_BOOT_KEY_ENTER< / a > < / div > < div class = "ttdeci" > #define UHS_HID_BOOT_KEY_ENTER< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00023" > hidboot.h:23< / a > < / div > < / div >
< div class = "ttc" id = "struct_m_o_u_s_e_i_n_f_o_html_a8b67db1c54e5db9782a0b5b707dcf9db" > < div class = "ttname" > < a href = "struct_m_o_u_s_e_i_n_f_o.html#a8b67db1c54e5db9782a0b5b707dcf9db" > MOUSEINFO::dX< / a > < / div > < div class = "ttdeci" > int8_t dX< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00047" > hidboot.h:47< / a > < / div > < / div >
< div class = "ttc" id = "class_keyboard_report_parser_html_ae8ce494271e8536f4bdc089db51bc67e" > < div class = "ttname" > < a href = "class_keyboard_report_parser.html#ae8ce494271e8536f4bdc089db51bc67e" > KeyboardReportParser::OnControlKeysChanged< / a > < / div > < div class = "ttdeci" > virtual void OnControlKeysChanged(uint8_t before, uint8_t after)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00152" > hidboot.h:152< / a > < / div > < / div >
< div class = "ttc" id = "class_mouse_report_parser_html_accfab93f9a2ba8fa0998437dcca44086" > < div class = "ttname" > < a href = "class_mouse_report_parser.html#accfab93f9a2ba8fa0998437dcca44086" > MouseReportParser::OnLeftButtonDown< / a > < / div > < div class = "ttdeci" > virtual void OnLeftButtonDown(MOUSEINFO *mi)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00069" > hidboot.h:69< / a > < / div > < / div >
< div class = "ttc" id = "class_keyboard_report_parser_html_a963cbe34cb4061dff6262ce4b39a43e2" > < div class = "ttname" > < a href = "class_keyboard_report_parser.html#a963cbe34cb4061dff6262ce4b39a43e2" > KeyboardReportParser::getNumKeys< / a > < / div > < div class = "ttdeci" > virtual const uint8_t * getNumKeys()< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00161" > hidboot.h:161< / a > < / div > < / div >
< div class = "ttc" id = "class_keyboard_report_parser_html_afa488405e7ba3ce5249064f38bb8912c" > < div class = "ttname" > < a href = "class_keyboard_report_parser.html#afa488405e7ba3ce5249064f38bb8912c" > KeyboardReportParser::getPadKeys< / a > < / div > < div class = "ttdeci" > virtual const uint8_t * getPadKeys()< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00173" > hidboot.h:173< / a > < / div > < / div >
< div class = "ttc" id = "struct_m_o_u_s_e_i_n_f_o_html_ae7192500776548f5c6868cc37eaaabb2" > < div class = "ttname" > < a href = "struct_m_o_u_s_e_i_n_f_o.html#ae7192500776548f5c6868cc37eaaabb2" > MOUSEINFO::dY< / a > < / div > < div class = "ttdeci" > int8_t dY< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00048" > hidboot.h:48< / a > < / div > < / div >
< div class = "ttc" id = "struct_m_o_u_s_e_i_n_f_o_html_a848ceb3b38f0dc9e09a83612c1fa89ff" > < div class = "ttname" > < a href = "struct_m_o_u_s_e_i_n_f_o.html#a848ceb3b38f0dc9e09a83612c1fa89ff" > MOUSEINFO::bmLeftButton< / a > < / div > < div class = "ttdeci" > uint8_t bmLeftButton< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00042" > hidboot.h:42< / a > < / div > < / div >
< div class = "ttc" id = "hidboot_8h_html_a85200689879c7520e38541fa8ba29ade" > < div class = "ttname" > < a href = "hidboot_8h.html#a85200689879c7520e38541fa8ba29ade" > UHS_HID_BOOT_KEY_CAPS_LOCK< / a > < / div > < div class = "ttdeci" > #define UHS_HID_BOOT_KEY_CAPS_LOCK< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8h_source.html#l00025" > hidboot.h:25< / a > < / div > < / div >
< div class = "ttc" id = "class_keyboard_report_parser_html_aa21e9230ae4c2f068c404a9c2909a1f3" > < div class = "ttname" > < a href = "class_keyboard_report_parser.html#aa21e9230ae4c2f068c404a9c2909a1f3" > KeyboardReportParser::OemToAscii< / a > < / div > < div class = "ttdeci" > uint8_t OemToAscii(uint8_t mod, uint8_t key)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "hidboot_8cpp_source.html#l00186" > hidboot.cpp:186< / a > < / div > < / div >
2013-02-05 20:02:12 +01:00
< / div > <!-- fragment --> < / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2013-02-17 01:37:13 +01:00
Generated by   < a href = "http://www.doxygen.org/index.html" >
2013-02-05 20:02:12 +01:00
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
2014-01-10 18:20:37 +01:00
< / a > 1.8.6
2013-02-05 20:02:12 +01:00
< / small > < / address >
< / body >
< / html >