start to refactor the code to be a Kaleidoscope plugin

pull/365/head
Jesse Vincent 8 years ago
parent 518dda8e57
commit d31530d579

@ -1,10 +1,10 @@
name=Keyboardio-Model01-TestMode name=Kaleidoscope-Model01-TestMode
version=0.0.0 version=0.0.0
author=Jesse Vincent author=Jesse Vincent
maintainer=Jesse Vincent <jesse@keyboard.io> maintainer=Jesse Vincent <jesse@keyboard.io>
sentence=A factory test mode for the Model 01. sentence=A factory test mode for the Model 01.
paragraph=A special mode for the Model 01 to help factory workers test the Model 01 during assembly. paragraph=A special mode for the Model 01 to help factory workers test the Model 01 during assembly.
category=Communication category=Communication
url=https://github.com/keyboardio/Keyboardio-Model01-TestMode url=https://github.com/keyboardio/Kaleidoscope-Model01-TestMode
architectures=avr architectures=avr
dot_a_linkage=true dot_a_linkage=true

@ -1,6 +1,6 @@
#include "KeyboardioFirmware.h" #include "Kaleidoscope.h"
#include "Keyboardio-Model01-TestMode.h" #include "Kaleidoscope-Model01-TestMode.h"
#include "Keyboardio-LEDEffect-Rainbow.h" #include "Kaleidoscope-LEDEffect-Rainbow.h"
cRGB red; cRGB red;
cRGB blue; cRGB blue;

@ -1,9 +1,9 @@
#pragma once #pragma once
#include <Arduino.h> #include <Arduino.h>
#include "KeyboardioFirmware.h" #include "Kaleidoscope.h"
class TestMode_ : public KeyboardioPlugin { class TestMode_ : public KaleidoscopePlugin {
public: public:
TestMode_(void); TestMode_(void);
void begin(); void begin();

Loading…
Cancel
Save