plan:
1,GH60
2,BT mod ----adafruit Bluefruit mod
3,led ------ws2812
problem:
1,How to use the core TMK Library?
2,I checked a lot of information.i found a project
https://github.com/bgould/arduino-tmk-keyboard/ write by C++, The project is changed protocol PS2 to Bluefruit EZ-Key HID.
The author changed makefile compile to ARDUINO IDE .
#include "config.h"
#include <KeyboardFirmware.h>
BluefruitHost host;
PS2MatrixCodeset3 matrix;
static uint16_t reset_press_time = 0;
void setup() {
pinMode(KEY_LED_PIN, INPUT);
pinMode(PAIR_LED_PIN, INPUT);
pinMode(PAIR_BUTTON_PIN, OUTPUT);
pinMode(RESET_BUTTON_PIN, OUTPUT);
pinMode(DEBUGGING_LED, OUTPUT);
digitalWrite(PAIR_BUTTON_PIN, LOW); // write high for 5 seconds to reset pairing
digitalWrite(RESET_BUTTON_PIN, LOW); // pull low to reset the bluefruit module
digitalWrite(OUTPUT_LED_PIN, OUTPUT_LED_OFF);
#if DEBUG_ENABLE
debug_enable = true;
How can I change it, let it be my plan?