You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
640 B
37 lines
640 B
#include <Arduino.h>
|
|
#include "WS2812.h"
|
|
#include "Model01.h"
|
|
|
|
Model01_::Model01_(void) {
|
|
|
|
}
|
|
|
|
void Model01_::setup(void) {
|
|
}
|
|
|
|
|
|
void Model01_::led_set_crgb_at(byte row, byte col, cRGB color) {
|
|
}
|
|
|
|
cRGB Model01_::get_key_color(byte row, byte col) {
|
|
}
|
|
|
|
void Model01_::led_set_crgb_at(uint8_t i, cRGB crgb) {
|
|
}
|
|
|
|
void Model01_::led_sync() {
|
|
}
|
|
|
|
|
|
void Model01_::scan_matrix() {
|
|
//scan the Keyboard matrix looking for connections
|
|
for (byte row = 0; row < LEFT_ROWS; row++) {
|
|
|
|
for (byte col = 0; col < LEFT_COLS; col++) {
|
|
handle_key_event(row, col);
|
|
handle_key_event(row, (COLS - 1) - col);
|
|
}
|
|
}
|
|
}
|
|
|