Kaleidoscope
Classes | Namespaces | Macros | Variables
DualUse.h File Reference
#include <Kaleidoscope.h>
#include <Kaleidoscope-Ranges.h>
Include dependency graph for DualUse.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kaleidoscope::DualUse
 

Namespaces

 kaleidoscope
 

Macros

#define MT(mod, key)   (Key) { .raw = kaleidoscope::ranges::DUM_FIRST + (((Key_ ## mod).keyCode - Key_LeftControl.keyCode) << 8) + (Key_ ## key).keyCode }
 
#define SFT_T(key)   MT(LeftShift, key)
 
#define CTL_T(key)   MT(LeftControl, key)
 
#define ALT_T(key)   MT(LeftAlt, key)
 
#define GUI_T(key)   MT(LeftGui, key)
 
#define LT(layer, key)   (Key) { .raw = kaleidoscope::ranges::DUL_FIRST + (layer << 8) + (Key_ ## key).keyCode }
 

Variables

kaleidoscope::DualUse DualUse
 

Macro Definition Documentation

◆ ALT_T

#define ALT_T (   key)    MT(LeftAlt, key)

◆ CTL_T

#define CTL_T (   key)    MT(LeftControl, key)

◆ GUI_T

#define GUI_T (   key)    MT(LeftGui, key)

◆ LT

#define LT (   layer,
  key 
)    (Key) { .raw = kaleidoscope::ranges::DUL_FIRST + (layer << 8) + (Key_ ## key).keyCode }

◆ MT

#define MT (   mod,
  key 
)    (Key) { .raw = kaleidoscope::ranges::DUM_FIRST + (((Key_ ## mod).keyCode - Key_LeftControl.keyCode) << 8) + (Key_ ## key).keyCode }

◆ SFT_T

#define SFT_T (   key)    MT(LeftShift, key)

Variable Documentation

◆ DualUse