]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/clueboard_17/keymaps/default/keymap.c
Address #1689 by using a formula to define the breathing curve (#1692)
[qmk_firmware.git] / keyboards / clueboard_17 / keymaps / default / keymap.c
1 #include "clueboard_17.h"
2
3 #include "backlight.h"
4
5 // Each layer gets a name for readability, which is then used in the keymap matrix below.
6 // The underscores don't mean anything - you can have a layer called STUFF or any other name.
7 // Layer names don't all need to be of the same length, obviously, and you can also skip them
8 // entirely and just use numbers.
9 #define _BL 0
10 #define _FL 1
11 #define _RS 2
12
13 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
14   /* Keymap _BL: (Base Layer) Default Layer
15    * .-------------------.
16    * |NL F|   /|   *|   -|
17    * |-------------------|
18    * |   7|   8|   9|    |
19    * |--------------|    |
20    * |   4|   5|   6|   +|
21    * |-------------------|
22    * |   1|   2|   3|    |
23    * |--------------|    |
24    * |        0|   .| Ent|
25    * '-------------------'
26    */
27 [_BL] = KEYMAP(
28   LT(_FL, KC_NLCK), KC_PSLS, KC_PAST, KC_PMNS, \
29   KC_P7,            KC_P8,   KC_P9,   KC_PPLS, \
30   KC_P4,            KC_P5,   KC_P6, \
31   KC_P1,            KC_P2,   KC_P3,   KC_PENT, \
32   KC_P0,                     KC_PDOT),
33
34   /* Keymap _FL: Function Layer
35    * .-------------------.
36    * |NL F|    |    | Fn0|
37    * |-------------------|
38    * |    | Fn4|    |    |
39    * |--------------|    |
40    * | Fn3|BL_S| Fn2| Fn6|
41    * |-------------------|
42    * |    | Fn5|    |    |
43    * |--------------|    |
44    * |      Fn1|    | Fn7|
45    * '-------------------'
46    */
47 [_FL] = KEYMAP(
48   LT(_FL, KC_NLCK), KC_TRNS, KC_TRNS, RGB_TOG, \
49   KC_TRNS,          RGB_SAI,    KC_TRNS, RGB_VAI, \
50   RGB_HUD,             BL_STEP, RGB_HUI, \
51   KC_TRNS,          RGB_SAD,    KC_TRNS, RGB_VAD, \
52   RGB_MOD,                      KC_TRNS)
53 };
54
55 /*enum function_id {
56 };*/
57
58 const uint16_t PROGMEM fn_actions[] = {
59 };
60
61 void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) {
62   switch (id) {
63   }
64 }
65