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.
46 lines
819 B
46 lines
819 B
#pragma once
|
|
|
|
#include <Arduino.h>
|
|
//add your includes for the project KeyboardIO here
|
|
#include <EEPROM.h>
|
|
|
|
//end of add your includes here
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
void loop();
|
|
void setup();
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif
|
|
|
|
//add your function definitions for the project KeyboardIO here
|
|
|
|
#define TS(X) //Serial.print(micros() );Serial.print("\t");Serial.println(X);
|
|
|
|
#include <Wire.h>
|
|
#include <stdio.h>
|
|
#include <math.h>
|
|
#include <avr/wdt.h>
|
|
|
|
#include "KeyboardConfig.h"
|
|
#include "generated/keymaps.h"
|
|
#include "key_events.h"
|
|
|
|
|
|
extern uint8_t matrixState[ROWS][COLS];
|
|
extern const Key keymaps[KEYMAPS][ROWS][COLS];
|
|
extern uint8_t primary_keymap;
|
|
extern uint8_t temporary_keymap;
|
|
|
|
extern KeyboardStorage Storage;
|
|
|
|
|
|
|
|
void scan_matrix();
|
|
|
|
#ifndef VERSION
|
|
#define VERSION "locally-built"
|
|
#endif
|
|
|