clean up KeyboardioFirmware header

pull/18/head
Jesse Vincent 9 years ago
parent da7312635b
commit 4021c3a5bb

@ -30,7 +30,6 @@ void setup();
#include "debouncing.h" #include "debouncing.h"
#include "mouse_movement.h" #include "mouse_movement.h"
#include "storage.h" #include "storage.h"
//extern uint8_t usbMaxPower;
char x; char x;
char y; char y;
@ -41,36 +40,14 @@ static const Key keymaps[KEYMAPS][ROWS][COLS] = { KEYMAP_LIST };
uint8_t primary_keymap = 0; uint8_t primary_keymap = 0;
uint8_t temporary_keymap = 0; uint8_t temporary_keymap = 0;
// hardware keymap interaction
void setup_pins();
void setup_input_pins();
void setup_output_pins();
void scan_matrix(); void scan_matrix();
// key matrix
void reset_matrix();
// sending events to the computer // sending events to the computer
void handle_synthetic_key_event(byte switchState, Key mappedKey); void handle_synthetic_key_event(byte switchState, Key mappedKey);
void handle_key_event(byte row, byte col); void handle_key_event(byte row, byte col);
void press_key(Key mappedKey); void press_key(Key mappedKey);
void handle_keymap_key_event(byte switchState, Key keymapEntry); void handle_keymap_key_event(byte switchState, Key keymapEntry);
#ifndef VERSION #ifndef VERSION
#define VERSION "locally-built" #define VERSION "locally-built"
#endif #endif

Loading…
Cancel
Save