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

#include <Kaleidoscope-Hardware-Model01.h>

Collaboration diagram for Model01:
Collaboration graph
[legend]

Public Member Functions

 Model01 (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)
 
uint8_t getLedIndex (byte row, byte col)
 
void scanMatrix (void)
 
void readMatrix (void)
 
void actOnMatrixScan (void)
 
void setup ()
 
void enableHighPowerLeds (void)
 
void enableScannerPower (void)
 
void rebootBootloader ()
 
boolean ledPowerFault (void)
 
void maskKey (byte row, byte col)
 
void unMaskKey (byte row, byte col)
 
bool isKeyMasked (byte row, byte col)
 
void maskHeldKeys (void)
 

Public Attributes

keydata_t leftHandState
 
keydata_t rightHandState
 
keydata_t previousLeftHandState
 
keydata_t previousRightHandState
 

Constructor & Destructor Documentation

◆ Model01()

Model01::Model01 ( void  )

Member Function Documentation

◆ actOnMatrixScan()

void Model01::actOnMatrixScan ( void  )

◆ enableHighPowerLeds()

void Model01::enableHighPowerLeds ( void  )

◆ enableScannerPower()

void Model01::enableScannerPower ( void  )

◆ getCrgbAt()

cRGB Model01::getCrgbAt ( uint8_t  i)

◆ getKeyColor()

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

◆ getLedIndex()

uint8_t Model01::getLedIndex ( byte  row,
byte  col 
)

◆ isKeyMasked()

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

◆ ledPowerFault()

boolean Model01::ledPowerFault ( void  )

◆ maskHeldKeys()

void Model01::maskHeldKeys ( void  )

◆ maskKey()

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

◆ readMatrix()

void Model01::readMatrix ( void  )

◆ rebootBootloader()

void Model01::rebootBootloader ( )

◆ scanMatrix()

void Model01::scanMatrix ( void  )

◆ setCrgbAt() [1/2]

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

◆ setCrgbAt() [2/2]

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

◆ setup()

void Model01::setup ( void  )

◆ syncLeds()

void Model01::syncLeds ( void  )

◆ unMaskKey()

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

Member Data Documentation

◆ leftHandState

keydata_t Model01::leftHandState

◆ previousLeftHandState

keydata_t Model01::previousLeftHandState

◆ previousRightHandState

keydata_t Model01::previousRightHandState

◆ rightHandState

keydata_t Model01::rightHandState

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