mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-13 13:46:51 +06:00
4057d44989
* Add Kyria keymap * clean split hand detection code * rename "joystick" to "thumbstick" * thumbstick overhaul * removed angle correction, seems buggy * save some memory * Remove deprecated config option * Use the correct types for getting host led states * Fix include path * Made .h files for encoder and oled code * Increase speed cap on thumbstick
17 lines
331 B
C
17 lines
331 B
C
#pragma once
|
|
|
|
#include "quantum.h"
|
|
|
|
enum layers { _QWERTY = 0, _LOWER, _RAISE, _ADJUST };
|
|
|
|
enum custom_keycodes {
|
|
ENC_MODE_L = SAFE_RANGE,
|
|
ENC_MODE_R,
|
|
TMB_MODE,
|
|
};
|
|
|
|
#define ESC_RAISE LT(_RAISE, KC_ESC)
|
|
#define BSLS_RAISE LT(_RAISE, KC_BSLS)
|
|
#define SFT_QUOT MT(MOD_RSFT, KC_QUOT)
|
|
#define CTL_MINS MT(MOD_RCTL, KC_MINS)
|