You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
455 B

  1. #pragma once
  2. #include "issmirnov.h"
  3. extern bool tap_tog_layer_other_key_pressed; // set to true if any key pressed while TAP_TOG_LAYER held down
  4. extern bool tap_tog_layer_toggled_on; // will become true if no keys are pressed while TTL held down
  5. extern uint8_t tap_tog_count; // number of presses on TAP_TOG_LAYER button.
  6. // Tap dance analog with momentary toggle when held, switch when tapped
  7. void process_tap_tog(uint8_t layer, keyrecord_t *record);