mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-27 02:56:33 +06:00
bcaf66bd32
* Convert community layout to userspace for future use * Big readme update * Move layer toggle to CAPS * Readme updates * Deleted since unused * Removed call to unused .c file
19 lines
522 B
C
19 lines
522 B
C
#pragma once
|
|
|
|
#include "quantum.h"
|
|
|
|
#define DEFAULT 0 //Custom ANSI
|
|
#define LAYER1 1 //Default ANSI (enable with Fn2+CAPS)
|
|
#define LAYER2 2 //Function keys, arrows, custom shortcuts, volume control
|
|
#define LAYER3 3 //RGB Underglow controls and RESET
|
|
|
|
//Aliases for longer keycodes
|
|
#define KC_CAD LALT(LCTL(KC_DEL))
|
|
#define KC_LOCK LGUI(KC_L)
|
|
#define CA_QUOT LCA(KC_QUOT)
|
|
#define CA_SCLN LCA(KC_SCLN)
|
|
#define KC_CTLE LCTL_T(KC_ESC)
|
|
#define LT_SPCF LT(2, KC_SPC)
|
|
#define TD_TESC TD(TD_ESC)
|
|
#define TD_TWIN TD(TD_WIN)
|