mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-22 03:19:24 +00:00
zlant_xl:
Reconfigured the keyboard now fully data driven. TODO: add support for RGB lighting
This commit is contained in:
parent
88691e9d69
commit
c00d849cf7
@ -1,69 +0,0 @@
|
||||
/* Copyright 2021 Christian C. Berclaz
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#define VENDOR_ID 0xFEED
|
||||
#define PRODUCT_ID 0x0000
|
||||
#define DEVICE_VER 0x0001
|
||||
#define MANUFACTURER Christian C. Berclaz
|
||||
#define PRODUCT Zlant XL
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 10
|
||||
#define MATRIX_COLS 6
|
||||
|
||||
/*
|
||||
* Keyboard Matrix Assignments
|
||||
*
|
||||
* Change this to how you wired your keyboard
|
||||
* COLS: AVR pins used for columns, left to right
|
||||
* ROWS: AVR pins used for rows, top to bottom
|
||||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
||||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
||||
*
|
||||
*/
|
||||
#define MATRIX_ROW_PINS { C4, C6, B1, B0, B3, B2, B5, B4, B7, B6 }
|
||||
#define MATRIX_COL_PINS { D6, D5, C7, C5, D3, D4 }
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define RGB_DI_PIN C2
|
||||
#ifdef RGB_DI_PIN
|
||||
#define RGBLED_NUM 12
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
|
||||
/*== all animations enable ==*/
|
||||
#define RGBLIGHT_ANIMATIONS
|
||||
/*== or choose animations ==*/
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
#define RGBLIGHT_EFFECT_SNAKE
|
||||
#define RGBLIGHT_EFFECT_KNIGHT
|
||||
#define RGBLIGHT_EFFECT_CHRISTMAS
|
||||
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
||||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#endif
|
||||
|
||||
// generated by KBFirmware JSON to QMK Parser
|
||||
// https://noroadsleft.github.io/kbf_qmk_converter/
|
@ -1,75 +0,0 @@
|
||||
{
|
||||
"keyboard_name": "zlantxl_chrisgve",
|
||||
"url": "",
|
||||
"maintainer": "qmk",
|
||||
"width": 13,
|
||||
"height": 5,
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"label":"K00 (C4,D6)", "x":0, "y":0},
|
||||
{"label":"K10 (C6,D6)", "x":1, "y":0},
|
||||
{"label":"K01 (C4,D5)", "x":2, "y":0},
|
||||
{"label":"K11 (C6,D5)", "x":3, "y":0},
|
||||
{"label":"K02 (C4,C7)", "x":4, "y":0},
|
||||
{"label":"K12 (C6,C7)", "x":5, "y":0},
|
||||
{"label":"K03 (C4,C5)", "x":6, "y":0},
|
||||
{"label":"K13 (C6,C5)", "x":7, "y":0},
|
||||
{"label":"K04 (C4,D3)", "x":8, "y":0},
|
||||
{"label":"K14 (C6,D3)", "x":9, "y":0},
|
||||
{"label":"K05 (C4,D4)", "x":10, "y":0},
|
||||
{"label":"K15 (C6,D4)", "x":11, "y":0},
|
||||
{"label":"K20 (B1,D6)", "x":0.25, "y":1},
|
||||
{"label":"K30 (B0,D6)", "x":1.25, "y":1},
|
||||
{"label":"K21 (B1,D5)", "x":2.25, "y":1},
|
||||
{"label":"K31 (B0,D5)", "x":3.25, "y":1},
|
||||
{"label":"K22 (B1,C7)", "x":4.25, "y":1},
|
||||
{"label":"K32 (B0,C7)", "x":5.25, "y":1},
|
||||
{"label":"K23 (B1,C5)", "x":6.25, "y":1},
|
||||
{"label":"K33 (B0,C5)", "x":7.25, "y":1},
|
||||
{"label":"K24 (B1,D3)", "x":8.25, "y":1},
|
||||
{"label":"K34 (B0,D3)", "x":9.25, "y":1},
|
||||
{"label":"K25 (B1,D4)", "x":10.25, "y":1},
|
||||
{"label":"K35 (B0,D4)", "x":11.25, "y":1},
|
||||
{"label":"K40 (B3,D6)", "x":0.5, "y":2},
|
||||
{"label":"K50 (B2,D6)", "x":1.5, "y":2},
|
||||
{"label":"K41 (B3,D5)", "x":2.5, "y":2},
|
||||
{"label":"K51 (B2,D5)", "x":3.5, "y":2},
|
||||
{"label":"K42 (B3,C7)", "x":4.5, "y":2},
|
||||
{"label":"K52 (B2,C7)", "x":5.5, "y":2},
|
||||
{"label":"K43 (B3,C5)", "x":6.5, "y":2},
|
||||
{"label":"K53 (B2,C5)", "x":7.5, "y":2},
|
||||
{"label":"K44 (B3,D3)", "x":8.5, "y":2},
|
||||
{"label":"K54 (B2,D3)", "x":9.5, "y":2},
|
||||
{"label":"K45 (B3,D4)", "x":10.5, "y":2},
|
||||
{"label":"K55 (B2,D4)", "x":11.5, "y":2},
|
||||
{"label":"K60 (B5,D6)", "x":0.75, "y":3},
|
||||
{"label":"K70 (B4,D6)", "x":1.75, "y":3},
|
||||
{"label":"K61 (B5,D5)", "x":2.75, "y":3},
|
||||
{"label":"K71 (B4,D5)", "x":3.75, "y":3},
|
||||
{"label":"K62 (B5,C7)", "x":4.75, "y":3},
|
||||
{"label":"K72 (B4,C7)", "x":5.75, "y":3},
|
||||
{"label":"K63 (B5,C5)", "x":6.75, "y":3},
|
||||
{"label":"K73 (B4,C5)", "x":7.75, "y":3},
|
||||
{"label":"K64 (B5,D3)", "x":8.75, "y":3},
|
||||
{"label":"K74 (B4,D3)", "x":9.75, "y":3},
|
||||
{"label":"K65 (B5,D4)", "x":10.75, "y":3},
|
||||
{"label":"K75 (B4,D4)", "x":11.75, "y":3},
|
||||
{"label":"K80 (B7,D6)", "x":1, "y":4},
|
||||
{"label":"K90 (B6,D6)", "x":2, "y":4},
|
||||
{"label":"K81 (B7,D5)", "x":3, "y":4},
|
||||
{"label":"K91 (B6,D5)", "x":4, "y":4},
|
||||
{"label":"K82 (B7,C7)", "x":5, "y":4},
|
||||
{"label":"K92 (B6,C7)", "x":6, "y":4},
|
||||
{"label":"K83 (B7,C5)", "x":7, "y":4},
|
||||
{"label":"K93 (B6,C5)", "x":8, "y":4},
|
||||
{"label":"K84 (B7,D3)", "x":9, "y":4},
|
||||
{"label":"K94 (B6,D3)", "x":10, "y":4},
|
||||
{"label":"K85 (B7,D4)", "x":11, "y":4},
|
||||
{"label":"K95 (B6,D4)", "x":12, "y":4}
|
||||
]
|
||||
}
|
||||
}
|
||||
,"meta": "https://noroadsleft.github.io/kbf_qmk_converter/"
|
||||
}
|
||||
|
@ -1,4 +0,0 @@
|
||||
#define DEBOUNCE 5
|
||||
|
||||
#define PERMISSIVE_HOLD
|
||||
|
@ -1,153 +0,0 @@
|
||||
/* Copyright 2021 Christian C. Berclaz
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
#include "chrisgve.h"
|
||||
|
||||
// clang-format off
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[_GAMING] = LAYOUT(
|
||||
QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS,
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
||||
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, QUT_SFT,
|
||||
ADJUST, TD_ADJ, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
||||
),
|
||||
|
||||
[_QWERTY_MAC] = LAYOUT(
|
||||
QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS,
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, CU_BSPC,
|
||||
CPS_CTL, A_MOUSE, KC_S, M_NAV_1, M_F_NAV, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
|
||||
SFT_MSE, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, QUT_SFT,
|
||||
ADJUST, TD_ADJ, KC_LALT, KC_LGUI, LOWER, SPC_RSE, SPC_RSE, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
||||
),
|
||||
|
||||
[_MAC_NAV_1] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, M_F_WRD, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, A_SHIFT, S_SHIFT, _______, M_NAV_2, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______,
|
||||
_______, _______, _______, _______, _______, M_B_WRD, KC_HOME, KC_END, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
[_MAC_NAV_2] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END
|
||||
),
|
||||
|
||||
[_QWERTY_LINUX] = LAYOUT(
|
||||
QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS,
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, CU_BSPC,
|
||||
CPS_CTL, A_MOUSE, KC_S, L_NAV_1, L_F_NAV, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
|
||||
SFT_MSE, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, QUT_SFT,
|
||||
ADJUST, TD_ADJ, KC_LGUI, KC_LALT, LOWER, SPC_RSE, SPC_RSE, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
||||
),
|
||||
|
||||
[_LINUX_NAV_1] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, L_F_WRD, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, A_SHIFT, S_SHIFT, _______, L_NAV_2, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______,
|
||||
_______, _______, _______, _______, _______, L_B_WRD, KC_HOME, KC_END, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
[_LINUX_NAV_2] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END
|
||||
),
|
||||
|
||||
[_QWERTY_WIN] = LAYOUT(
|
||||
QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS,
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, CU_BSPC,
|
||||
CPS_CTL, A_MOUSE, KC_S, W_NAV_1, W_F_NAV, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
|
||||
SFT_MSE, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, QUT_SFT,
|
||||
ADJUST, TD_ADJ, KC_LGUI, KC_LALT, LOWER, SPC_RSE, SPC_RSE, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
||||
),
|
||||
|
||||
[_WIN_NAV_1] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, W_F_WRD, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, A_SHIFT, S_SHIFT, _______, W_NAV_2, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______,
|
||||
_______, _______, _______, _______, _______, W_B_WRD, KC_HOME, KC_END, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
[_WIN_NAV_2] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END
|
||||
),
|
||||
|
||||
[_LOWER] = LAYOUT(
|
||||
KC_GRV, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LBRC, KC_RBRC, _______,
|
||||
KC_CAPS, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MINS, KC_EQL,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END
|
||||
),
|
||||
|
||||
[_RAISE] = LAYOUT(
|
||||
KC_GRV, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LCBR, KC_RCBR, _______,
|
||||
KC_CAPS, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_UNDS, KC_PLUS,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END
|
||||
),
|
||||
|
||||
[_ADJUST] = LAYOUT(
|
||||
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
|
||||
QK_BOOT, MAC_SWT, _______, WIN_SWT, _______, _______, _______, _______, _______, _______, _______, KC_DEL,
|
||||
KC_CAPS, DF_M_P, DF_L_P, DF_W_P, _______, _______, KC_MPRV, KC_VOLD, KC_VOLU, KC_MNXT, _______, _______,
|
||||
_______, DF_MAC, DF_LNX, DF_WIN, DF_GMG, _______, _______, KC_MUTE, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, KC_MPLY, KC_MPLY, _______, KC_MPRV, KC_VOLD, KC_VOLU, KC_MNXT
|
||||
),
|
||||
|
||||
[_NUM] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_P7, KC_P8, KC_P9, KC_PMNS, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_P4, KC_P5, KC_P6, KC_PPLS, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, KC_PAST, KC_PENT,
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_P0, KC_P0, KC_PDOT, KC_PSLS, _______,
|
||||
_______, TG_NUM, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
[_MOUSE] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, KC_ACL2, KC_ACL1, KC_ACL0, KC_BTN2, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, KC_WH_U, KC_WH_D, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, KC_BTN1, KC_BTN1, _______, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R
|
||||
),
|
||||
|
||||
[_EX_MOUSE] = LAYOUT(
|
||||
TG_MSE, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||
XXXXXXX, XXXXXXX, KC_ACL2, KC_ACL1, KC_ACL0, KC_BTN2, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, XXXXXXX, XXXXXXX,
|
||||
TG_MSE, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_WH_U, KC_WH_D, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_BTN1, KC_BTN1, XXXXXXX, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R
|
||||
),
|
||||
|
||||
};
|
||||
// clang-format on
|
@ -1,13 +0,0 @@
|
||||
USER_NAME := chrisgve
|
||||
SRC += chrisgve.c
|
||||
|
||||
NKRO_ENABLE = yes
|
||||
MOUSEKEY_ENABLE = yes
|
||||
TAP_DANCE_ENABLE = yes
|
||||
|
||||
CONSOLE_ENABLE = no
|
||||
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
MODIFIERS_ENABLE = yes
|
||||
>>>>>>> f5fdfaf18b (rebased repo)
|
@ -14,86 +14,26 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "kb.h"
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
#define BASE 0
|
||||
#define FN 1
|
||||
|
||||
// clang-format off
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[BASE] = LAYOUT(KC_ESC, KC_2, KC_4, KC_6, KC_8, KC_0,
|
||||
KC_1, KC_3, KC_5, KC_7, KC_9, KC_DEL,
|
||||
KC_TAB, KC_W, KC_R, KC_Y, KC_I, KC_P,
|
||||
KC_Q, KC_E, KC_T, KC_U, KC_O, KC_BSPC,
|
||||
KC_CAPS, KC_S, KC_F, KC_H, KC_K, KC_SCLN,
|
||||
KC_A, KC_D, KC_G, KC_J, KC_L, KC_QUOT,
|
||||
KC_LSFT, KC_X, KC_V, KC_N, KC_COMM, KC_SLSH,
|
||||
KC_Z, KC_C, KC_B, KC_M, KC_DOT, KC_ENT,
|
||||
KC_NO, KC_LALT, MO(2), KC_SPC, KC_LEFT, KC_UP,
|
||||
KC_LCTL, KC_LGUI, KC_SPC, MO(1), KC_DOWN, KC_RGHT),
|
||||
[BASE] = LAYOUT(
|
||||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
||||
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT,
|
||||
_______, KC_LCTL, KC_LALT, KC_LGUI, KC_LSFT, KC_SPC, KC_SPC, MO(1), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT),
|
||||
|
||||
[FN] = LAYOUT(
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_F2, KC_F4, KC_F6, KC_PLUS, KC_RCBR,
|
||||
KC_F1, KC_F3, KC_F5, KC_UNDS, KC_LCBR, KC_PIPE,
|
||||
KC_TRNS, KC_F8, KC_F10, KC_F12, KC_TRNS, KC_END,
|
||||
KC_F7, KC_F9, KC_F11, KC_TRNS, KC_HOME, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MNXT, KC_VOLU,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_MPLY),
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE,
|
||||
_______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_HOME, KC_END, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY),
|
||||
};
|
||||
|
||||
/*const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {*/
|
||||
/*keyevent_t event = record->event;*/
|
||||
|
||||
/*switch (id) {*/
|
||||
|
||||
/*}*/
|
||||
/*return MACRO_NONE;*/
|
||||
/*}*/
|
||||
|
||||
/*void matrix_init_user(void) {*/
|
||||
/*}*/
|
||||
|
||||
/*void matrix_scan_user(void) {*/
|
||||
/*}*/
|
||||
|
||||
/*bool process_record_user(uint16_t keycode, keyrecord_t *record) {*/
|
||||
/*return true;*/
|
||||
/*}*/
|
||||
|
||||
/*void led_set_user(uint8_t usb_led) {*/
|
||||
|
||||
/*if (usb_led & (1 << USB_LED_NUM_LOCK)) {*/
|
||||
|
||||
/*} else {*/
|
||||
|
||||
/*}*/
|
||||
|
||||
/*if (usb_led & (1 << USB_LED_CAPS_LOCK)) {*/
|
||||
|
||||
/*} else {*/
|
||||
|
||||
/*}*/
|
||||
|
||||
/*if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {*/
|
||||
|
||||
/*} else {*/
|
||||
|
||||
/*}*/
|
||||
|
||||
/*if (usb_led & (1 << USB_LED_COMPOSE)) {*/
|
||||
|
||||
/*} else {*/
|
||||
|
||||
/*}*/
|
||||
|
||||
/*if (usb_led & (1 << USB_LED_KANA)) {*/
|
||||
|
||||
/*} else {*/
|
||||
|
||||
/*}*/
|
||||
|
||||
/*}*/
|
||||
// clang-format on
|
||||
|
@ -1,27 +0,0 @@
|
||||
src = zlant_xl.c
|
||||
|
||||
# MCU name
|
||||
MCU = atmega32u2
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = atmel-dfu
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = yes # Console for debug
|
||||
COMMAND_ENABLE = yes # Commands for debug and configuration
|
||||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||
NKRO_ENABLE = no # USB Nkey Rollover
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
|
||||
# generated by KBFirmware JSON to QMK Parser
|
||||
# https://noroadsleft.github.io/kbf_qmk_converter/
|
@ -1,20 +0,0 @@
|
||||
/* Copyright 2021 Christian C. Berclaz
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "zlant_xl.h"
|
||||
|
||||
// generated by KBFirmware JSON to QMK Parser
|
||||
// https://noroadsleft.github.io/kbf_qmk_converter/
|
@ -1,41 +0,0 @@
|
||||
/* Copyright 2021 Christian C. Berclaz
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT( \
|
||||
K00, K10, K01, K11, K02, K12, K03, K13, K04, K14, K05, K15, \
|
||||
K20, K30, K21, K31, K22, K32, K23, K33, K24, K34, K25, K35, \
|
||||
K40, K50, K41, K51, K42, K52, K43, K53, K44, K54, K45, K55, \
|
||||
K60, K70, K61, K71, K62, K72, K63, K73, K64, K74, K65, K75, \
|
||||
K80, K90, K81, K91, K82, K92, K83, K93, K84, K94, K85, K95 \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04, K05 }, \
|
||||
{ K10, K11, K12, K13, K14, K15 }, \
|
||||
{ K20, K21, K22, K23, K24, K25 }, \
|
||||
{ K30, K31, K32, K33, K34, K35 }, \
|
||||
{ K40, K41, K42, K43, K44, K45 }, \
|
||||
{ K50, K51, K52, K53, K54, K55 }, \
|
||||
{ K60, K61, K62, K63, K64, K65 }, \
|
||||
{ K70, K71, K72, K73, K74, K75 }, \
|
||||
{ K80, K81, K82, K83, K84, K85 }, \
|
||||
{ K90, K91, K92, K93, K94, K95 }, \
|
||||
}
|
||||
|
||||
// generated by KBFirmware JSON to QMK Parser
|
||||
// https://noroadsleft.github.io/kbf_qmk_converter/
|
Loading…
Reference in New Issue
Block a user