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.
Kaleidoscope/src/Kaleidoscope-Model01-TestMo...

26 lines
590 B

8 years ago
#pragma once
8 years ago
#include <Arduino.h>
#include "Kaleidoscope.h"
8 years ago
#define TEST_MODE_KEY_COMBO (R0C0 | R0C6 | R3C6)
class TestMode_ : public KaleidoscopePlugin {
public:
TestMode_(void);
void begin();
8 years ago
private:
static void run_tests();
static void test_leds();
static void test_matrix();
static void toggle_programming_leds_on();
static void wait_for_keypress();
static void loopHook(bool postClear);
static void set_leds(uint8_t r, uint8_t g, uint8_t b);
8 years ago
};
extern TestMode_ TestMode;
Key handle_keyswitch_event_test(Key mappedKey, byte row, byte col, uint8_t keyState);