Kaleidoscope
Namespaces | Macros | Functions | Variables
TapDance.cpp File Reference
#include <Kaleidoscope-TapDance.h>
#include <kaleidoscope/hid.h>
Include dependency graph for TapDance.cpp:

Namespaces

 kaleidoscope
 

Macros

#define isTapDance(k)   (k.raw >= ranges::TD_FIRST && k.raw <= ranges::TD_LAST)
 
#define isInSeq(k)   (last_tap_dance_key_.raw == k.raw)
 
#define stillHeld(idx)   (tap_count_[idx])
 
#define isActive()   (last_tap_dance_key_.raw != Key_NoKey.raw)
 

Functions

 __attribute__ ((weak)) void tapDanceAction(uint8_t tap_dance_index
 

Variables

byte row
 
byte byte col
 
byte byte uint8_t tap_count
 
byte byte uint8_t kaleidoscope::TapDance::ActionType tap_dance_action
 

Macro Definition Documentation

◆ isActive

#define isActive ( )    (last_tap_dance_key_.raw != Key_NoKey.raw)

◆ isInSeq

#define isInSeq (   k)    (last_tap_dance_key_.raw == k.raw)

◆ isTapDance

#define isTapDance (   k)    (k.raw >= ranges::TD_FIRST && k.raw <= ranges::TD_LAST)

◆ stillHeld

#define stillHeld (   idx)    (tap_count_[idx])

Function Documentation

◆ __attribute__()

__attribute__ ( (weak)  )

Variable Documentation

◆ col

byte byte col

◆ row

byte row

◆ tap_count

byte byte uint8_t tap_count

◆ tap_dance_action

byte byte uint8_t kaleidoscope::TapDance::ActionType tap_dance_action
Initial value:
{
}
kaleidoscope::TapDance TapDance
Definition: TapDance.h:33