summaryrefslogtreecommitdiff
path: root/keymap_skel.h
blob: ab8cce7ae4f766b96bcadde615347a2a95e5d0a2 (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(int fn_bits);
/* process Fn keys. This.should be called every scan. */
void keymap_fn_proc(int fn_bits);

#endif