summaryrefslogtreecommitdiffstats
path: root/keymap_skel.h
blob: c2b94177e798d24a01258814adb2955fdaf10122 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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