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

#include <Kaleidoscope-Hardware-Shortcut.h>

Collaboration diagram for Shortcut:
Collaboration graph
[legend]

Public Member Functions

 Shortcut (void)
 
void syncLeds (void)
 
void setCrgbAt (byte row, byte col, cRGB color)
 
void setCrgbAt (uint8_t i, cRGB crgb)
 
cRGB getCrgbAt (uint8_t i)
 
cRGB getKeyColor (byte row, byte col)
 
void scanMatrix (void)
 
void readMatrix (void)
 
void actOnMatrixScan (void)
 
void setup ()
 
void maskKey (byte row, byte col)
 
void unMaskKey (byte row, byte col)
 
bool isKeyMasked (byte row, byte col)
 
void maskHeldKeys (void)
 

Public Attributes

AtmegaScanner< COLS, ROWSscanner
 

Constructor & Destructor Documentation

◆ Shortcut()

Shortcut::Shortcut ( void  )

Member Function Documentation

◆ actOnMatrixScan()

void Shortcut::actOnMatrixScan ( void  )

◆ getCrgbAt()

cRGB Shortcut::getCrgbAt ( uint8_t  i)

◆ getKeyColor()

cRGB Shortcut::getKeyColor ( byte  row,
byte  col 
)

◆ isKeyMasked()

bool Shortcut::isKeyMasked ( byte  row,
byte  col 
)

◆ maskHeldKeys()

void Shortcut::maskHeldKeys ( void  )

◆ maskKey()

void Shortcut::maskKey ( byte  row,
byte  col 
)

◆ readMatrix()

void Shortcut::readMatrix ( void  )

◆ scanMatrix()

void Shortcut::scanMatrix ( void  )

◆ setCrgbAt() [1/2]

void Shortcut::setCrgbAt ( byte  row,
byte  col,
cRGB  color 
)

◆ setCrgbAt() [2/2]

void Shortcut::setCrgbAt ( uint8_t  i,
cRGB  crgb 
)

◆ setup()

void Shortcut::setup ( void  )

◆ syncLeds()

void Shortcut::syncLeds ( void  )

◆ unMaskKey()

void Shortcut::unMaskKey ( byte  row,
byte  col 
)

Member Data Documentation

◆ scanner

AtmegaScanner<COLS, ROWS> Shortcut::scanner

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