qmk_firmware/keymap_skel.h

19 lines
431 B
C
Raw Normal View History

2010-10-23 18:17:26 +02: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 08:43:51 +02:00
bool keymap_is_special_mode(uint8_t fn_bits);
2010-10-23 18:17:26 +02:00
/* process Fn keys. This.should be called every scan. */
2010-10-28 08:43:51 +02:00
void keymap_fn_proc(uint8_t fn_bits);
2010-10-23 18:17:26 +02:00
#endif