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.
23 lines
751 B
23 lines
751 B
9 years ago
|
#pragma once
|
||
|
#include <Arduino.h>
|
||
|
|
||
|
#include "key_defs.h"
|
||
9 years ago
|
#include "keyswitch_state.h"
|
||
9 years ago
|
#include "MouseWrapper.h"
|
||
9 years ago
|
#include "LEDControl.h"
|
||
9 years ago
|
#include "Storage.h"
|
||
9 years ago
|
#include "keymaps.h"
|
||
|
#include "generated/keymaps.h"
|
||
9 years ago
|
|
||
|
extern const Key keymaps[KEYMAPS][ROWS][COLS];
|
||
|
extern uint8_t primary_keymap;
|
||
|
extern uint8_t temporary_keymap;
|
||
|
|
||
|
// sending events to the computer
|
||
9 years ago
|
void handle_synthetic_key_event( Key mappedKey, uint8_t currentState, uint8_t previousState);
|
||
|
void handle_key_event(byte row, byte col, uint8_t currentState, uint8_t previousState);
|
||
9 years ago
|
void press_key(Key mappedKey);
|
||
9 years ago
|
void handle_keymap_key_event(Key keymapEntry, uint8_t currentState, uint8_t previousState);
|
||
|
void handle_mouse_key_event(Key mappedKey, uint8_t currentState, uint8_t previousState);
|
||
9 years ago
|
|