mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-02 07:55:12 +00:00
302ed624ac
* Add BDN9 encoder defaults * Add DSP40 encoder default * Add FoldKB encoder defaults * Add Iris encoder defaults * Update Iris Rev. 6 encoder orientation * Add KBO-5000 encoder defaults * Add Quefrency encoder defaults * Add Sinc encoder defaults * Add Stick encoder defaults * Remove encoder settings from VIA keymaps
43 lines
658 B
C
43 lines
658 B
C
#include QMK_KEYBOARD_H
|
|
|
|
enum encoder_names {
|
|
_LEFT,
|
|
_RIGHT,
|
|
_MIDDLE,
|
|
};
|
|
|
|
enum layer_names {
|
|
_ZERO,
|
|
_ONE,
|
|
_TWO,
|
|
_THREE
|
|
};
|
|
|
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
|
|
[_ZERO] = LAYOUT(
|
|
KC_MPLY, KC_HOME, KC_MUTE,
|
|
MO(1), KC_UP, RGB_MOD,
|
|
KC_LEFT, KC_DOWN, KC_RGHT
|
|
),
|
|
|
|
[_ONE] = LAYOUT(
|
|
RESET, BL_STEP, KC_STOP,
|
|
_______, KC_HOME, RGB_MOD,
|
|
KC_MPRV, KC_END , KC_MNXT
|
|
),
|
|
|
|
[_TWO] = LAYOUT(
|
|
_______, _______, _______,
|
|
_______, _______, _______,
|
|
_______, _______, _______
|
|
),
|
|
|
|
[_THREE] = LAYOUT(
|
|
_______, _______, _______,
|
|
_______, _______, _______,
|
|
_______, _______, _______
|
|
)
|
|
|
|
};
|