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
785 B
46 lines
785 B
9 years ago
|
#pragma once
|
||
|
|
||
10 years ago
|
#include <Arduino.h>
|
||
11 years ago
|
|
||
|
//end of add your includes here
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
11 years ago
|
void loop();
|
||
|
void setup();
|
||
11 years ago
|
#ifdef __cplusplus
|
||
|
} // extern "C"
|
||
|
#endif
|
||
|
|
||
|
//add your function definitions for the project KeyboardIO here
|
||
11 years ago
|
|
||
9 years ago
|
#define TS(X) //Serial.print(micros() );Serial.print("\t");Serial.println(X);
|
||
11 years ago
|
|
||
9 years ago
|
#include <Wire.h>
|
||
10 years ago
|
#include <stdio.h>
|
||
|
#include <math.h>
|
||
|
#include <avr/wdt.h>
|
||
9 years ago
|
|
||
10 years ago
|
#include "KeyboardConfig.h"
|
||
9 years ago
|
#include "generated/keymaps.h"
|
||
9 years ago
|
#include "key_events.h"
|
||
10 years ago
|
|
||
9 years ago
|
extern HARDWARE_IMPLEMENTATION KeyboardHardware;
|
||
10 years ago
|
|
||
9 years ago
|
extern uint8_t primary_keymap;
|
||
|
extern uint8_t temporary_keymap;
|
||
|
|
||
10 years ago
|
#ifndef VERSION
|
||
|
#define VERSION "locally-built"
|
||
|
#endif
|
||
11 years ago
|
|
||
8 years ago
|
class Keyboardio_ {
|
||
|
public:
|
||
|
Keyboardio_(void);
|
||
|
|
||
|
void setup(void);
|
||
|
void loop(void);
|
||
|
};
|
||
|
|
||
|
static Keyboardio_ Keyboardio;
|