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

/* process Fn keys. This.should be called every scan. */
void keymap_fn_proc(int fn_bits);

#endif