]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/sixkeyboard/keymaps/default/keymap.c
f5b10bb48889ac56860899e0d427f956bae0a07d
[qmk_firmware.git] / keyboards / sixkeyboard / keymaps / default / keymap.c
1
2 #include "sixkeyboard.h"
3 #include "matrix.h"
4
5 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
6 [0] = {
7         {KC_A, KC_B, KC_C},
8   {KC_D, KC_E, KC_F}
9   }
10 };
11
12 const uint16_t PROGMEM fn_actions[] = {
13
14 };
15
16 const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
17 {
18     return MACRO_NONE;
19 };
20
21 void matrix_scan_user(void) {
22   // jump to bootloaer when all keys are pressed
23   if (matrix_get_row(0) == 0b111 && matrix_get_row(1) == 0b111) {
24     clear_keyboard();
25     bootloader_jump();
26   }
27 };