acid-drop- Hacking the planet from a LilyGo T-Deck using custom firmware |
git clone git://git.acid.vegas/acid-drop.git |
Log | Files | Refs | Archive | README | LICENSE |
classace__button_1_1ButtonConfig.html (86321B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 5 <meta http-equiv="X-UA-Compatible" content="IE=9"/> 6 <meta name="generator" content="Doxygen 1.8.13"/> 7 <meta name="viewport" content="width=device-width, initial-scale=1"/> 8 <title>AceButton: ace_button::ButtonConfig Class Reference</title> 9 <link href="tabs.css" rel="stylesheet" type="text/css"/> 10 <script type="text/javascript" src="jquery.js"></script> 11 <script type="text/javascript" src="dynsections.js"></script> 12 <link href="search/search.css" rel="stylesheet" type="text/css"/> 13 <script type="text/javascript" src="search/searchdata.js"></script> 14 <script type="text/javascript" src="search/search.js"></script> 15 <link href="doxygen.css" rel="stylesheet" type="text/css" /> 16 </head> 17 <body> 18 <div id="top"><!-- do not remove this div, it is closed by doxygen! --> 19 <div id="titlearea"> 20 <table cellspacing="0" cellpadding="0"> 21 <tbody> 22 <tr style="height: 56px;"> 23 <td id="projectalign" style="padding-left: 0.5em;"> 24 <div id="projectname">AceButton 25  <span id="projectnumber">1.3.3</span> 26 </div> 27 <div id="projectbrief">An adjustable, compact, event-driven button library for Arduino.</div> 28 </td> 29 </tr> 30 </tbody> 31 </table> 32 </div> 33 <!-- end header part --> 34 <!-- Generated by Doxygen 1.8.13 --> 35 <script type="text/javascript"> 36 var searchBox = new SearchBox("searchBox", "search",false,'Search'); 37 </script> 38 <script type="text/javascript" src="menudata.js"></script> 39 <script type="text/javascript" src="menu.js"></script> 40 <script type="text/javascript"> 41 $(function() { 42 initMenu('',true,false,'search.php','Search'); 43 $(document).ready(function() { init_search(); }); 44 }); 45 </script> 46 <div id="main-nav"></div> 47 <!-- window showing the filter options --> 48 <div id="MSearchSelectWindow" 49 onmouseover="return searchBox.OnSearchSelectShow()" 50 onmouseout="return searchBox.OnSearchSelectHide()" 51 onkeydown="return searchBox.OnSearchSelectKey(event)"> 52 </div> 53 54 <!-- iframe showing the search results (closed by default) --> 55 <div id="MSearchResultsWindow"> 56 <iframe src="javascript:void(0)" frameborder="0" 57 name="MSearchResults" id="MSearchResults"> 58 </iframe> 59 </div> 60 61 <div id="nav-path" class="navpath"> 62 <ul> 63 <li class="navelem"><b>ace_button</b></li><li class="navelem"><a class="el" href="classace__button_1_1ButtonConfig.html">ButtonConfig</a></li> </ul> 64 </div> 65 </div><!-- top --> 66 <div class="header"> 67 <div class="summary"> 68 <a href="#pub-types">Public Types</a> | 69 <a href="#pub-methods">Public Member Functions</a> | 70 <a href="#pub-static-methods">Static Public Member Functions</a> | 71 <a href="#pub-static-attribs">Static Public Attributes</a> | 72 <a href="#pro-methods">Protected Member Functions</a> | 73 <a href="classace__button_1_1ButtonConfig-members.html">List of all members</a> </div> 74 <div class="headertitle"> 75 <div class="title">ace_button::ButtonConfig Class Reference</div> </div> 76 </div><!--header--> 77 <div class="contents"> 78 79 <p>Class that defines the timing parameters and event handler of an <a class="el" href="classace__button_1_1AceButton.html" title="An Adjustable Compact Event-driven (ACE) Button library that debounces and dispatches button events t...">AceButton</a> or a group of <a class="el" href="classace__button_1_1AceButton.html" title="An Adjustable Compact Event-driven (ACE) Button library that debounces and dispatches button events t...">AceButton</a> instances. 80 <a href="classace__button_1_1ButtonConfig.html#details">More...</a></p> 81 82 <p><code>#include <<a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>></code></p> 83 <div class="dynheader"> 84 Inheritance diagram for ace_button::ButtonConfig:</div> 85 <div class="dyncontent"> 86 <div class="center"><img src="classace__button_1_1ButtonConfig__inherit__graph.png" border="0" usemap="#ace__button_1_1ButtonConfig_inherit__map" alt="Inheritance graph"/></div> 87 <map name="ace__button_1_1ButtonConfig_inherit__map" id="ace__button_1_1ButtonConfig_inherit__map"> 88 <area shape="rect" id="node2" href="classace__button_1_1AdjustableButtonConfig.html" title="A subclass of ButtonConfig which allows the user to override the varous timing parameters of ButtonCo..." alt="" coords="5,80,199,121"/> 89 </map> 90 <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> 91 <table class="memberdecls"> 92 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> 93 Public Types</h2></td></tr> 94 <tr class="memitem:a1c7c7bfc42738278330243dfc43f23eb"><td class="memItemLeft" align="right" valign="top">typedef uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a></td></tr> 95 <tr class="memdesc:a1c7c7bfc42738278330243dfc43f23eb"><td class="mdescLeft"> </td><td class="mdescRight">Type of the feature flag. <a href="#a1c7c7bfc42738278330243dfc43f23eb">More...</a><br /></td></tr> 96 <tr class="separator:a1c7c7bfc42738278330243dfc43f23eb"><td class="memSeparator" colspan="2"> </td></tr> 97 <tr class="memitem:a6d9db3c7b221b474c3cfd8fca5f4ba1e"><td class="memItemLeft" align="right" valign="top">typedef void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a6d9db3c7b221b474c3cfd8fca5f4ba1e">EventHandler</a>) (<a class="el" href="classace__button_1_1AceButton.html">AceButton</a> *button, uint8_t eventType, uint8_t buttonState)</td></tr> 98 <tr class="memdesc:a6d9db3c7b221b474c3cfd8fca5f4ba1e"><td class="mdescLeft"> </td><td class="mdescRight">The event handler signature. <a href="#a6d9db3c7b221b474c3cfd8fca5f4ba1e">More...</a><br /></td></tr> 99 <tr class="separator:a6d9db3c7b221b474c3cfd8fca5f4ba1e"><td class="memSeparator" colspan="2"> </td></tr> 100 </table><table class="memberdecls"> 101 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> 102 Public Member Functions</h2></td></tr> 103 <tr class="memitem:a66924aac157a81cc54a9776fb975893a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a66924aac157a81cc54a9776fb975893a">ButtonConfig</a> ()</td></tr> 104 <tr class="memdesc:a66924aac157a81cc54a9776fb975893a"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a66924aac157a81cc54a9776fb975893a">More...</a><br /></td></tr> 105 <tr class="separator:a66924aac157a81cc54a9776fb975893a"><td class="memSeparator" colspan="2"> </td></tr> 106 <tr class="memitem:ad7be58d0fe0b242f78f15319d201a565"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#ad7be58d0fe0b242f78f15319d201a565">getDebounceDelay</a> ()</td></tr> 107 <tr class="memdesc:ad7be58d0fe0b242f78f15319d201a565"><td class="mdescLeft"> </td><td class="mdescRight">Milliseconds to wait for debouncing. <a href="#ad7be58d0fe0b242f78f15319d201a565">More...</a><br /></td></tr> 108 <tr class="separator:ad7be58d0fe0b242f78f15319d201a565"><td class="memSeparator" colspan="2"> </td></tr> 109 <tr class="memitem:a19db203ce87dc2cafb2cab6ba124387a"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a19db203ce87dc2cafb2cab6ba124387a">getClickDelay</a> ()</td></tr> 110 <tr class="memdesc:a19db203ce87dc2cafb2cab6ba124387a"><td class="mdescLeft"> </td><td class="mdescRight">Milliseconds to wait for a possible click. <a href="#a19db203ce87dc2cafb2cab6ba124387a">More...</a><br /></td></tr> 111 <tr class="separator:a19db203ce87dc2cafb2cab6ba124387a"><td class="memSeparator" colspan="2"> </td></tr> 112 <tr class="memitem:a5ba500367e03c36f39225a5858e110e6"><td class="memItemLeft" align="right" valign="top"><a id="a5ba500367e03c36f39225a5858e110e6"></a> 113 uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a5ba500367e03c36f39225a5858e110e6">getDoubleClickDelay</a> ()</td></tr> 114 <tr class="memdesc:a5ba500367e03c36f39225a5858e110e6"><td class="mdescLeft"> </td><td class="mdescRight">Milliseconds between the first and second click to register as a double-click. <br /></td></tr> 115 <tr class="separator:a5ba500367e03c36f39225a5858e110e6"><td class="memSeparator" colspan="2"> </td></tr> 116 <tr class="memitem:a46d4213a827a94bf82ba99a9c2e59531"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a46d4213a827a94bf82ba99a9c2e59531">getLongPressDelay</a> ()</td></tr> 117 <tr class="memdesc:a46d4213a827a94bf82ba99a9c2e59531"><td class="mdescLeft"> </td><td class="mdescRight">Milliseconds for a long press event. <a href="#a46d4213a827a94bf82ba99a9c2e59531">More...</a><br /></td></tr> 118 <tr class="separator:a46d4213a827a94bf82ba99a9c2e59531"><td class="memSeparator" colspan="2"> </td></tr> 119 <tr class="memitem:ad85c75d2a2dd200552a181fb154d5fd2"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#ad85c75d2a2dd200552a181fb154d5fd2">getRepeatPressDelay</a> ()</td></tr> 120 <tr class="memdesc:ad85c75d2a2dd200552a181fb154d5fd2"><td class="mdescLeft"> </td><td class="mdescRight">Milliseconds that a button needs to be Pressed down before the start of the sequence of RepeatPressed events. <a href="#ad85c75d2a2dd200552a181fb154d5fd2">More...</a><br /></td></tr> 121 <tr class="separator:ad85c75d2a2dd200552a181fb154d5fd2"><td class="memSeparator" colspan="2"> </td></tr> 122 <tr class="memitem:aec4a97a1a1306b9ff12f1cdf44515c43"><td class="memItemLeft" align="right" valign="top"><a id="aec4a97a1a1306b9ff12f1cdf44515c43"></a> 123 uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#aec4a97a1a1306b9ff12f1cdf44515c43">getRepeatPressInterval</a> ()</td></tr> 124 <tr class="memdesc:aec4a97a1a1306b9ff12f1cdf44515c43"><td class="mdescLeft"> </td><td class="mdescRight">Milliseconds between two successive RepeatPressed events. <br /></td></tr> 125 <tr class="separator:aec4a97a1a1306b9ff12f1cdf44515c43"><td class="memSeparator" colspan="2"> </td></tr> 126 <tr class="memitem:a9860d2c8a6ab33d40ea126b02d168cab"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a9860d2c8a6ab33d40ea126b02d168cab">setDebounceDelay</a> (uint16_t debounceDelay)</td></tr> 127 <tr class="memdesc:a9860d2c8a6ab33d40ea126b02d168cab"><td class="mdescLeft"> </td><td class="mdescRight">Set the debounceDelay. <a href="#a9860d2c8a6ab33d40ea126b02d168cab">More...</a><br /></td></tr> 128 <tr class="separator:a9860d2c8a6ab33d40ea126b02d168cab"><td class="memSeparator" colspan="2"> </td></tr> 129 <tr class="memitem:aef65e12128997c46bc2754a988b98f14"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#aef65e12128997c46bc2754a988b98f14">setClickDelay</a> (uint16_t clickDelay)</td></tr> 130 <tr class="memdesc:aef65e12128997c46bc2754a988b98f14"><td class="mdescLeft"> </td><td class="mdescRight">Set the clickDelay. <a href="#aef65e12128997c46bc2754a988b98f14">More...</a><br /></td></tr> 131 <tr class="separator:aef65e12128997c46bc2754a988b98f14"><td class="memSeparator" colspan="2"> </td></tr> 132 <tr class="memitem:a367a809017e1d633a5cf6b117981d579"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a367a809017e1d633a5cf6b117981d579">setDoubleClickDelay</a> (uint16_t doubleClickDelay)</td></tr> 133 <tr class="memdesc:a367a809017e1d633a5cf6b117981d579"><td class="mdescLeft"> </td><td class="mdescRight">Set the doubleClickDelay. <a href="#a367a809017e1d633a5cf6b117981d579">More...</a><br /></td></tr> 134 <tr class="separator:a367a809017e1d633a5cf6b117981d579"><td class="memSeparator" colspan="2"> </td></tr> 135 <tr class="memitem:a7d90d39aeddacb5abc9d8741611d7c4a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a7d90d39aeddacb5abc9d8741611d7c4a">setLongPressDelay</a> (uint16_t longPressDelay)</td></tr> 136 <tr class="memdesc:a7d90d39aeddacb5abc9d8741611d7c4a"><td class="mdescLeft"> </td><td class="mdescRight">Set the longPressDelay. <a href="#a7d90d39aeddacb5abc9d8741611d7c4a">More...</a><br /></td></tr> 137 <tr class="separator:a7d90d39aeddacb5abc9d8741611d7c4a"><td class="memSeparator" colspan="2"> </td></tr> 138 <tr class="memitem:af813c969eddd884e9fa83b334a59a0a5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#af813c969eddd884e9fa83b334a59a0a5">setRepeatPressDelay</a> (uint16_t repeatPressDelay)</td></tr> 139 <tr class="memdesc:af813c969eddd884e9fa83b334a59a0a5"><td class="mdescLeft"> </td><td class="mdescRight">Set the repeatPressDelay. <a href="#af813c969eddd884e9fa83b334a59a0a5">More...</a><br /></td></tr> 140 <tr class="separator:af813c969eddd884e9fa83b334a59a0a5"><td class="memSeparator" colspan="2"> </td></tr> 141 <tr class="memitem:aa1b1217e0042512fc8d9b6544536aed3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#aa1b1217e0042512fc8d9b6544536aed3">setRepeatPressInterval</a> (uint16_t repeatPressInterval)</td></tr> 142 <tr class="memdesc:aa1b1217e0042512fc8d9b6544536aed3"><td class="mdescLeft"> </td><td class="mdescRight">Set the repeatPressInterval. <a href="#aa1b1217e0042512fc8d9b6544536aed3">More...</a><br /></td></tr> 143 <tr class="separator:aa1b1217e0042512fc8d9b6544536aed3"><td class="memSeparator" colspan="2"> </td></tr> 144 <tr class="memitem:a440271e22d5e7e161cdcb3b73f092111"><td class="memItemLeft" align="right" valign="top">virtual unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a440271e22d5e7e161cdcb3b73f092111">getClock</a> ()</td></tr> 145 <tr class="memdesc:a440271e22d5e7e161cdcb3b73f092111"><td class="mdescLeft"> </td><td class="mdescRight">Return the milliseconds of the internal clock. <a href="#a440271e22d5e7e161cdcb3b73f092111">More...</a><br /></td></tr> 146 <tr class="separator:a440271e22d5e7e161cdcb3b73f092111"><td class="memSeparator" colspan="2"> </td></tr> 147 <tr class="memitem:a8a74d1a1c082bfb0e4ddf55e67d3ac2d"><td class="memItemLeft" align="right" valign="top">virtual unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a8a74d1a1c082bfb0e4ddf55e67d3ac2d">getClockMicros</a> ()</td></tr> 148 <tr class="memdesc:a8a74d1a1c082bfb0e4ddf55e67d3ac2d"><td class="mdescLeft"> </td><td class="mdescRight">Return the microseconds of the internal clock. <a href="#a8a74d1a1c082bfb0e4ddf55e67d3ac2d">More...</a><br /></td></tr> 149 <tr class="separator:a8a74d1a1c082bfb0e4ddf55e67d3ac2d"><td class="memSeparator" colspan="2"> </td></tr> 150 <tr class="memitem:a5dab877bf124bfdf5a5eb703ca123027"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a5dab877bf124bfdf5a5eb703ca123027">readButton</a> (uint8_t pin)</td></tr> 151 <tr class="memdesc:a5dab877bf124bfdf5a5eb703ca123027"><td class="mdescLeft"> </td><td class="mdescRight">Return the HIGH or LOW state of the button. <a href="#a5dab877bf124bfdf5a5eb703ca123027">More...</a><br /></td></tr> 152 <tr class="separator:a5dab877bf124bfdf5a5eb703ca123027"><td class="memSeparator" colspan="2"> </td></tr> 153 <tr class="memitem:aae51c7a2986eafd400784cdbe6bb1815"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#aae51c7a2986eafd400784cdbe6bb1815">isFeature</a> (<a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> features) ACE_BUTTON_INLINE</td></tr> 154 <tr class="memdesc:aae51c7a2986eafd400784cdbe6bb1815"><td class="mdescLeft"> </td><td class="mdescRight">Check if the given features are enabled. <a href="#aae51c7a2986eafd400784cdbe6bb1815">More...</a><br /></td></tr> 155 <tr class="separator:aae51c7a2986eafd400784cdbe6bb1815"><td class="memSeparator" colspan="2"> </td></tr> 156 <tr class="memitem:aac1c9029b1cf9aa793060d372fc09a1a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#aac1c9029b1cf9aa793060d372fc09a1a">setFeature</a> (<a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> features) ACE_BUTTON_INLINE</td></tr> 157 <tr class="memdesc:aac1c9029b1cf9aa793060d372fc09a1a"><td class="mdescLeft"> </td><td class="mdescRight">Enable the given features. <a href="#aac1c9029b1cf9aa793060d372fc09a1a">More...</a><br /></td></tr> 158 <tr class="separator:aac1c9029b1cf9aa793060d372fc09a1a"><td class="memSeparator" colspan="2"> </td></tr> 159 <tr class="memitem:ac782903e4a60924db3d17c00accc7f3b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#ac782903e4a60924db3d17c00accc7f3b">clearFeature</a> (<a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> features) ACE_BUTTON_INLINE</td></tr> 160 <tr class="memdesc:ac782903e4a60924db3d17c00accc7f3b"><td class="mdescLeft"> </td><td class="mdescRight">Disable the given features. <a href="#ac782903e4a60924db3d17c00accc7f3b">More...</a><br /></td></tr> 161 <tr class="separator:ac782903e4a60924db3d17c00accc7f3b"><td class="memSeparator" colspan="2"> </td></tr> 162 <tr class="memitem:a8fc32804ba102f61ba97bcc5f4fe8448"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classace__button_1_1ButtonConfig.html#a6d9db3c7b221b474c3cfd8fca5f4ba1e">EventHandler</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a8fc32804ba102f61ba97bcc5f4fe8448">getEventHandler</a> () ACE_BUTTON_INLINE</td></tr> 163 <tr class="memdesc:a8fc32804ba102f61ba97bcc5f4fe8448"><td class="mdescLeft"> </td><td class="mdescRight">Return the eventHandler. <a href="#a8fc32804ba102f61ba97bcc5f4fe8448">More...</a><br /></td></tr> 164 <tr class="separator:a8fc32804ba102f61ba97bcc5f4fe8448"><td class="memSeparator" colspan="2"> </td></tr> 165 <tr class="memitem:a5d228f08e9943fd4ab90caab39ef80be"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a5d228f08e9943fd4ab90caab39ef80be">setEventHandler</a> (<a class="el" href="classace__button_1_1ButtonConfig.html#a6d9db3c7b221b474c3cfd8fca5f4ba1e">EventHandler</a> eventHandler) ACE_BUTTON_INLINE</td></tr> 166 <tr class="memdesc:a5d228f08e9943fd4ab90caab39ef80be"><td class="mdescLeft"> </td><td class="mdescRight">Install the event handler. <a href="#a5d228f08e9943fd4ab90caab39ef80be">More...</a><br /></td></tr> 167 <tr class="separator:a5d228f08e9943fd4ab90caab39ef80be"><td class="memSeparator" colspan="2"> </td></tr> 168 <tr class="memitem:a16d7dbbe1bb075018378e463cd8106de"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a16d7dbbe1bb075018378e463cd8106de">setTimingStats</a> (<a class="el" href="classace__button_1_1TimingStats.html">TimingStats</a> *timingStats)</td></tr> 169 <tr class="memdesc:a16d7dbbe1bb075018378e463cd8106de"><td class="mdescLeft"> </td><td class="mdescRight">Set the timing stats object. <a href="#a16d7dbbe1bb075018378e463cd8106de">More...</a><br /></td></tr> 170 <tr class="separator:a16d7dbbe1bb075018378e463cd8106de"><td class="memSeparator" colspan="2"> </td></tr> 171 <tr class="memitem:aff7101f2fe0f0c3bba67924b01e9d493"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classace__button_1_1TimingStats.html">TimingStats</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#aff7101f2fe0f0c3bba67924b01e9d493">getTimingStats</a> ()</td></tr> 172 <tr class="memdesc:aff7101f2fe0f0c3bba67924b01e9d493"><td class="mdescLeft"> </td><td class="mdescRight">Get the timing stats. <a href="#aff7101f2fe0f0c3bba67924b01e9d493">More...</a><br /></td></tr> 173 <tr class="separator:aff7101f2fe0f0c3bba67924b01e9d493"><td class="memSeparator" colspan="2"> </td></tr> 174 </table><table class="memberdecls"> 175 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> 176 Static Public Member Functions</h2></td></tr> 177 <tr class="memitem:ab780f081ef691b48deb5182d206a4b9d"><td class="memItemLeft" align="right" valign="top"><a id="ab780f081ef691b48deb5182d206a4b9d"></a> 178 static <a class="el" href="classace__button_1_1ButtonConfig.html">ButtonConfig</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#ab780f081ef691b48deb5182d206a4b9d">getSystemButtonConfig</a> () ACE_BUTTON_INLINE</td></tr> 179 <tr class="memdesc:ab780f081ef691b48deb5182d206a4b9d"><td class="mdescLeft"> </td><td class="mdescRight">Return a pointer to the singleton instance of the <a class="el" href="classace__button_1_1ButtonConfig.html" title="Class that defines the timing parameters and event handler of an AceButton or a group of AceButton in...">ButtonConfig</a> which is attached to all <a class="el" href="classace__button_1_1AceButton.html" title="An Adjustable Compact Event-driven (ACE) Button library that debounces and dispatches button events t...">AceButton</a> instances by default. <br /></td></tr> 180 <tr class="separator:ab780f081ef691b48deb5182d206a4b9d"><td class="memSeparator" colspan="2"> </td></tr> 181 </table><table class="memberdecls"> 182 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a> 183 Static Public Attributes</h2></td></tr> 184 <tr class="memitem:a8fbe63588107a1375d05911d27df3ad8"><td class="memItemLeft" align="right" valign="top">static const uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a8fbe63588107a1375d05911d27df3ad8">kDebounceDelay</a> = 20</td></tr> 185 <tr class="memdesc:a8fbe63588107a1375d05911d27df3ad8"><td class="mdescLeft"> </td><td class="mdescRight">Default value returned by <a class="el" href="classace__button_1_1ButtonConfig.html#ad7be58d0fe0b242f78f15319d201a565" title="Milliseconds to wait for debouncing. ">getDebounceDelay()</a>. <a href="#a8fbe63588107a1375d05911d27df3ad8">More...</a><br /></td></tr> 186 <tr class="separator:a8fbe63588107a1375d05911d27df3ad8"><td class="memSeparator" colspan="2"> </td></tr> 187 <tr class="memitem:a5691e38564dae63592d22abf74fb15f3"><td class="memItemLeft" align="right" valign="top">static const uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a5691e38564dae63592d22abf74fb15f3">kClickDelay</a> = 200</td></tr> 188 <tr class="memdesc:a5691e38564dae63592d22abf74fb15f3"><td class="mdescLeft"> </td><td class="mdescRight">Default value returned by <a class="el" href="classace__button_1_1ButtonConfig.html#a19db203ce87dc2cafb2cab6ba124387a" title="Milliseconds to wait for a possible click. ">getClickDelay()</a>. <a href="#a5691e38564dae63592d22abf74fb15f3">More...</a><br /></td></tr> 189 <tr class="separator:a5691e38564dae63592d22abf74fb15f3"><td class="memSeparator" colspan="2"> </td></tr> 190 <tr class="memitem:af0a0d503f3396acef6a84aca4390fd6a"><td class="memItemLeft" align="right" valign="top">static const uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#af0a0d503f3396acef6a84aca4390fd6a">kDoubleClickDelay</a> = 400</td></tr> 191 <tr class="memdesc:af0a0d503f3396acef6a84aca4390fd6a"><td class="mdescLeft"> </td><td class="mdescRight">Default value returned by <a class="el" href="classace__button_1_1ButtonConfig.html#a5ba500367e03c36f39225a5858e110e6" title="Milliseconds between the first and second click to register as a double-click. ">getDoubleClickDelay()</a>. <a href="#af0a0d503f3396acef6a84aca4390fd6a">More...</a><br /></td></tr> 192 <tr class="separator:af0a0d503f3396acef6a84aca4390fd6a"><td class="memSeparator" colspan="2"> </td></tr> 193 <tr class="memitem:a60bf588a2c067a561887eadf18cedccd"><td class="memItemLeft" align="right" valign="top">static const uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a60bf588a2c067a561887eadf18cedccd">kLongPressDelay</a> = 1000</td></tr> 194 <tr class="memdesc:a60bf588a2c067a561887eadf18cedccd"><td class="mdescLeft"> </td><td class="mdescRight">Default value returned by <a class="el" href="classace__button_1_1ButtonConfig.html#a46d4213a827a94bf82ba99a9c2e59531" title="Milliseconds for a long press event. ">getLongPressDelay()</a>. <a href="#a60bf588a2c067a561887eadf18cedccd">More...</a><br /></td></tr> 195 <tr class="separator:a60bf588a2c067a561887eadf18cedccd"><td class="memSeparator" colspan="2"> </td></tr> 196 <tr class="memitem:a3d20bc5800532085fd046fc64b80ae9f"><td class="memItemLeft" align="right" valign="top">static const uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a3d20bc5800532085fd046fc64b80ae9f">kRepeatPressDelay</a> = 1000</td></tr> 197 <tr class="memdesc:a3d20bc5800532085fd046fc64b80ae9f"><td class="mdescLeft"> </td><td class="mdescRight">Default value returned by <a class="el" href="classace__button_1_1ButtonConfig.html#ad85c75d2a2dd200552a181fb154d5fd2" title="Milliseconds that a button needs to be Pressed down before the start of the sequence of RepeatPressed...">getRepeatPressDelay()</a>. <a href="#a3d20bc5800532085fd046fc64b80ae9f">More...</a><br /></td></tr> 198 <tr class="separator:a3d20bc5800532085fd046fc64b80ae9f"><td class="memSeparator" colspan="2"> </td></tr> 199 <tr class="memitem:a218c1aa09b45ea2fe6884e3af3a18310"><td class="memItemLeft" align="right" valign="top">static const uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a218c1aa09b45ea2fe6884e3af3a18310">kRepeatPressInterval</a> = 200</td></tr> 200 <tr class="memdesc:a218c1aa09b45ea2fe6884e3af3a18310"><td class="mdescLeft"> </td><td class="mdescRight">Default value returned by <a class="el" href="classace__button_1_1ButtonConfig.html#aec4a97a1a1306b9ff12f1cdf44515c43" title="Milliseconds between two successive RepeatPressed events. ">getRepeatPressInterval()</a>. <a href="#a218c1aa09b45ea2fe6884e3af3a18310">More...</a><br /></td></tr> 201 <tr class="separator:a218c1aa09b45ea2fe6884e3af3a18310"><td class="memSeparator" colspan="2"> </td></tr> 202 <tr class="memitem:ac662555100416c4843c6ee5156699c56"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#ac662555100416c4843c6ee5156699c56">kFeatureClick</a> = 0x01</td></tr> 203 <tr class="memdesc:ac662555100416c4843c6ee5156699c56"><td class="mdescLeft"> </td><td class="mdescRight">Flag to activate the <a class="el" href="classace__button_1_1AceButton.html#a21797e5e069da3f7bba42b40ab3a7305" title="Button was clicked (Pressed and Released within ButtonConfig::getClickDelay()). ">AceButton::kEventClicked</a> event. <a href="#ac662555100416c4843c6ee5156699c56">More...</a><br /></td></tr> 204 <tr class="separator:ac662555100416c4843c6ee5156699c56"><td class="memSeparator" colspan="2"> </td></tr> 205 <tr class="memitem:a638943c127dd60288a83e83260825d01"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a638943c127dd60288a83e83260825d01">kFeatureDoubleClick</a> = 0x02</td></tr> 206 <tr class="memdesc:a638943c127dd60288a83e83260825d01"><td class="mdescLeft"> </td><td class="mdescRight">Flag to activate the <a class="el" href="classace__button_1_1AceButton.html#a0c63f30106e4688425ba37d8f7a9546b" title="Button was double-clicked. ">AceButton::kEventDoubleClicked</a> event. <a href="#a638943c127dd60288a83e83260825d01">More...</a><br /></td></tr> 207 <tr class="separator:a638943c127dd60288a83e83260825d01"><td class="memSeparator" colspan="2"> </td></tr> 208 <tr class="memitem:a4d175560047a4ca245186fb26fa413f2"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a4d175560047a4ca245186fb26fa413f2">kFeatureLongPress</a> = 0x04</td></tr> 209 <tr class="memdesc:a4d175560047a4ca245186fb26fa413f2"><td class="mdescLeft"> </td><td class="mdescRight">Flag to activate the AceButton::kEventLongPress event. <a href="#a4d175560047a4ca245186fb26fa413f2">More...</a><br /></td></tr> 210 <tr class="separator:a4d175560047a4ca245186fb26fa413f2"><td class="memSeparator" colspan="2"> </td></tr> 211 <tr class="memitem:ac9b941ca87f0eeb899ed503481439c92"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#ac9b941ca87f0eeb899ed503481439c92">kFeatureRepeatPress</a> = 0x08</td></tr> 212 <tr class="memdesc:ac9b941ca87f0eeb899ed503481439c92"><td class="mdescLeft"> </td><td class="mdescRight">Flag to activate the <a class="el" href="classace__button_1_1AceButton.html#a9c4195cb128da40677ea223eb81743c9" title="Button was held down and auto generated multiple presses. ">AceButton::kEventRepeatPressed</a> event. <a href="#ac9b941ca87f0eeb899ed503481439c92">More...</a><br /></td></tr> 213 <tr class="separator:ac9b941ca87f0eeb899ed503481439c92"><td class="memSeparator" colspan="2"> </td></tr> 214 <tr class="memitem:a57327066d135bcc99c4a68b55fca162e"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a57327066d135bcc99c4a68b55fca162e">kFeatureSuppressAfterClick</a> = 0x10</td></tr> 215 <tr class="memdesc:a57327066d135bcc99c4a68b55fca162e"><td class="mdescLeft"> </td><td class="mdescRight">Flag to suppress kEventReleased after a kEventClicked. <a href="#a57327066d135bcc99c4a68b55fca162e">More...</a><br /></td></tr> 216 <tr class="separator:a57327066d135bcc99c4a68b55fca162e"><td class="memSeparator" colspan="2"> </td></tr> 217 <tr class="memitem:a7642e16b2cc8dd0136312054b1da8f9e"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a7642e16b2cc8dd0136312054b1da8f9e">kFeatureSuppressAfterDoubleClick</a> = 0x20</td></tr> 218 <tr class="memdesc:a7642e16b2cc8dd0136312054b1da8f9e"><td class="mdescLeft"> </td><td class="mdescRight">Flag to suppress kEventReleased after a kEventDoubleClicked. <a href="#a7642e16b2cc8dd0136312054b1da8f9e">More...</a><br /></td></tr> 219 <tr class="separator:a7642e16b2cc8dd0136312054b1da8f9e"><td class="memSeparator" colspan="2"> </td></tr> 220 <tr class="memitem:a15b8e90b1ffe01009a1d7dd18b5b6aae"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a15b8e90b1ffe01009a1d7dd18b5b6aae">kFeatureSuppressAfterLongPress</a> = 0x40</td></tr> 221 <tr class="memdesc:a15b8e90b1ffe01009a1d7dd18b5b6aae"><td class="mdescLeft"> </td><td class="mdescRight">Flag to suppress kEventReleased after a kEventLongPressed. <a href="#a15b8e90b1ffe01009a1d7dd18b5b6aae">More...</a><br /></td></tr> 222 <tr class="separator:a15b8e90b1ffe01009a1d7dd18b5b6aae"><td class="memSeparator" colspan="2"> </td></tr> 223 <tr class="memitem:a6b43b591ba53d360e787bf780af0abbc"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a6b43b591ba53d360e787bf780af0abbc">kFeatureSuppressAfterRepeatPress</a> = 0x80</td></tr> 224 <tr class="memdesc:a6b43b591ba53d360e787bf780af0abbc"><td class="mdescLeft"> </td><td class="mdescRight">Flag to suppress kEventReleased after a kEventRepeatPressed. <a href="#a6b43b591ba53d360e787bf780af0abbc">More...</a><br /></td></tr> 225 <tr class="separator:a6b43b591ba53d360e787bf780af0abbc"><td class="memSeparator" colspan="2"> </td></tr> 226 <tr class="memitem:a80d621dbcf533c9bb91a111b8fec2c53"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a80d621dbcf533c9bb91a111b8fec2c53">kFeatureSuppressClickBeforeDoubleClick</a> = 0x100</td></tr> 227 <tr class="memdesc:a80d621dbcf533c9bb91a111b8fec2c53"><td class="mdescLeft"> </td><td class="mdescRight">Flag to suppress kEventClicked before a kEventDoubleClicked. <a href="#a80d621dbcf533c9bb91a111b8fec2c53">More...</a><br /></td></tr> 228 <tr class="separator:a80d621dbcf533c9bb91a111b8fec2c53"><td class="memSeparator" colspan="2"> </td></tr> 229 <tr class="memitem:abfd736234ae852f22894c7aceb4e534e"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#abfd736234ae852f22894c7aceb4e534e">kFeatureSuppressAll</a></td></tr> 230 <tr class="memdesc:abfd736234ae852f22894c7aceb4e534e"><td class="mdescLeft"> </td><td class="mdescRight">Convenience flag to suppress all suppressions. <a href="#abfd736234ae852f22894c7aceb4e534e">More...</a><br /></td></tr> 231 <tr class="separator:abfd736234ae852f22894c7aceb4e534e"><td class="memSeparator" colspan="2"> </td></tr> 232 </table><table class="memberdecls"> 233 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> 234 Protected Member Functions</h2></td></tr> 235 <tr class="memitem:a86f8f6b62825258e477e0a41846e0223"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classace__button_1_1ButtonConfig.html#a86f8f6b62825258e477e0a41846e0223">init</a> ()</td></tr> 236 <tr class="memdesc:a86f8f6b62825258e477e0a41846e0223"><td class="mdescLeft"> </td><td class="mdescRight">Initialize to its pristine state, except for the EventHandler which is unchanged. <a href="#a86f8f6b62825258e477e0a41846e0223">More...</a><br /></td></tr> 237 <tr class="separator:a86f8f6b62825258e477e0a41846e0223"><td class="memSeparator" colspan="2"> </td></tr> 238 </table> 239 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> 240 <div class="textblock"><p>Class that defines the timing parameters and event handler of an <a class="el" href="classace__button_1_1AceButton.html" title="An Adjustable Compact Event-driven (ACE) Button library that debounces and dispatches button events t...">AceButton</a> or a group of <a class="el" href="classace__button_1_1AceButton.html" title="An Adjustable Compact Event-driven (ACE) Button library that debounces and dispatches button events t...">AceButton</a> instances. </p> 241 <p>It is assumed that in many cases, a group of multiple buttons will need to be assigned the same configuration parameters. For example, various timing delays and the EventHandler. Instead of storing these parameters in each instance of <a class="el" href="classace__button_1_1AceButton.html" title="An Adjustable Compact Event-driven (ACE) Button library that debounces and dispatches button events t...">AceButton</a> (which consumes static memory), we save space by collecting them into a separate <a class="el" href="classace__button_1_1ButtonConfig.html" title="Class that defines the timing parameters and event handler of an AceButton or a group of AceButton in...">ButtonConfig</a> class. Each <a class="el" href="classace__button_1_1AceButton.html" title="An Adjustable Compact Event-driven (ACE) Button library that debounces and dispatches button events t...">AceButton</a> instance contains a pointer to an instance of <a class="el" href="classace__button_1_1ButtonConfig.html" title="Class that defines the timing parameters and event handler of an AceButton or a group of AceButton in...">ButtonConfig</a>, and an instance of <a class="el" href="classace__button_1_1ButtonConfig.html" title="Class that defines the timing parameters and event handler of an AceButton or a group of AceButton in...">ButtonConfig</a> will be shared among multiple AceButtons.</p> 242 <p>Various timing parameters are given default values. They can be overridden by the user.</p> 243 <p>A single default "System" <a class="el" href="classace__button_1_1ButtonConfig.html" title="Class that defines the timing parameters and event handler of an AceButton or a group of AceButton in...">ButtonConfig</a> instance is created automatically and can be accessed using the ButtConfig::getSystemButtonConfig() static method. For convenience and ease of use, every instance of <a class="el" href="classace__button_1_1AceButton.html" title="An Adjustable Compact Event-driven (ACE) Button library that debounces and dispatches button events t...">AceButton</a> is attached to this "System" <a class="el" href="classace__button_1_1ButtonConfig.html" title="Class that defines the timing parameters and event handler of an AceButton or a group of AceButton in...">ButtonConfig</a> by default. The client code can override this association by attaching another <a class="el" href="classace__button_1_1ButtonConfig.html" title="Class that defines the timing parameters and event handler of an AceButton or a group of AceButton in...">ButtonConfig</a> instance using the AceButton(ButtonConfig*) constuctor (the recommended solution) or the <a class="el" href="classace__button_1_1AceButton.html#abc9d705d1ca4341cf6f9434962b5b5e7" title="Set the ButtonConfig associated with this Button. ">AceButton::setButtonConfig()</a> method. </p> 244 245 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00060">60</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 246 </div><h2 class="groupheader">Member Typedef Documentation</h2> 247 <a id="a6d9db3c7b221b474c3cfd8fca5f4ba1e"></a> 248 <h2 class="memtitle"><span class="permalink"><a href="#a6d9db3c7b221b474c3cfd8fca5f4ba1e">◆ </a></span>EventHandler</h2> 249 250 <div class="memitem"> 251 <div class="memproto"> 252 <table class="memname"> 253 <tr> 254 <td class="memname">typedef void(* ace_button::ButtonConfig::EventHandler) (<a class="el" href="classace__button_1_1AceButton.html">AceButton</a> *button, uint8_t eventType, uint8_t buttonState)</td> 255 </tr> 256 </table> 257 </div><div class="memdoc"> 258 259 <p>The event handler signature. </p> 260 <dl class="params"><dt>Parameters</dt><dd> 261 <table class="params"> 262 <tr><td class="paramname">button</td><td>pointer to the <a class="el" href="classace__button_1_1AceButton.html" title="An Adjustable Compact Event-driven (ACE) Button library that debounces and dispatches button events t...">AceButton</a> that generated the event </td></tr> 263 <tr><td class="paramname">eventType</td><td>the event type which trigger the call </td></tr> 264 <tr><td class="paramname">buttonState</td><td>the state of the button that triggered the event </td></tr> 265 </table> 266 </dd> 267 </dl> 268 269 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00164">164</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 270 271 </div> 272 </div> 273 <a id="a1c7c7bfc42738278330243dfc43f23eb"></a> 274 <h2 class="memtitle"><span class="permalink"><a href="#a1c7c7bfc42738278330243dfc43f23eb">◆ </a></span>FeatureFlagType</h2> 275 276 <div class="memitem"> 277 <div class="memproto"> 278 <table class="memname"> 279 <tr> 280 <td class="memname">typedef uint16_t <a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">ace_button::ButtonConfig::FeatureFlagType</a></td> 281 </tr> 282 </table> 283 </div><div class="memdoc"> 284 285 <p>Type of the feature flag. </p> 286 <p>It used to be a uint8_t but got changed to a uint16_t when more than 8 flags were needed. Let's define a typedef to make it easier to change this in the future. </p> 287 288 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00101">101</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 289 290 </div> 291 </div> 292 <h2 class="groupheader">Constructor & Destructor Documentation</h2> 293 <a id="a66924aac157a81cc54a9776fb975893a"></a> 294 <h2 class="memtitle"><span class="permalink"><a href="#a66924aac157a81cc54a9776fb975893a">◆ </a></span>ButtonConfig()</h2> 295 296 <div class="memitem"> 297 <div class="memproto"> 298 <table class="mlabels"> 299 <tr> 300 <td class="mlabels-left"> 301 <table class="memname"> 302 <tr> 303 <td class="memname">ace_button::ButtonConfig::ButtonConfig </td> 304 <td>(</td> 305 <td class="paramname"></td><td>)</td> 306 <td></td> 307 </tr> 308 </table> 309 </td> 310 <td class="mlabels-right"> 311 <span class="mlabels"><span class="mlabel">inline</span></span> </td> 312 </tr> 313 </table> 314 </div><div class="memdoc"> 315 316 <p>Constructor. </p> 317 318 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00168">168</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 319 320 </div> 321 </div> 322 <h2 class="groupheader">Member Function Documentation</h2> 323 <a id="ac782903e4a60924db3d17c00accc7f3b"></a> 324 <h2 class="memtitle"><span class="permalink"><a href="#ac782903e4a60924db3d17c00accc7f3b">◆ </a></span>clearFeature()</h2> 325 326 <div class="memitem"> 327 <div class="memproto"> 328 <table class="mlabels"> 329 <tr> 330 <td class="mlabels-left"> 331 <table class="memname"> 332 <tr> 333 <td class="memname">void ace_button::ButtonConfig::clearFeature </td> 334 <td>(</td> 335 <td class="paramtype"><a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> </td> 336 <td class="paramname"><em>features</em></td><td>)</td> 337 <td></td> 338 </tr> 339 </table> 340 </td> 341 <td class="mlabels-right"> 342 <span class="mlabels"><span class="mlabel">inline</span></span> </td> 343 </tr> 344 </table> 345 </div><div class="memdoc"> 346 347 <p>Disable the given features. </p> 348 349 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00281">281</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 350 351 </div> 352 </div> 353 <a id="a19db203ce87dc2cafb2cab6ba124387a"></a> 354 <h2 class="memtitle"><span class="permalink"><a href="#a19db203ce87dc2cafb2cab6ba124387a">◆ </a></span>getClickDelay()</h2> 355 356 <div class="memitem"> 357 <div class="memproto"> 358 <table class="mlabels"> 359 <tr> 360 <td class="mlabels-left"> 361 <table class="memname"> 362 <tr> 363 <td class="memname">uint16_t ace_button::ButtonConfig::getClickDelay </td> 364 <td>(</td> 365 <td class="paramname"></td><td>)</td> 366 <td></td> 367 </tr> 368 </table> 369 </td> 370 <td class="mlabels-right"> 371 <span class="mlabels"><span class="mlabel">inline</span></span> </td> 372 </tr> 373 </table> 374 </div><div class="memdoc"> 375 376 <p>Milliseconds to wait for a possible click. </p> 377 378 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00179">179</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 379 380 </div> 381 </div> 382 <a id="a440271e22d5e7e161cdcb3b73f092111"></a> 383 <h2 class="memtitle"><span class="permalink"><a href="#a440271e22d5e7e161cdcb3b73f092111">◆ </a></span>getClock()</h2> 384 385 <div class="memitem"> 386 <div class="memproto"> 387 <table class="mlabels"> 388 <tr> 389 <td class="mlabels-left"> 390 <table class="memname"> 391 <tr> 392 <td class="memname">virtual unsigned long ace_button::ButtonConfig::getClock </td> 393 <td>(</td> 394 <td class="paramname"></td><td>)</td> 395 <td></td> 396 </tr> 397 </table> 398 </td> 399 <td class="mlabels-right"> 400 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> 401 </tr> 402 </table> 403 </div><div class="memdoc"> 404 405 <p>Return the milliseconds of the internal clock. </p> 406 <p>Override to use something other than millis(). The return type is 'unsigned long' instead of uint16_t because that's the return type of millis(). </p> 407 408 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00250">250</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 409 410 </div> 411 </div> 412 <a id="a8a74d1a1c082bfb0e4ddf55e67d3ac2d"></a> 413 <h2 class="memtitle"><span class="permalink"><a href="#a8a74d1a1c082bfb0e4ddf55e67d3ac2d">◆ </a></span>getClockMicros()</h2> 414 415 <div class="memitem"> 416 <div class="memproto"> 417 <table class="mlabels"> 418 <tr> 419 <td class="mlabels-left"> 420 <table class="memname"> 421 <tr> 422 <td class="memname">virtual unsigned long ace_button::ButtonConfig::getClockMicros </td> 423 <td>(</td> 424 <td class="paramname"></td><td>)</td> 425 <td></td> 426 </tr> 427 </table> 428 </td> 429 <td class="mlabels-right"> 430 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> 431 </tr> 432 </table> 433 </div><div class="memdoc"> 434 435 <p>Return the microseconds of the internal clock. </p> 436 <p>Can be overridden for testing purposes. </p> 437 438 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00256">256</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 439 440 </div> 441 </div> 442 <a id="ad7be58d0fe0b242f78f15319d201a565"></a> 443 <h2 class="memtitle"><span class="permalink"><a href="#ad7be58d0fe0b242f78f15319d201a565">◆ </a></span>getDebounceDelay()</h2> 444 445 <div class="memitem"> 446 <div class="memproto"> 447 <table class="mlabels"> 448 <tr> 449 <td class="mlabels-left"> 450 <table class="memname"> 451 <tr> 452 <td class="memname">uint16_t ace_button::ButtonConfig::getDebounceDelay </td> 453 <td>(</td> 454 <td class="paramname"></td><td>)</td> 455 <td></td> 456 </tr> 457 </table> 458 </td> 459 <td class="mlabels-right"> 460 <span class="mlabels"><span class="mlabel">inline</span></span> </td> 461 </tr> 462 </table> 463 </div><div class="memdoc"> 464 465 <p>Milliseconds to wait for debouncing. </p> 466 467 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00176">176</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 468 469 </div> 470 </div> 471 <a id="a8fc32804ba102f61ba97bcc5f4fe8448"></a> 472 <h2 class="memtitle"><span class="permalink"><a href="#a8fc32804ba102f61ba97bcc5f4fe8448">◆ </a></span>getEventHandler()</h2> 473 474 <div class="memitem"> 475 <div class="memproto"> 476 <table class="mlabels"> 477 <tr> 478 <td class="mlabels-left"> 479 <table class="memname"> 480 <tr> 481 <td class="memname"><a class="el" href="classace__button_1_1ButtonConfig.html#a6d9db3c7b221b474c3cfd8fca5f4ba1e">EventHandler</a> ace_button::ButtonConfig::getEventHandler </td> 482 <td>(</td> 483 <td class="paramname"></td><td>)</td> 484 <td></td> 485 </tr> 486 </table> 487 </td> 488 <td class="mlabels-right"> 489 <span class="mlabels"><span class="mlabel">inline</span></span> </td> 490 </tr> 491 </table> 492 </div><div class="memdoc"> 493 494 <p>Return the eventHandler. </p> 495 496 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00288">288</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 497 498 </div> 499 </div> 500 <a id="a46d4213a827a94bf82ba99a9c2e59531"></a> 501 <h2 class="memtitle"><span class="permalink"><a href="#a46d4213a827a94bf82ba99a9c2e59531">◆ </a></span>getLongPressDelay()</h2> 502 503 <div class="memitem"> 504 <div class="memproto"> 505 <table class="mlabels"> 506 <tr> 507 <td class="mlabels-left"> 508 <table class="memname"> 509 <tr> 510 <td class="memname">uint16_t ace_button::ButtonConfig::getLongPressDelay </td> 511 <td>(</td> 512 <td class="paramname"></td><td>)</td> 513 <td></td> 514 </tr> 515 </table> 516 </td> 517 <td class="mlabels-right"> 518 <span class="mlabels"><span class="mlabel">inline</span></span> </td> 519 </tr> 520 </table> 521 </div><div class="memdoc"> 522 523 <p>Milliseconds for a long press event. </p> 524 525 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00190">190</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 526 527 </div> 528 </div> 529 <a id="ad85c75d2a2dd200552a181fb154d5fd2"></a> 530 <h2 class="memtitle"><span class="permalink"><a href="#ad85c75d2a2dd200552a181fb154d5fd2">◆ </a></span>getRepeatPressDelay()</h2> 531 532 <div class="memitem"> 533 <div class="memproto"> 534 <table class="mlabels"> 535 <tr> 536 <td class="mlabels-left"> 537 <table class="memname"> 538 <tr> 539 <td class="memname">uint16_t ace_button::ButtonConfig::getRepeatPressDelay </td> 540 <td>(</td> 541 <td class="paramname"></td><td>)</td> 542 <td></td> 543 </tr> 544 </table> 545 </td> 546 <td class="mlabels-right"> 547 <span class="mlabels"><span class="mlabel">inline</span></span> </td> 548 </tr> 549 </table> 550 </div><div class="memdoc"> 551 552 <p>Milliseconds that a button needs to be Pressed down before the start of the sequence of RepeatPressed events. </p> 553 <p>The first event will fire as soon as this delay has passed. Subsequent events will fire after <a class="el" href="classace__button_1_1ButtonConfig.html#aec4a97a1a1306b9ff12f1cdf44515c43" title="Milliseconds between two successive RepeatPressed events. ">getRepeatPressInterval()</a> time. </p> 554 555 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00200">200</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 556 557 </div> 558 </div> 559 <a id="aff7101f2fe0f0c3bba67924b01e9d493"></a> 560 <h2 class="memtitle"><span class="permalink"><a href="#aff7101f2fe0f0c3bba67924b01e9d493">◆ </a></span>getTimingStats()</h2> 561 562 <div class="memitem"> 563 <div class="memproto"> 564 <table class="mlabels"> 565 <tr> 566 <td class="mlabels-left"> 567 <table class="memname"> 568 <tr> 569 <td class="memname"><a class="el" href="classace__button_1_1TimingStats.html">TimingStats</a>* ace_button::ButtonConfig::getTimingStats </td> 570 <td>(</td> 571 <td class="paramname"></td><td>)</td> 572 <td></td> 573 </tr> 574 </table> 575 </td> 576 <td class="mlabels-right"> 577 <span class="mlabels"><span class="mlabel">inline</span></span> </td> 578 </tr> 579 </table> 580 </div><div class="memdoc"> 581 582 <p>Get the timing stats. </p> 583 <p>Can return nullptr. </p> 584 585 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00308">308</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 586 587 </div> 588 </div> 589 <a id="a86f8f6b62825258e477e0a41846e0223"></a> 590 <h2 class="memtitle"><span class="permalink"><a href="#a86f8f6b62825258e477e0a41846e0223">◆ </a></span>init()</h2> 591 592 <div class="memitem"> 593 <div class="memproto"> 594 <table class="mlabels"> 595 <tr> 596 <td class="mlabels-left"> 597 <table class="memname"> 598 <tr> 599 <td class="memname">virtual void ace_button::ButtonConfig::init </td> 600 <td>(</td> 601 <td class="paramname"></td><td>)</td> 602 <td></td> 603 </tr> 604 </table> 605 </td> 606 <td class="mlabels-right"> 607 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td> 608 </tr> 609 </table> 610 </div><div class="memdoc"> 611 612 <p>Initialize to its pristine state, except for the EventHandler which is unchanged. </p> 613 <p>This is intended mostly for testing purposes. </p> 614 615 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00323">323</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 616 617 </div> 618 </div> 619 <a id="aae51c7a2986eafd400784cdbe6bb1815"></a> 620 <h2 class="memtitle"><span class="permalink"><a href="#aae51c7a2986eafd400784cdbe6bb1815">◆ </a></span>isFeature()</h2> 621 622 <div class="memitem"> 623 <div class="memproto"> 624 <table class="mlabels"> 625 <tr> 626 <td class="mlabels-left"> 627 <table class="memname"> 628 <tr> 629 <td class="memname">bool ace_button::ButtonConfig::isFeature </td> 630 <td>(</td> 631 <td class="paramtype"><a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> </td> 632 <td class="paramname"><em>features</em></td><td>)</td> 633 <td></td> 634 </tr> 635 </table> 636 </td> 637 <td class="mlabels-right"> 638 <span class="mlabels"><span class="mlabel">inline</span></span> </td> 639 </tr> 640 </table> 641 </div><div class="memdoc"> 642 643 <p>Check if the given features are enabled. </p> 644 645 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00271">271</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 646 647 </div> 648 </div> 649 <a id="a5dab877bf124bfdf5a5eb703ca123027"></a> 650 <h2 class="memtitle"><span class="permalink"><a href="#a5dab877bf124bfdf5a5eb703ca123027">◆ </a></span>readButton()</h2> 651 652 <div class="memitem"> 653 <div class="memproto"> 654 <table class="mlabels"> 655 <tr> 656 <td class="mlabels-left"> 657 <table class="memname"> 658 <tr> 659 <td class="memname">virtual int ace_button::ButtonConfig::readButton </td> 660 <td>(</td> 661 <td class="paramtype">uint8_t </td> 662 <td class="paramname"><em>pin</em></td><td>)</td> 663 <td></td> 664 </tr> 665 </table> 666 </td> 667 <td class="mlabels-right"> 668 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> 669 </tr> 670 </table> 671 </div><div class="memdoc"> 672 673 <p>Return the HIGH or LOW state of the button. </p> 674 <p>Override to use something other than digitalRead(). The return type is 'int' instead of uint16_t because that's the return type of digitalRead(). </p> 675 676 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00263">263</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 677 678 </div> 679 </div> 680 <a id="aef65e12128997c46bc2754a988b98f14"></a> 681 <h2 class="memtitle"><span class="permalink"><a href="#aef65e12128997c46bc2754a988b98f14">◆ </a></span>setClickDelay()</h2> 682 683 <div class="memitem"> 684 <div class="memproto"> 685 <table class="mlabels"> 686 <tr> 687 <td class="mlabels-left"> 688 <table class="memname"> 689 <tr> 690 <td class="memname">void ace_button::ButtonConfig::setClickDelay </td> 691 <td>(</td> 692 <td class="paramtype">uint16_t </td> 693 <td class="paramname"><em>clickDelay</em></td><td>)</td> 694 <td></td> 695 </tr> 696 </table> 697 </td> 698 <td class="mlabels-right"> 699 <span class="mlabels"><span class="mlabel">inline</span></span> </td> 700 </tr> 701 </table> 702 </div><div class="memdoc"> 703 704 <p>Set the clickDelay. </p> 705 706 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00217">217</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 707 708 </div> 709 </div> 710 <a id="a9860d2c8a6ab33d40ea126b02d168cab"></a> 711 <h2 class="memtitle"><span class="permalink"><a href="#a9860d2c8a6ab33d40ea126b02d168cab">◆ </a></span>setDebounceDelay()</h2> 712 713 <div class="memitem"> 714 <div class="memproto"> 715 <table class="mlabels"> 716 <tr> 717 <td class="mlabels-left"> 718 <table class="memname"> 719 <tr> 720 <td class="memname">void ace_button::ButtonConfig::setDebounceDelay </td> 721 <td>(</td> 722 <td class="paramtype">uint16_t </td> 723 <td class="paramname"><em>debounceDelay</em></td><td>)</td> 724 <td></td> 725 </tr> 726 </table> 727 </td> 728 <td class="mlabels-right"> 729 <span class="mlabels"><span class="mlabel">inline</span></span> </td> 730 </tr> 731 </table> 732 </div><div class="memdoc"> 733 734 <p>Set the debounceDelay. </p> 735 736 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00212">212</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 737 738 </div> 739 </div> 740 <a id="a367a809017e1d633a5cf6b117981d579"></a> 741 <h2 class="memtitle"><span class="permalink"><a href="#a367a809017e1d633a5cf6b117981d579">◆ </a></span>setDoubleClickDelay()</h2> 742 743 <div class="memitem"> 744 <div class="memproto"> 745 <table class="mlabels"> 746 <tr> 747 <td class="mlabels-left"> 748 <table class="memname"> 749 <tr> 750 <td class="memname">void ace_button::ButtonConfig::setDoubleClickDelay </td> 751 <td>(</td> 752 <td class="paramtype">uint16_t </td> 753 <td class="paramname"><em>doubleClickDelay</em></td><td>)</td> 754 <td></td> 755 </tr> 756 </table> 757 </td> 758 <td class="mlabels-right"> 759 <span class="mlabels"><span class="mlabel">inline</span></span> </td> 760 </tr> 761 </table> 762 </div><div class="memdoc"> 763 764 <p>Set the doubleClickDelay. </p> 765 766 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00222">222</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 767 768 </div> 769 </div> 770 <a id="a5d228f08e9943fd4ab90caab39ef80be"></a> 771 <h2 class="memtitle"><span class="permalink"><a href="#a5d228f08e9943fd4ab90caab39ef80be">◆ </a></span>setEventHandler()</h2> 772 773 <div class="memitem"> 774 <div class="memproto"> 775 <table class="mlabels"> 776 <tr> 777 <td class="mlabels-left"> 778 <table class="memname"> 779 <tr> 780 <td class="memname">void ace_button::ButtonConfig::setEventHandler </td> 781 <td>(</td> 782 <td class="paramtype"><a class="el" href="classace__button_1_1ButtonConfig.html#a6d9db3c7b221b474c3cfd8fca5f4ba1e">EventHandler</a> </td> 783 <td class="paramname"><em>eventHandler</em></td><td>)</td> 784 <td></td> 785 </tr> 786 </table> 787 </td> 788 <td class="mlabels-right"> 789 <span class="mlabels"><span class="mlabel">inline</span></span> </td> 790 </tr> 791 </table> 792 </div><div class="memdoc"> 793 794 <p>Install the event handler. </p> 795 <p>The event handler must be defined for the <a class="el" href="classace__button_1_1AceButton.html" title="An Adjustable Compact Event-driven (ACE) Button library that debounces and dispatches button events t...">AceButton</a> to be useful. </p> 796 797 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00296">296</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 798 799 </div> 800 </div> 801 <a id="aac1c9029b1cf9aa793060d372fc09a1a"></a> 802 <h2 class="memtitle"><span class="permalink"><a href="#aac1c9029b1cf9aa793060d372fc09a1a">◆ </a></span>setFeature()</h2> 803 804 <div class="memitem"> 805 <div class="memproto"> 806 <table class="mlabels"> 807 <tr> 808 <td class="mlabels-left"> 809 <table class="memname"> 810 <tr> 811 <td class="memname">void ace_button::ButtonConfig::setFeature </td> 812 <td>(</td> 813 <td class="paramtype"><a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> </td> 814 <td class="paramname"><em>features</em></td><td>)</td> 815 <td></td> 816 </tr> 817 </table> 818 </td> 819 <td class="mlabels-right"> 820 <span class="mlabels"><span class="mlabel">inline</span></span> </td> 821 </tr> 822 </table> 823 </div><div class="memdoc"> 824 825 <p>Enable the given features. </p> 826 827 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00276">276</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 828 829 </div> 830 </div> 831 <a id="a7d90d39aeddacb5abc9d8741611d7c4a"></a> 832 <h2 class="memtitle"><span class="permalink"><a href="#a7d90d39aeddacb5abc9d8741611d7c4a">◆ </a></span>setLongPressDelay()</h2> 833 834 <div class="memitem"> 835 <div class="memproto"> 836 <table class="mlabels"> 837 <tr> 838 <td class="mlabels-left"> 839 <table class="memname"> 840 <tr> 841 <td class="memname">void ace_button::ButtonConfig::setLongPressDelay </td> 842 <td>(</td> 843 <td class="paramtype">uint16_t </td> 844 <td class="paramname"><em>longPressDelay</em></td><td>)</td> 845 <td></td> 846 </tr> 847 </table> 848 </td> 849 <td class="mlabels-right"> 850 <span class="mlabels"><span class="mlabel">inline</span></span> </td> 851 </tr> 852 </table> 853 </div><div class="memdoc"> 854 855 <p>Set the longPressDelay. </p> 856 857 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00227">227</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 858 859 </div> 860 </div> 861 <a id="af813c969eddd884e9fa83b334a59a0a5"></a> 862 <h2 class="memtitle"><span class="permalink"><a href="#af813c969eddd884e9fa83b334a59a0a5">◆ </a></span>setRepeatPressDelay()</h2> 863 864 <div class="memitem"> 865 <div class="memproto"> 866 <table class="mlabels"> 867 <tr> 868 <td class="mlabels-left"> 869 <table class="memname"> 870 <tr> 871 <td class="memname">void ace_button::ButtonConfig::setRepeatPressDelay </td> 872 <td>(</td> 873 <td class="paramtype">uint16_t </td> 874 <td class="paramname"><em>repeatPressDelay</em></td><td>)</td> 875 <td></td> 876 </tr> 877 </table> 878 </td> 879 <td class="mlabels-right"> 880 <span class="mlabels"><span class="mlabel">inline</span></span> </td> 881 </tr> 882 </table> 883 </div><div class="memdoc"> 884 885 <p>Set the repeatPressDelay. </p> 886 887 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00232">232</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 888 889 </div> 890 </div> 891 <a id="aa1b1217e0042512fc8d9b6544536aed3"></a> 892 <h2 class="memtitle"><span class="permalink"><a href="#aa1b1217e0042512fc8d9b6544536aed3">◆ </a></span>setRepeatPressInterval()</h2> 893 894 <div class="memitem"> 895 <div class="memproto"> 896 <table class="mlabels"> 897 <tr> 898 <td class="mlabels-left"> 899 <table class="memname"> 900 <tr> 901 <td class="memname">void ace_button::ButtonConfig::setRepeatPressInterval </td> 902 <td>(</td> 903 <td class="paramtype">uint16_t </td> 904 <td class="paramname"><em>repeatPressInterval</em></td><td>)</td> 905 <td></td> 906 </tr> 907 </table> 908 </td> 909 <td class="mlabels-right"> 910 <span class="mlabels"><span class="mlabel">inline</span></span> </td> 911 </tr> 912 </table> 913 </div><div class="memdoc"> 914 915 <p>Set the repeatPressInterval. </p> 916 917 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00237">237</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 918 919 </div> 920 </div> 921 <a id="a16d7dbbe1bb075018378e463cd8106de"></a> 922 <h2 class="memtitle"><span class="permalink"><a href="#a16d7dbbe1bb075018378e463cd8106de">◆ </a></span>setTimingStats()</h2> 923 924 <div class="memitem"> 925 <div class="memproto"> 926 <table class="mlabels"> 927 <tr> 928 <td class="mlabels-left"> 929 <table class="memname"> 930 <tr> 931 <td class="memname">void ace_button::ButtonConfig::setTimingStats </td> 932 <td>(</td> 933 <td class="paramtype"><a class="el" href="classace__button_1_1TimingStats.html">TimingStats</a> * </td> 934 <td class="paramname"><em>timingStats</em></td><td>)</td> 935 <td></td> 936 </tr> 937 </table> 938 </td> 939 <td class="mlabels-right"> 940 <span class="mlabels"><span class="mlabel">inline</span></span> </td> 941 </tr> 942 </table> 943 </div><div class="memdoc"> 944 945 <p>Set the timing stats object. </p> 946 <p>The timingStats can be nullptr. </p> 947 948 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00303">303</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 949 950 </div> 951 </div> 952 <h2 class="groupheader">Member Data Documentation</h2> 953 <a id="a5691e38564dae63592d22abf74fb15f3"></a> 954 <h2 class="memtitle"><span class="permalink"><a href="#a5691e38564dae63592d22abf74fb15f3">◆ </a></span>kClickDelay</h2> 955 956 <div class="memitem"> 957 <div class="memproto"> 958 <table class="mlabels"> 959 <tr> 960 <td class="mlabels-left"> 961 <table class="memname"> 962 <tr> 963 <td class="memname">const uint16_t ace_button::ButtonConfig::kClickDelay = 200</td> 964 </tr> 965 </table> 966 </td> 967 <td class="mlabels-right"> 968 <span class="mlabels"><span class="mlabel">static</span></span> </td> 969 </tr> 970 </table> 971 </div><div class="memdoc"> 972 973 <p>Default value returned by <a class="el" href="classace__button_1_1ButtonConfig.html#a19db203ce87dc2cafb2cab6ba124387a" title="Milliseconds to wait for a possible click. ">getClickDelay()</a>. </p> 974 975 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00080">80</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 976 977 </div> 978 </div> 979 <a id="a8fbe63588107a1375d05911d27df3ad8"></a> 980 <h2 class="memtitle"><span class="permalink"><a href="#a8fbe63588107a1375d05911d27df3ad8">◆ </a></span>kDebounceDelay</h2> 981 982 <div class="memitem"> 983 <div class="memproto"> 984 <table class="mlabels"> 985 <tr> 986 <td class="mlabels-left"> 987 <table class="memname"> 988 <tr> 989 <td class="memname">const uint16_t ace_button::ButtonConfig::kDebounceDelay = 20</td> 990 </tr> 991 </table> 992 </td> 993 <td class="mlabels-right"> 994 <span class="mlabels"><span class="mlabel">static</span></span> </td> 995 </tr> 996 </table> 997 </div><div class="memdoc"> 998 999 <p>Default value returned by <a class="el" href="classace__button_1_1ButtonConfig.html#ad7be58d0fe0b242f78f15319d201a565" title="Milliseconds to wait for debouncing. ">getDebounceDelay()</a>. </p> 1000 1001 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00077">77</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 1002 1003 </div> 1004 </div> 1005 <a id="af0a0d503f3396acef6a84aca4390fd6a"></a> 1006 <h2 class="memtitle"><span class="permalink"><a href="#af0a0d503f3396acef6a84aca4390fd6a">◆ </a></span>kDoubleClickDelay</h2> 1007 1008 <div class="memitem"> 1009 <div class="memproto"> 1010 <table class="mlabels"> 1011 <tr> 1012 <td class="mlabels-left"> 1013 <table class="memname"> 1014 <tr> 1015 <td class="memname">const uint16_t ace_button::ButtonConfig::kDoubleClickDelay = 400</td> 1016 </tr> 1017 </table> 1018 </td> 1019 <td class="mlabels-right"> 1020 <span class="mlabels"><span class="mlabel">static</span></span> </td> 1021 </tr> 1022 </table> 1023 </div><div class="memdoc"> 1024 1025 <p>Default value returned by <a class="el" href="classace__button_1_1ButtonConfig.html#a5ba500367e03c36f39225a5858e110e6" title="Milliseconds between the first and second click to register as a double-click. ">getDoubleClickDelay()</a>. </p> 1026 1027 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00083">83</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 1028 1029 </div> 1030 </div> 1031 <a id="ac662555100416c4843c6ee5156699c56"></a> 1032 <h2 class="memtitle"><span class="permalink"><a href="#ac662555100416c4843c6ee5156699c56">◆ </a></span>kFeatureClick</h2> 1033 1034 <div class="memitem"> 1035 <div class="memproto"> 1036 <table class="mlabels"> 1037 <tr> 1038 <td class="mlabels-left"> 1039 <table class="memname"> 1040 <tr> 1041 <td class="memname">const <a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> ace_button::ButtonConfig::kFeatureClick = 0x01</td> 1042 </tr> 1043 </table> 1044 </td> 1045 <td class="mlabels-right"> 1046 <span class="mlabels"><span class="mlabel">static</span></span> </td> 1047 </tr> 1048 </table> 1049 </div><div class="memdoc"> 1050 1051 <p>Flag to activate the <a class="el" href="classace__button_1_1AceButton.html#a21797e5e069da3f7bba42b40ab3a7305" title="Button was clicked (Pressed and Released within ButtonConfig::getClickDelay()). ">AceButton::kEventClicked</a> event. </p> 1052 1053 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00104">104</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 1054 1055 </div> 1056 </div> 1057 <a id="a638943c127dd60288a83e83260825d01"></a> 1058 <h2 class="memtitle"><span class="permalink"><a href="#a638943c127dd60288a83e83260825d01">◆ </a></span>kFeatureDoubleClick</h2> 1059 1060 <div class="memitem"> 1061 <div class="memproto"> 1062 <table class="mlabels"> 1063 <tr> 1064 <td class="mlabels-left"> 1065 <table class="memname"> 1066 <tr> 1067 <td class="memname">const <a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> ace_button::ButtonConfig::kFeatureDoubleClick = 0x02</td> 1068 </tr> 1069 </table> 1070 </td> 1071 <td class="mlabels-right"> 1072 <span class="mlabels"><span class="mlabel">static</span></span> </td> 1073 </tr> 1074 </table> 1075 </div><div class="memdoc"> 1076 1077 <p>Flag to activate the <a class="el" href="classace__button_1_1AceButton.html#a0c63f30106e4688425ba37d8f7a9546b" title="Button was double-clicked. ">AceButton::kEventDoubleClicked</a> event. </p> 1078 <p>Activating this automatically activates kEventClicked since there is no double-click without a click. </p> 1079 1080 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00111">111</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 1081 1082 </div> 1083 </div> 1084 <a id="a4d175560047a4ca245186fb26fa413f2"></a> 1085 <h2 class="memtitle"><span class="permalink"><a href="#a4d175560047a4ca245186fb26fa413f2">◆ </a></span>kFeatureLongPress</h2> 1086 1087 <div class="memitem"> 1088 <div class="memproto"> 1089 <table class="mlabels"> 1090 <tr> 1091 <td class="mlabels-left"> 1092 <table class="memname"> 1093 <tr> 1094 <td class="memname">const <a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> ace_button::ButtonConfig::kFeatureLongPress = 0x04</td> 1095 </tr> 1096 </table> 1097 </td> 1098 <td class="mlabels-right"> 1099 <span class="mlabels"><span class="mlabel">static</span></span> </td> 1100 </tr> 1101 </table> 1102 </div><div class="memdoc"> 1103 1104 <p>Flag to activate the AceButton::kEventLongPress event. </p> 1105 1106 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00114">114</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 1107 1108 </div> 1109 </div> 1110 <a id="ac9b941ca87f0eeb899ed503481439c92"></a> 1111 <h2 class="memtitle"><span class="permalink"><a href="#ac9b941ca87f0eeb899ed503481439c92">◆ </a></span>kFeatureRepeatPress</h2> 1112 1113 <div class="memitem"> 1114 <div class="memproto"> 1115 <table class="mlabels"> 1116 <tr> 1117 <td class="mlabels-left"> 1118 <table class="memname"> 1119 <tr> 1120 <td class="memname">const <a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> ace_button::ButtonConfig::kFeatureRepeatPress = 0x08</td> 1121 </tr> 1122 </table> 1123 </td> 1124 <td class="mlabels-right"> 1125 <span class="mlabels"><span class="mlabel">static</span></span> </td> 1126 </tr> 1127 </table> 1128 </div><div class="memdoc"> 1129 1130 <p>Flag to activate the <a class="el" href="classace__button_1_1AceButton.html#a9c4195cb128da40677ea223eb81743c9" title="Button was held down and auto generated multiple presses. ">AceButton::kEventRepeatPressed</a> event. </p> 1131 1132 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00117">117</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 1133 1134 </div> 1135 </div> 1136 <a id="a57327066d135bcc99c4a68b55fca162e"></a> 1137 <h2 class="memtitle"><span class="permalink"><a href="#a57327066d135bcc99c4a68b55fca162e">◆ </a></span>kFeatureSuppressAfterClick</h2> 1138 1139 <div class="memitem"> 1140 <div class="memproto"> 1141 <table class="mlabels"> 1142 <tr> 1143 <td class="mlabels-left"> 1144 <table class="memname"> 1145 <tr> 1146 <td class="memname">const <a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> ace_button::ButtonConfig::kFeatureSuppressAfterClick = 0x10</td> 1147 </tr> 1148 </table> 1149 </td> 1150 <td class="mlabels-right"> 1151 <span class="mlabels"><span class="mlabel">static</span></span> </td> 1152 </tr> 1153 </table> 1154 </div><div class="memdoc"> 1155 1156 <p>Flag to suppress kEventReleased after a kEventClicked. </p> 1157 1158 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00120">120</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 1159 1160 </div> 1161 </div> 1162 <a id="a7642e16b2cc8dd0136312054b1da8f9e"></a> 1163 <h2 class="memtitle"><span class="permalink"><a href="#a7642e16b2cc8dd0136312054b1da8f9e">◆ </a></span>kFeatureSuppressAfterDoubleClick</h2> 1164 1165 <div class="memitem"> 1166 <div class="memproto"> 1167 <table class="mlabels"> 1168 <tr> 1169 <td class="mlabels-left"> 1170 <table class="memname"> 1171 <tr> 1172 <td class="memname">const <a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> ace_button::ButtonConfig::kFeatureSuppressAfterDoubleClick = 0x20</td> 1173 </tr> 1174 </table> 1175 </td> 1176 <td class="mlabels-right"> 1177 <span class="mlabels"><span class="mlabel">static</span></span> </td> 1178 </tr> 1179 </table> 1180 </div><div class="memdoc"> 1181 1182 <p>Flag to suppress kEventReleased after a kEventDoubleClicked. </p> 1183 <p>A kEventClicked is <em>always</em> suppressed after a kEventDoubleClicked to prevent generating 2 double-clicks if the user performed a triple-click. </p> 1184 1185 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00127">127</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 1186 1187 </div> 1188 </div> 1189 <a id="a15b8e90b1ffe01009a1d7dd18b5b6aae"></a> 1190 <h2 class="memtitle"><span class="permalink"><a href="#a15b8e90b1ffe01009a1d7dd18b5b6aae">◆ </a></span>kFeatureSuppressAfterLongPress</h2> 1191 1192 <div class="memitem"> 1193 <div class="memproto"> 1194 <table class="mlabels"> 1195 <tr> 1196 <td class="mlabels-left"> 1197 <table class="memname"> 1198 <tr> 1199 <td class="memname">const <a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> ace_button::ButtonConfig::kFeatureSuppressAfterLongPress = 0x40</td> 1200 </tr> 1201 </table> 1202 </td> 1203 <td class="mlabels-right"> 1204 <span class="mlabels"><span class="mlabel">static</span></span> </td> 1205 </tr> 1206 </table> 1207 </div><div class="memdoc"> 1208 1209 <p>Flag to suppress kEventReleased after a kEventLongPressed. </p> 1210 1211 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00130">130</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 1212 1213 </div> 1214 </div> 1215 <a id="a6b43b591ba53d360e787bf780af0abbc"></a> 1216 <h2 class="memtitle"><span class="permalink"><a href="#a6b43b591ba53d360e787bf780af0abbc">◆ </a></span>kFeatureSuppressAfterRepeatPress</h2> 1217 1218 <div class="memitem"> 1219 <div class="memproto"> 1220 <table class="mlabels"> 1221 <tr> 1222 <td class="mlabels-left"> 1223 <table class="memname"> 1224 <tr> 1225 <td class="memname">const <a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> ace_button::ButtonConfig::kFeatureSuppressAfterRepeatPress = 0x80</td> 1226 </tr> 1227 </table> 1228 </td> 1229 <td class="mlabels-right"> 1230 <span class="mlabels"><span class="mlabel">static</span></span> </td> 1231 </tr> 1232 </table> 1233 </div><div class="memdoc"> 1234 1235 <p>Flag to suppress kEventReleased after a kEventRepeatPressed. </p> 1236 1237 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00133">133</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 1238 1239 </div> 1240 </div> 1241 <a id="abfd736234ae852f22894c7aceb4e534e"></a> 1242 <h2 class="memtitle"><span class="permalink"><a href="#abfd736234ae852f22894c7aceb4e534e">◆ </a></span>kFeatureSuppressAll</h2> 1243 1244 <div class="memitem"> 1245 <div class="memproto"> 1246 <table class="mlabels"> 1247 <tr> 1248 <td class="mlabels-left"> 1249 <table class="memname"> 1250 <tr> 1251 <td class="memname">const <a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> ace_button::ButtonConfig::kFeatureSuppressAll</td> 1252 </tr> 1253 </table> 1254 </td> 1255 <td class="mlabels-right"> 1256 <span class="mlabels"><span class="mlabel">static</span></span> </td> 1257 </tr> 1258 </table> 1259 </div><div class="memdoc"> 1260 <b>Initial value:</b><div class="fragment"><div class="line">=</div><div class="line"> (<a class="code" href="classace__button_1_1ButtonConfig.html#a57327066d135bcc99c4a68b55fca162e">kFeatureSuppressAfterClick</a> |</div><div class="line"> <a class="code" href="classace__button_1_1ButtonConfig.html#a7642e16b2cc8dd0136312054b1da8f9e">kFeatureSuppressAfterDoubleClick</a> |</div><div class="line"> <a class="code" href="classace__button_1_1ButtonConfig.html#a15b8e90b1ffe01009a1d7dd18b5b6aae">kFeatureSuppressAfterLongPress</a> |</div><div class="line"> <a class="code" href="classace__button_1_1ButtonConfig.html#a6b43b591ba53d360e787bf780af0abbc">kFeatureSuppressAfterRepeatPress</a> |</div><div class="line"> <a class="code" href="classace__button_1_1ButtonConfig.html#a80d621dbcf533c9bb91a111b8fec2c53">kFeatureSuppressClickBeforeDoubleClick</a>)</div></div><!-- fragment --> 1261 <p>Convenience flag to suppress all suppressions. </p> 1262 <p>Calling setFeature(kFeatureSuppressAll) suppresses all and clearFeature(kFeatureSuppressAll) clears all suppression. Note however that isFeature(kFeatureSuppressAll) currently means "is ANY feature 1263 enabled?" not "are ALL features enabled?". </p> 1264 1265 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00150">150</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 1266 1267 </div> 1268 </div> 1269 <a id="a80d621dbcf533c9bb91a111b8fec2c53"></a> 1270 <h2 class="memtitle"><span class="permalink"><a href="#a80d621dbcf533c9bb91a111b8fec2c53">◆ </a></span>kFeatureSuppressClickBeforeDoubleClick</h2> 1271 1272 <div class="memitem"> 1273 <div class="memproto"> 1274 <table class="mlabels"> 1275 <tr> 1276 <td class="mlabels-left"> 1277 <table class="memname"> 1278 <tr> 1279 <td class="memname">const <a class="el" href="classace__button_1_1ButtonConfig.html#a1c7c7bfc42738278330243dfc43f23eb">FeatureFlagType</a> ace_button::ButtonConfig::kFeatureSuppressClickBeforeDoubleClick = 0x100</td> 1280 </tr> 1281 </table> 1282 </td> 1283 <td class="mlabels-right"> 1284 <span class="mlabels"><span class="mlabel">static</span></span> </td> 1285 </tr> 1286 </table> 1287 </div><div class="memdoc"> 1288 1289 <p>Flag to suppress kEventClicked before a kEventDoubleClicked. </p> 1290 <p>This causes the notification of a kEventClicked to be delayed until the delay time of <a class="el" href="classace__button_1_1ButtonConfig.html#a5ba500367e03c36f39225a5858e110e6" title="Milliseconds between the first and second click to register as a double-click. ">getDoubleClickDelay()</a> has passed so that we can determine if there was a kEventDoubleClicked. </p> 1291 1292 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00141">141</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 1293 1294 </div> 1295 </div> 1296 <a id="a60bf588a2c067a561887eadf18cedccd"></a> 1297 <h2 class="memtitle"><span class="permalink"><a href="#a60bf588a2c067a561887eadf18cedccd">◆ </a></span>kLongPressDelay</h2> 1298 1299 <div class="memitem"> 1300 <div class="memproto"> 1301 <table class="mlabels"> 1302 <tr> 1303 <td class="mlabels-left"> 1304 <table class="memname"> 1305 <tr> 1306 <td class="memname">const uint16_t ace_button::ButtonConfig::kLongPressDelay = 1000</td> 1307 </tr> 1308 </table> 1309 </td> 1310 <td class="mlabels-right"> 1311 <span class="mlabels"><span class="mlabel">static</span></span> </td> 1312 </tr> 1313 </table> 1314 </div><div class="memdoc"> 1315 1316 <p>Default value returned by <a class="el" href="classace__button_1_1ButtonConfig.html#a46d4213a827a94bf82ba99a9c2e59531" title="Milliseconds for a long press event. ">getLongPressDelay()</a>. </p> 1317 1318 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00086">86</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 1319 1320 </div> 1321 </div> 1322 <a id="a3d20bc5800532085fd046fc64b80ae9f"></a> 1323 <h2 class="memtitle"><span class="permalink"><a href="#a3d20bc5800532085fd046fc64b80ae9f">◆ </a></span>kRepeatPressDelay</h2> 1324 1325 <div class="memitem"> 1326 <div class="memproto"> 1327 <table class="mlabels"> 1328 <tr> 1329 <td class="mlabels-left"> 1330 <table class="memname"> 1331 <tr> 1332 <td class="memname">const uint16_t ace_button::ButtonConfig::kRepeatPressDelay = 1000</td> 1333 </tr> 1334 </table> 1335 </td> 1336 <td class="mlabels-right"> 1337 <span class="mlabels"><span class="mlabel">static</span></span> </td> 1338 </tr> 1339 </table> 1340 </div><div class="memdoc"> 1341 1342 <p>Default value returned by <a class="el" href="classace__button_1_1ButtonConfig.html#ad85c75d2a2dd200552a181fb154d5fd2" title="Milliseconds that a button needs to be Pressed down before the start of the sequence of RepeatPressed...">getRepeatPressDelay()</a>. </p> 1343 1344 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00089">89</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 1345 1346 </div> 1347 </div> 1348 <a id="a218c1aa09b45ea2fe6884e3af3a18310"></a> 1349 <h2 class="memtitle"><span class="permalink"><a href="#a218c1aa09b45ea2fe6884e3af3a18310">◆ </a></span>kRepeatPressInterval</h2> 1350 1351 <div class="memitem"> 1352 <div class="memproto"> 1353 <table class="mlabels"> 1354 <tr> 1355 <td class="mlabels-left"> 1356 <table class="memname"> 1357 <tr> 1358 <td class="memname">const uint16_t ace_button::ButtonConfig::kRepeatPressInterval = 200</td> 1359 </tr> 1360 </table> 1361 </td> 1362 <td class="mlabels-right"> 1363 <span class="mlabels"><span class="mlabel">static</span></span> </td> 1364 </tr> 1365 </table> 1366 </div><div class="memdoc"> 1367 1368 <p>Default value returned by <a class="el" href="classace__button_1_1ButtonConfig.html#aec4a97a1a1306b9ff12f1cdf44515c43" title="Milliseconds between two successive RepeatPressed events. ">getRepeatPressInterval()</a>. </p> 1369 1370 <p class="definition">Definition at line <a class="el" href="ace__button_2ButtonConfig_8h_source.html#l00092">92</a> of file <a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a>.</p> 1371 1372 </div> 1373 </div> 1374 <hr/>The documentation for this class was generated from the following files:<ul> 1375 <li>/home/brian/dev/AceButton/src/ace_button/<a class="el" href="ace__button_2ButtonConfig_8h_source.html">ButtonConfig.h</a></li> 1376 <li>/home/brian/dev/AceButton/src/ace_button/<a class="el" href="ButtonConfig_8cpp_source.html">ButtonConfig.cpp</a></li> 1377 </ul> 1378 </div><!-- contents --> 1379 <!-- start footer part --> 1380 <hr class="footer"/><address class="footer"><small> 1381 Generated by  <a href="http://www.doxygen.org/index.html"> 1382 <img class="footer" src="doxygen.png" alt="doxygen"/> 1383 </a> 1.8.13 1384 </small></address> 1385 </body> 1386 </html>