This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
2010-10-23 16:17:26 +00:00
|
|
|
#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);
|
|
|
|
|
2010-10-28 06:43:51 +00:00
|
|
|
bool keymap_is_special_mode(uint8_t fn_bits);
|
2010-10-23 16:17:26 +00:00
|
|
|
/* process Fn keys. This.should be called every scan. */
|
2010-10-28 06:43:51 +00:00
|
|
|
void keymap_fn_proc(uint8_t fn_bits);
|
2010-10-23 16:17:26 +00:00
|
|
|
|
|
|
|
#endif
|