6c3b9a2ded
FIX: keymap
19 lines
431 B
C
19 lines
431 B
C
#ifndef KEYMAP_SKEL_H
|
|
#define KEYMAP_SKEL_H 1
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
#include "usb_keycodes.h"
|
|
|
|
|
|
uint8_t keymap_get_keycode(int row, int col);
|
|
uint8_t keymap_get_keycodel(int layer, int row, int col);
|
|
int keymap_get_layer(void);
|
|
int keymap_set_layer(int layer);
|
|
|
|
bool keymap_is_special_mode(uint8_t fn_bits);
|
|
/* process Fn keys. This.should be called every scan. */
|
|
void keymap_fn_proc(uint8_t fn_bits);
|
|
|
|
#endif
|