Kaleidoscope
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
Layer_ Class Reference

#include <layers.h>

Collaboration diagram for Layer_:
Collaboration graph
[legend]

Public Member Functions

 Layer_ (void)
 

Static Public Member Functions

static Key lookup (byte row, byte col)
 
static void on (uint8_t layer)
 
static void off (uint8_t layer)
 
static void move (uint8_t layer)
 
static uint8_t top (void)
 
static void next (void)
 
static void previous (void)
 
static boolean isOn (uint8_t layer)
 
static void defaultLayer (uint8_t layer)
 
static uint8_t defaultLayer (void)
 
static uint32_t getLayerState (void)
 
static Key eventHandler (Key mappedKey, byte row, byte col, uint8_t keyState)
 
static Key getKeyFromPROGMEM (uint8_t layer, byte row, byte col)
 
static void updateKeyCache (byte row, byte col)
 

Static Public Attributes

static Key(* getKey )(uint8_t layer, byte row, byte col) = Layer.getKeyFromPROGMEM
 

Constructor & Destructor Documentation

◆ Layer_()

Layer_::Layer_ ( void  )

Member Function Documentation

◆ defaultLayer() [1/2]

void Layer_::defaultLayer ( uint8_t  layer)
static

◆ defaultLayer() [2/2]

uint8_t Layer_::defaultLayer ( void  )
static

◆ eventHandler()

Key Layer_::eventHandler ( Key  mappedKey,
byte  row,
byte  col,
uint8_t  keyState 
)
static

◆ getKeyFromPROGMEM()

Key Layer_::getKeyFromPROGMEM ( uint8_t  layer,
byte  row,
byte  col 
)
static

◆ getLayerState()

uint32_t Layer_::getLayerState ( void  )
static

◆ isOn()

boolean Layer_::isOn ( uint8_t  layer)
static

◆ lookup()

static Key Layer_::lookup ( byte  row,
byte  col 
)
inlinestatic

◆ move()

void Layer_::move ( uint8_t  layer)
static

◆ next()

void Layer_::next ( void  )
static

◆ off()

void Layer_::off ( uint8_t  layer)
static

◆ on()

void Layer_::on ( uint8_t  layer)
static

◆ previous()

void Layer_::previous ( void  )
static

◆ top()

uint8_t Layer_::top ( void  )
static

◆ updateKeyCache()

void Layer_::updateKeyCache ( byte  row,
byte  col 
)
static

Member Data Documentation

◆ getKey

Key(* Layer_::getKey)(uint8_t layer, byte row, byte col) = Layer.getKeyFromPROGMEM
static

The documentation for this class was generated from the following files: