[keyboard] reedskeebs/alish40 (#19754)

Co-authored-by: Kyle McCreery <mccreery.kyle@gmail.com>
This commit is contained in:
Less/Rikki
2023-02-08 22:29:15 -05:00
committed by GitHub
parent cf45a05296
commit ff6c44db25
8 changed files with 417 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
// Copyright 2022 Kyle McCreery (@kylemccreery)
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Base */
[0] = LAYOUT_all(
KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_ENT,
KC_LSFT, _______, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
KC_LCTL, KC_LGUI, KC_MUTE, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL
),
[1] = LAYOUT_all(
_______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_SCLN,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______
),
[2] = LAYOUT_all(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______
),
[3] = LAYOUT_all(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______
)
};
#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
[1] = { ENCODER_CCW_CW(RGB_SAD, RGB_SAI) },
[2] = { ENCODER_CCW_CW(RGB_SPD, RGB_SPI) },
[3] = { ENCODER_CCW_CW(KC_RIGHT, KC_LEFT) }
};
#endif

View File

@@ -0,0 +1,24 @@
# If you are using a custom AVR Pro Micro-compatible dev board (Elite-C, Sea-Micro, etc)
# you may need to uncomment and modify this BOOTLOADER setting to use the correct
# bootloader. (e.g. Elite-Cs use "atmel-dfu", not "caterina".)
#
# See the QMK docs for more information:
# https://docs.qmk.fm/#/flashing
# https://docs.qmk.fm/#/driver_installation_zadig?id=list-of-known-bootloaders
# BOOTLOADER = caterina
# Conversion to some non-AVR Pro Micro-compatible dev boards can be performed automatically.
# Uncomment and modify this CONVERT_TO setting for your dev board.
#
# See the QMK docs for more information:
# https://docs.qmk.fm/#/feature_converters
# CONVERT_TO=promicro_rp2040
# If you are not using an encoder, set these options to no.
ENCODER_ENABLE = yes
ENCODER_MAP_ENABLE = yes
# If you did not add RGB LEDs, set this option to no.
RGBLIGHT_ENABLE = yes