qmk_settings: wrap TAPPING_TOGGLE
This commit is contained in:
@ -18,6 +18,7 @@
|
||||
#include "quantum_keycodes.h"
|
||||
#include "action_tapping.h"
|
||||
#include "usb_device_state.h"
|
||||
#include "qmk_settings.h"
|
||||
|
||||
__attribute__((weak)) bool get_haptic_enabled_key(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
@ -26,7 +27,7 @@ __attribute__((weak)) bool get_haptic_enabled_key(uint16_t keycode, keyrecord_t
|
||||
if (record->tap.count == 0) return false;
|
||||
break;
|
||||
case QK_LAYER_TAP_TOGGLE ... QK_LAYER_TAP_TOGGLE_MAX:
|
||||
if (record->tap.count != TAPPING_TOGGLE) return false;
|
||||
if (record->tap.count != QS_tapping_toggle) return false;
|
||||
break;
|
||||
case QK_LAYER_TAP ... QK_LAYER_TAP_MAX:
|
||||
if (record->tap.count == 0) return false;
|
||||
|
Reference in New Issue
Block a user