]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - tmk_core/common/action_tapping.h
Add user-overridable callback for cancelling UCIS input (#5564)
[qmk_firmware.git] / tmk_core / common / action_tapping.h
index 9b42d50dc3e464db41b4c5aaa480f616624d623b..1db43a442e33cd98a2e266419866563cf0875701 100644 (file)
@@ -24,6 +24,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #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
@@ -33,6 +35,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 
 #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);
 #endif