summaryrefslogtreecommitdiffstats
path: root/tmk_core/common/action_tapping.h
diff options
context:
space:
mode:
authorWilliam Chang <william@factual.com>2019-11-20 22:17:07 -0800
committerWilliam Chang <william@factual.com>2019-11-20 22:17:07 -0800
commite7f4d56592b3975c38af329e77b4efd9108495e8 (patch)
tree0a416bccbf70bfdbdb9ffcdb3bf136b47378c014 /tmk_core/common/action_tapping.h
parent71493b2f9bbd5f3d18373c518fa14ccafcbf48fc (diff)
parent8416a94ad27b3ff058576f09f35f0704a8b39ff3 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'tmk_core/common/action_tapping.h')
-rw-r--r--tmk_core/common/action_tapping.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/tmk_core/common/action_tapping.h b/tmk_core/common/action_tapping.h
index 1db43a442e..509d5eabd8 100644
--- a/tmk_core/common/action_tapping.h
+++ b/tmk_core/common/action_tapping.h
@@ -17,27 +17,24 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef ACTION_TAPPING_H
#define ACTION_TAPPING_H
-
-
/* period of tapping(ms) */
#ifndef TAPPING_TERM
-#define TAPPING_TERM 200
+# define TAPPING_TERM 200
#endif
//#define RETRO_TAPPING // Tap anyway, even after TAPPING_TERM, as long as there was no interruption
/* tap count needed for toggling a feature */
#ifndef TAPPING_TOGGLE
-#define TAPPING_TOGGLE 5
+# define TAPPING_TOGGLE 5
#endif
#define WAITING_BUFFER_SIZE 8
-
#ifndef NO_ACTION_TAPPING
uint16_t get_event_keycode(keyevent_t event);
uint16_t get_tapping_term(uint16_t keycode);
-void action_tapping_process(keyrecord_t record);
+void action_tapping_process(keyrecord_t record);
#endif
#endif