|
|
|
@ -1,13 +1,15 @@
|
|
|
|
|
#include "atomic.h"
|
|
|
|
|
#include "action_layer.h"
|
|
|
|
|
|
|
|
|
|
#ifdef AUDIO_ENABLE
|
|
|
|
|
#include "audio.h"
|
|
|
|
|
#include "audio.h"
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#define _QW 0
|
|
|
|
|
#define _LW 1
|
|
|
|
|
#define _RS 2
|
|
|
|
|
#define _FN 3
|
|
|
|
|
#define _AD 3
|
|
|
|
|
#define _FN 4
|
|
|
|
|
|
|
|
|
|
#define M_QW 0
|
|
|
|
|
#define M_LW 1
|
|
|
|
@ -62,6 +64,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
|
|
|
{ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, ___T___, ___T___, KC_MS_U, KC_WH_D },
|
|
|
|
|
{ _______, _______, _______, _______, _______, KC_BTN1, KC_BTN1, _______, _______, _______, _______, _______, KC_MS_L, KC_MS_D, KC_MS_R },
|
|
|
|
|
},
|
|
|
|
|
[_ADJ] = { /* ADJUST */
|
|
|
|
|
{ KC_NLCK, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, ___T___, ___T___ },
|
|
|
|
|
{ KC_SLCK, KC_F13, KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_PAUS, KC_PSCR },
|
|
|
|
|
{ KC_CAPS, KC_BTN5, KC_BTN4, KC_BTN3, KC_BTN2, KC_ACL0, KC_ACL2, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY, _______, ___T___, ___T___, KC_WH_U },
|
|
|
|
|
{ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, ___T___, ___T___, KC_MS_U, KC_WH_D },
|
|
|
|
|
{ _______, _______, _______, _______, _______, KC_BTN1, KC_BTN1, _______, _______, _______, _______, _______, KC_MS_L, KC_MS_D, KC_MS_R },
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#define IS_LAYER_ON(layer) ((layer_state) & (1<<(layer)))
|
|
|
|
|