mirror of
https://github.com/qmk/qmk_firmware
synced 2024-12-22 08:26:21 +00:00
Remove userspace keymaps (#22544)
This commit is contained in:
parent
4908d4b1ca
commit
1ed03f498f
@ -1,19 +0,0 @@
|
|||||||
/* Copyright 2018 Chuck "@vosechu" Lauer Vose
|
|
||||||
*
|
|
||||||
* 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
|
|
||||||
|
|
||||||
// place overrides here
|
|
@ -1,46 +0,0 @@
|
|||||||
/* Copyright 2018 Chuck "@vosechu" Lauer Vose
|
|
||||||
*
|
|
||||||
* 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
|
|
||||||
|
|
||||||
#define SPACEFN LT(1, KC_SPC)
|
|
||||||
#define CTL_GRV CTL_T(KC_GRV)
|
|
||||||
#define ALT_TAB ALT_T(KC_TAB)
|
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
||||||
[0] = LAYOUT_60_ansi(
|
|
||||||
KC_ESC , KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_MINS , KC_EQL , KC_BSPC ,
|
|
||||||
KC_TAB , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , KC_LBRC , KC_RBRC , KC_BSLS ,
|
|
||||||
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_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 ,
|
|
||||||
CTL_GRV , ALT_TAB , KC_LGUI , SPACEFN , KC_RALT , KC_RGUI , MO(1) , KC_RCTL
|
|
||||||
),
|
|
||||||
|
|
||||||
[1] = LAYOUT_60_ansi(
|
|
||||||
KC_GRV , KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , KC_F7 , KC_F8 , KC_F9 , KC_F10 , KC_F11 , KC_F12 , KC_DEL ,
|
|
||||||
KC_TRNS , KC_TRNS , KC_UP , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_PSCR , KC_SCRL , KC_PAUS , KC_TRNS ,
|
|
||||||
KC_TRNS , KC_LEFT , KC_DOWN , KC_RGHT , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_INS , KC_HOME , KC_PGUP , KC_TRNS ,
|
|
||||||
KC_TRNS , KC_VOLU , KC_VOLD , KC_MUTE , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_END , KC_PGDN , KC_TRNS ,
|
|
||||||
KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , MO(2) , KC_TRNS , KC_TRNS
|
|
||||||
),
|
|
||||||
|
|
||||||
[2] = LAYOUT_60_ansi(
|
|
||||||
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 , QK_BOOT,
|
|
||||||
BL_TOGG , BL_UP , BL_DOWN , BL_STEP , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS ,
|
|
||||||
RGB_TOG , RGB_MOD , RGB_HUI , RGB_SAI , RGB_VAI , RGB_SPI , RGB_M_P , RGB_M_B , RGB_M_R , RGB_M_SW , KC_TRNS , KC_TRNS , KC_TRNS ,
|
|
||||||
KC_TRNS , RGB_RMOD , RGB_HUD , RGB_SAD , RGB_VAD , RGB_SPD , RGB_M_SN , RGB_M_K , RGB_M_X , RGB_M_G , KC_TRNS , KC_TRNS ,
|
|
||||||
KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS
|
|
||||||
)
|
|
||||||
};
|
|
@ -1,6 +0,0 @@
|
|||||||
# 1up60hse keymap made by vosechu
|
|
||||||
|
|
||||||
Tweaks from default
|
|
||||||
|
|
||||||
* Add in SpaceFN so arrows are reachable with just left hand (leaving right free for mousing).
|
|
||||||
* Also add tab/grv under the alt/ctrl keys to make those easier to reach.
|
|
@ -1,59 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2020 Dan White <opensource@bluetufa.com>
|
|
||||||
|
|
||||||
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 "badger.h"
|
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
||||||
[_QWERTY_MAC] = LAYOUT_tsangan(
|
|
||||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, 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_LBRC, KC_RBRC, KC_BSLS,
|
|
||||||
MOVE_MAC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, 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, CFG_MAC,
|
|
||||||
KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, ADJUST, KC_RALT, KC_RGUI),
|
|
||||||
|
|
||||||
[_MOVE_MAC] = LAYOUT_tsangan(
|
|
||||||
MAC_FRC, MM_LEFT, MM_RGHT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_0, IJ_TOP, IJ_BOTT, _______, _______,
|
|
||||||
KC_BACK, IJ_STEP, IJ_INTO, IJ_OUT, IJ_RUN, IJ_STOP, _______, WD_BACK, KC_HOME, KC_END, WD_FRWD, IJ_BACK, IJ_FWD, KC_NEXT,
|
|
||||||
_______, MM_LH, MM_MAX, MM_RH, IJ_FIND, IJ_IMPS, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, CM_RIGHT, CM_DOWN, _______,
|
|
||||||
_______, MM_UH, MM_BH, MAC_CPY, MAC_PST, IJ_IMPH, _______, IJ_REN, IJ_IMPL, IJ_DECL, IJ_USAG, _______, _______,
|
|
||||||
_______, _______, _______, _______, _______, _______, _______),
|
|
||||||
|
|
||||||
[_QWERTY_LINUX] = LAYOUT_tsangan(
|
|
||||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, 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_LBRC, KC_RBRC, KC_BSLS,
|
|
||||||
MOVE, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, 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, CFG_LNX,
|
|
||||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, ADJUST, KC_RALT, KC_RGUI),
|
|
||||||
|
|
||||||
[_MOVE_LINUX] = LAYOUT_tsangan(
|
|
||||||
KC_GRV, VD_1, VD_2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______,
|
|
||||||
KC_BACK, WM_VD1, WM_UH, WM_VD2, QK_BOOT, KC_MSTP, KC_MPLY, KC_PGUP, KC_HOME, KC_END, KC_PGDN, _______, _______, KC_NEXT,
|
|
||||||
_______, WM_LH, WM_MAX, WM_RH, WD_FRWD, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, CS_RIGHT, CS_DOWN, _______,
|
|
||||||
_______, WM_VD3, WM_BH, OS_COPY, OS_PAST, WD_BACK, KC_MNXT, KC_MUTE, KC_WBAK, KC_WFWD, _______, _______, _______,
|
|
||||||
_______, _______, _______, _______, _______, _______, _______),
|
|
||||||
|
|
||||||
[_ADJUST] = LAYOUT_tsangan(
|
|
||||||
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______,
|
|
||||||
_______, _______, _______, _______, KC_WREF, KC_MSTP, KC_MPLY, KC_PGUP, _______, _______, KC_PGDN, KC_VOLD, KC_VOLU, KC_INS,
|
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
|
||||||
_______, _______, _______, KC_CAPS, _______, KC_MPRV, KC_MNXT, KC_MUTE, KC_WBAK, KC_WFWD, KC_WSCH, _______, _______,
|
|
||||||
_______, _______, _______, _______, _______, _______, _______),
|
|
||||||
|
|
||||||
[_CONFIG] = LAYOUT_tsangan(
|
|
||||||
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______,
|
|
||||||
_______, NK_ON, NK_OFF, EE_CLR, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS,
|
|
||||||
_______, GE_SWAP, GE_NORM, DB_TOGG, RGB_MOD, RGB_HUI, RGB_SAI, RGB_SPI, RGB_M_B, _______, _______, RGB_TOG, _______,
|
|
||||||
_______, DF_1, DF_2, _______, RGB_RMOD, RGB_HUD, RGB_SAD, RGB_SPD, RGB_M_K, _______, _______, _______, _______,
|
|
||||||
_______, _______, _______, _______, _______, _______, _______)
|
|
||||||
};
|
|
@ -1,59 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2020 Dan White <opensource@bluetufa.com>
|
|
||||||
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 "badger.h"
|
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
||||||
[_QWERTY_MAC] = LAYOUT_60_ansi_tsangan_split_rshift(
|
|
||||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
|
|
||||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
|
|
||||||
MOVE_MAC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, 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, CFG_MAC,
|
|
||||||
KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, ADJUST, KC_RALT, KC_RGUI),
|
|
||||||
|
|
||||||
[_MOVE_MAC] = LAYOUT_60_ansi_tsangan_split_rshift(
|
|
||||||
MAC_FRC, MM_LEFT, MM_RGHT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_0, IJ_TOP, IJ_BOTT, KC_DEL,
|
|
||||||
KC_BACK, IJ_STEP, IJ_INTO, IJ_OUT, IJ_RUN, IJ_STOP, _______, WD_BACK, KC_HOME, KC_END, WD_FRWD, IJ_BACK, IJ_FWD, KC_NEXT,
|
|
||||||
_______, MM_LH, MM_MAX, MM_RH, IJ_FIND, IJ_IMPS, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, CM_RIGHT, CM_DOWN, _______,
|
|
||||||
_______, MM_UH, MM_BH, MAC_CPY, MAC_PST, IJ_IMPH, _______, IJ_REN, IJ_IMPL, IJ_DECL, IJ_USAG, _______, _______,
|
|
||||||
_______, _______, _______, _______, _______, _______, _______),
|
|
||||||
|
|
||||||
[_QWERTY_LINUX] = LAYOUT_60_ansi_tsangan_split_rshift(
|
|
||||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
|
|
||||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
|
|
||||||
MOVE, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, 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, CFG_LNX,
|
|
||||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, ADJUST, KC_LALT, KC_RGUI),
|
|
||||||
|
|
||||||
[_MOVE_LINUX] = LAYOUT_60_ansi_tsangan_split_rshift(
|
|
||||||
KC_GRV, VD_1, VD_2, VD_3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL,
|
|
||||||
KC_BACK, WM_VD1, WM_UH, WM_VD2, QK_BOOT, KC_MSTP, KC_MPLY, KC_PGUP, KC_HOME, KC_END, KC_PGDN, _______, _______, KC_NEXT,
|
|
||||||
_______, WM_LH, WM_MAX, WM_RH, WD_FRWD, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, CS_RIGHT, CS_DOWN, _______,
|
|
||||||
_______, WM_VD3, WM_BH, OS_COPY, OS_PAST, WD_BACK, KC_MNXT, KC_MUTE, KC_WBAK, KC_WFWD, _______, _______, _______,
|
|
||||||
_______, _______, _______, _______, _______, _______, _______),
|
|
||||||
|
|
||||||
[_ADJUST] = LAYOUT_60_ansi_tsangan_split_rshift(
|
|
||||||
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL,
|
|
||||||
_______, _______, _______, _______, KC_WREF, KC_MSTP, KC_MPLY, KC_PGUP, _______, _______, KC_PGDN, KC_VOLD, KC_VOLU, KC_INS,
|
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
|
||||||
_______, DF_1, DF_2, KC_CAPS, _______, KC_MPRV, KC_MNXT, KC_MUTE, KC_WBAK, KC_WFWD, KC_WSCH, _______, _______,
|
|
||||||
_______, _______, _______, _______, _______, _______, _______),
|
|
||||||
|
|
||||||
[_CONFIG] = LAYOUT_60_ansi_tsangan_split_rshift(
|
|
||||||
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL,
|
|
||||||
_______, NK_ON, NK_OFF, EE_CLR, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS,
|
|
||||||
_______, GE_SWAP, GE_NORM, DB_TOGG, RGB_MOD, RGB_HUI, RGB_SAI, RGB_SPI, RGB_M_B, _______, _______, RGB_TOG, _______,
|
|
||||||
_______, LAG_SWP, LAG_NRM, _______, RGB_RMOD, RGB_HUD, RGB_SAD, RGB_SPD, RGB_M_K, _______, _______, _______, _______,
|
|
||||||
_______, _______, _______, _______, _______, _______, _______)
|
|
||||||
};
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
|||||||
// Copyright 2023 @miketronic -- Mike B <mxb540@gmail.com>
|
|
||||||
// SPDX-License-Identifier: GPL-2.0+
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
# define TAPPING_TERM 160
|
|
||||||
# define TAPPING_TERM_PER_KEY
|
|
||||||
# define HOLD_ON_OTHER_KEY_PRESS
|
|
||||||
# define QUICK_TAP_TERM TAPPING_TERM / 2
|
|
||||||
# define QUICK_TAP_TERM_PER_KEY
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,290 +0,0 @@
|
|||||||
// Copyright 2023 @miketronic -- Mike B <mxb540@gmail.com>
|
|
||||||
// SPDX-License-Identifier: GPL-2.0+
|
|
||||||
|
|
||||||
#include "miketronic.h"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
||||||
|
|
||||||
/* Workman
|
|
||||||
* ┌─────┬─────┬─────┬─────┬─────┬─────┐ ┌─────┬─────┬─────┬─────┬─────┬─────┐
|
|
||||||
* │ TAB │ Q │ D │ R │ W │ B │ │ J │ F │ U │ P │ BSPC│ BSPC│
|
|
||||||
* │ ESC │ ESC │ │ │ │ SYM │ │ SYM │ │ │ │ │ │
|
|
||||||
* ├─────┼─────┼─────┼─────╆━━━━━╅─────┤ ├─────╆━━━━━╅─────┼─────┼─────┼─────┤
|
|
||||||
* │ TAB │ A │ S │ H ┃ T ┃ G │ │ Y ┃ N ┃ E │ O │ I │ │
|
|
||||||
* │SHIFT│ │ │ ┃ EX ┃ │ │ ┃ ┃ │ │ENTER│ENTER│
|
|
||||||
* ├─────┼─────┼─────┼─────╄━━━━━╃─────┤ ├─────╄━━━━━╃─────┼─────┼─────┼─────┤
|
|
||||||
* │SHIFT| Z │ X │ M │ C │ V │ │ K │ L │ SPC │ SPC │ / │ UP |
|
|
||||||
* │ │ │ │ │ │ │ │ │ │ , │ . │ │RIGHT|
|
|
||||||
* ├─────┼─────┼─────┼─────┼─────┼─────┤ ├─────┼─────┼─────┼─────┼─────┼─────┤
|
|
||||||
* │ FN │CTRL │ OS │ ALT │LOWER│ │ │ │RAISE│ SS │CLIP │COPY │ DN │
|
|
||||||
* │ │ │ │ │ │ │ │ │ │ │ │PASTE│LEFT │
|
|
||||||
* └─────┴─────┴─────┴─────┴─────┴─────┘ └─────┴─────┴─────┴─────┴─────┴─────┘
|
|
||||||
*/
|
|
||||||
|
|
||||||
[_WM] = LAYOUT_ortho_4x12_wrapper (
|
|
||||||
RGB_TOG,
|
|
||||||
_____________WORKMAN_412_001_L_____________, _____________WORKMAN_412_001_R_____________,
|
|
||||||
_____________WORKMAN_412_002_L_____________, _____________WORKMAN_412_002_R_____________,
|
|
||||||
_____________WORKMAN_412_003_L_____________, _____________WORKMAN_412_003_R_____________,
|
|
||||||
_____________WORKMAN_412_004_L_____________, _____________WORKMAN_412_004_R_____________
|
|
||||||
),
|
|
||||||
|
|
||||||
[_QW] = LAYOUT_ortho_4x12_wrapper (
|
|
||||||
RGB_TOG,
|
|
||||||
KC_TAB, _________________QWERTY_L1_________________, _________________QWERTY_R1_________________, KC_BSPC,
|
|
||||||
KC_ESC, _________________QWERTY_L2_________________, _________________QWERTY_R2_________________, KC_QUOT,
|
|
||||||
KC_LSFT, _________________QWERTY_L3_________________, _________________QWERTY_R3_________________, KC_ENT,
|
|
||||||
_____________WORKMAN_412_004_L_____________, _____________WORKMAN_412_004_R_____________
|
|
||||||
),
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Lower
|
|
||||||
* ┌─────┬─────┬─────┬─────┬─────┬─────┐ ┌─────┬─────┬─────┬─────┬─────┬─────┐
|
|
||||||
* │ │ () │ [] │ /\ │ │ │ │ │ 7 │ 8 │ 9 │ │ │
|
|
||||||
* │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
|
||||||
* ├─────┼─────┼─────┼─────╆━━━━━╅─────┤ ├─────╆━━━━━╅─────┼─────┼─────┼─────┤
|
|
||||||
* │ │ @ # │ & % │ ┃ ┃ │ │ ┃ 4 ┃ 5 │ 6 │ │ │
|
|
||||||
* │ │ │ │ ┃ ┃ │ │ ┃ ┃ │ │ │ │
|
|
||||||
* ├─────┼─────┼─────┼─────╄━━━━━╃─────┤ ├─────╄━━━━━╃─────┼─────┼─────┼─────┤
|
|
||||||
* │ │ │ │ │ │ │ │ 0 │ 1 │ 2 │ 3 │ │ UP │
|
|
||||||
* │ │ │ │ │ │ │ │ │ │ 0 │ │ │RIGHT│
|
|
||||||
* ├─────┼─────┼─────┼─────┼─────┼─────┤ ├─────┼─────┼─────┼─────┼─────┼─────┤
|
|
||||||
* │ │ │ │ │LOWER│ │ │ │BPSC │ SPC │ . │ │ DN │
|
|
||||||
* │ │ │ │ │ │ │ │ │ │ │ ENT │ │LEFT │
|
|
||||||
* └─────┴─────┴─────┴─────┴─────┴─────┘ └─────┴─────┴─────┴─────┴─────┴─────┘
|
|
||||||
*/
|
|
||||||
[_LOWER] = LAYOUT_ortho_4x12_wrapper (
|
|
||||||
KC_MUTE,
|
|
||||||
_______________LOWER_412_L1________________, _______________LOWER_412_R1________________,
|
|
||||||
_______________LOWER_412_L2________________, _______________LOWER_412_R2________________,
|
|
||||||
_______________LOWER_412_L3________________, _______________LOWER_412_R3________________,
|
|
||||||
_______________LOWER_412_L4________________, _______________LOWER_412_R4________________
|
|
||||||
),
|
|
||||||
|
|
||||||
|
|
||||||
/* RAISE
|
|
||||||
* ┌─────┬─────┬─────┬─────┬─────┬─────┐ ┌─────┬─────┬─────┬─────┬─────┬─────┐
|
|
||||||
* │BOOT │DEBUG│ │ │ │MAKE │ │ │ │ F7 │ F8 │ F9 │ F10 │
|
|
||||||
* │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
|
||||||
* ├─────┼─────┼─────┼─────╆━━━━━╅─────┤ ├─────╆━━━━━╅─────┼─────┼─────┼─────┤
|
|
||||||
* │ │ RGB | RGB | RGB ┃ RGB ┃ WM │ │ ┃ / \ ┃ F4 │ F5 │ F6 │ F11 │
|
|
||||||
* │ │ TOG │ MOD │ HUI ┃ HUD ┃ │ │ ┃ ┃ │ │ │ │
|
|
||||||
* ├─────┼─────┼─────┼─────╄━━━━━╃─────┤ ├─────╄━━━━━╃─────┼─────┼─────┼─────┤
|
|
||||||
* │ │ RGB │ RGB │ RGB │ RGB │ QW │ │ │ _ │ F1 | F2 | F3 │ F12 │
|
|
||||||
* │ │ SAI │ SAD │ VAI │ VAD │ │ │ │ - │ │ │ │ │
|
|
||||||
* ├─────┼─────┼─────┼─────┼─────┼─────┤ ├─────┼─────┼─────┼─────┼─────┼─────┤
|
|
||||||
* │ │ │ │ │ │ │ │ │RAISE│ │ │ │ │
|
|
||||||
* │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
|
||||||
* └─────┴─────┴─────┴─────┴─────┴─────┘ └─────┴─────┴─────┴─────┴─────┴─────┘
|
|
||||||
*/
|
|
||||||
[_RAISE] = LAYOUT_ortho_4x12_wrapper (
|
|
||||||
KC_MUTE,
|
|
||||||
_______________RAISE_412_L1________________, _______________RAISE_412_R1________________,
|
|
||||||
_______________RAISE_412_L2________________, _______________RAISE_412_R2________________,
|
|
||||||
_______________RAISE_412_L3________________, _______________RAISE_412_R3________________,
|
|
||||||
_________________BLANK_6___________________, _________________BLANK_6___________________
|
|
||||||
),
|
|
||||||
|
|
||||||
|
|
||||||
/* EXTRAS
|
|
||||||
* ┌─────┬─────┬─────┬─────┬─────┬─────┐ ┌─────┬─────┬─────┬─────┬─────┬─────┐
|
|
||||||
* │ │ ! │ │ │ │ │ │ │ /\ | [ | ] | ; │ │
|
|
||||||
* │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
|
||||||
* ├─────┼─────┼─────┼─────╆━━━━━╅─────┤ ├─────╆━━━━━╅─────┼─────┼─────┼─────┤
|
|
||||||
* │SHIFT│ | |EXTRA┃ ┃ │ │ ┃ @ # ┃ & % | | ' | │
|
|
||||||
* │ │ │ │ ┃ ┃ │ │ ┃ ┃ │ │ │ │
|
|
||||||
* ├─────┼─────┼─────┼─────╄━━━━━╃─────┤ ├─────╄━━━━━╃─────┼─────┼─────┼─────┤
|
|
||||||
* │ │ │ │ │ │ │ │ │ │ , | . | ? │ │
|
|
||||||
* │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
|
||||||
* ├─────┼─────┼─────┼─────┼─────┼─────┤ ├─────┼─────┼─────┼─────┼─────┼─────┤
|
|
||||||
* │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
|
||||||
* │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
|
||||||
* └─────┴─────┴─────┴─────┴─────┴─────┘ └─────┴─────┴─────┴─────┴─────┴─────┘
|
|
||||||
*/
|
|
||||||
[_EX] = LAYOUT_ortho_4x12_wrapper (
|
|
||||||
KC_MUTE,
|
|
||||||
______________EXTRAS_412_L1________________, ______________EXTRAS_412_R1________________,
|
|
||||||
______________EXTRAS_412_L2________________, ______________EXTRAS_412_R2________________,
|
|
||||||
______________EXTRAS_412_L3________________, ______________EXTRAS_412_R3________________,
|
|
||||||
______________EXTRAS_412_L4________________, ______________EXTRAS_412_R4________________
|
|
||||||
),
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* FUNCTION
|
|
||||||
* ┌─────┬─────┬─────┬─────┬─────┬─────┐ ┌─────┬─────┬─────┬─────┬─────┬─────┐
|
|
||||||
* │COPY │CLIP │ SS │ │ │ │ │ │ /\ │ UP │ │ │ DEL │
|
|
||||||
* │PASTE│ │ │ │ │ │ │ │ │ │ │ │ │
|
|
||||||
* ├─────┼─────┼─────┼─────╆━━━━━╅─────┤ ├─────╆━━━━━╅─────┼─────┼─────┼─────┤
|
|
||||||
* │TAB │ M05 | M06 | M07 ┃ M08 ┃ │ │ ┃LEFT ┃DOWN │RIGHT│ │UP │
|
|
||||||
* │SHIFT│ │ │ ┃ ┃ │ │ ┃ ┃ │ │ │RIGHT│
|
|
||||||
* ├─────┼─────┼─────┼─────╄━━━━━╃─────┤ ├─────╄━━━━━╃─────┼─────┼─────┼─────┤
|
|
||||||
* │ │ M01 │ M02 │ M03 │ M04 │ │ │ │ │ , | . | ? │DOWN │
|
|
||||||
* │ │ │ │ │ │ │ │ │ │ │ │ │LEFT │
|
|
||||||
* ├─────┼─────┼─────┼─────┼─────┼─────┤ ├─────┼─────┼─────┼─────┼─────┼─────┤
|
|
||||||
* │ │RGB1 │RGB2 │RGB3 │RGB4 │ │ │ │ │ │ │ │ │
|
|
||||||
* │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
|
||||||
* └─────┴─────┴─────┴─────┴─────┴─────┘ └─────┴─────┴─────┴─────┴─────┴─────┘
|
|
||||||
*/
|
|
||||||
[_FN] = LAYOUT_ortho_4x12_wrapper (
|
|
||||||
KC_MUTE,
|
|
||||||
_____________FUNCTION_412_L1_______________, _____________FUNCTION_412_R1_______________,
|
|
||||||
_____________FUNCTION_412_L2_______________, _____________FUNCTION_412_R2_______________,
|
|
||||||
_____________FUNCTION_412_L3_______________, _____________FUNCTION_412_R3_______________,
|
|
||||||
_____________FUNCTION_412_L4_______________, _____________FUNCTION_412_R4_______________
|
|
||||||
),
|
|
||||||
|
|
||||||
|
|
||||||
/* SYMBOLS
|
|
||||||
* ┌─────┬─────┬─────┬─────┬─────┬─────┐ ┌─────┬─────┬─────┬─────┬─────┬─────┐
|
|
||||||
* │ | $ | ^ | < | > │ SYMB│ │ SYMB│ | | [ | ] | - | |
|
|
||||||
* │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
|
||||||
* ├─────┼─────┼─────┼─────╆━━━━━╅─────┤ ├─────╆━━━━━╅─────┼─────┼─────┼─────┤
|
|
||||||
* │ | % | : | ; ┃ + ┃ = │ │ ┃ ┃ ( | ) | _ | |
|
|
||||||
* │ │ │ │ ┃ ┃ │ │ ┃ ┃ │ │ │ │
|
|
||||||
* ├─────┼─────┼─────┼─────╄━━━━━╃─────┤ ├─────╄━━━━━╃─────┼─────┼─────┼─────┤
|
|
||||||
* | | & | ' | " | * | # │ │ ! | ? | / | \ | @ | |
|
|
||||||
* │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
|
||||||
* ├─────┼─────┼─────┼─────┼─────┼─────┤ ├─────┼─────┼─────┼─────┼─────┼─────┤
|
|
||||||
* │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
|
||||||
* │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
|
||||||
* └─────┴─────┴─────┴─────┴─────┴─────┘ └─────┴─────┴─────┴─────┴─────┴─────┘
|
|
||||||
*/
|
|
||||||
|
|
||||||
[_SYMB] = LAYOUT_ortho_4x12_wrapper (
|
|
||||||
KC_MUTE,
|
|
||||||
_______, _____________SYMBOLS_310_L1________________, _____________SYMBOLS_310_R1________________, _______,
|
|
||||||
_______, _____________SYMBOLS_310_L2________________, _____________SYMBOLS_310_R2________________, _______,
|
|
||||||
_______, _____________SYMBOLS_310_L3________________, _____________SYMBOLS_310_R3________________, _______,
|
|
||||||
_________________BLANK_6___________________, _________________BLANK_6___________________
|
|
||||||
)
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
#ifndef NUM_DIRECTIONS
|
|
||||||
# define NUM_DIRECTIONS 2
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(ENCODER_MAP_ENABLE) && defined(KEYBOARD_1upkeyboards_pi40_mit_v1_0)
|
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
|
||||||
[_WM] = { ENCODER_CCW_CW(LCTL(KC_V), LCTL(KC_C)) },
|
|
||||||
[_QW] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
|
||||||
[_LOWER] = { ENCODER_CCW_CW(____, ____) },
|
|
||||||
[_RAISE] = { ENCODER_CCW_CW(____, ____) },
|
|
||||||
[_EX] = { ENCODER_CCW_CW(____, ____) },
|
|
||||||
[_FN] = { ENCODER_CCW_CW(RGB_MOD, RGB_RMOD) },
|
|
||||||
[_SYMB] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }
|
|
||||||
};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef OLED_ENABLE
|
|
||||||
bool oled_task_user(void) {
|
|
||||||
// Host Keyboard Layer Status
|
|
||||||
oled_write_P(PSTR("Layer: "), false);
|
|
||||||
|
|
||||||
switch (get_highest_layer(layer_state)) {
|
|
||||||
case _LOWER:
|
|
||||||
oled_write_P(PSTR("LOWER"), false);
|
|
||||||
break;
|
|
||||||
case _RAISE:
|
|
||||||
oled_write_P(PSTR("RAISE"), false);
|
|
||||||
break;
|
|
||||||
case _EX:
|
|
||||||
oled_write_P(PSTR("EXTRA"), false);
|
|
||||||
break;
|
|
||||||
case _FN:
|
|
||||||
oled_write_P(PSTR("FUNCTION"), false);
|
|
||||||
break;
|
|
||||||
case _WM:
|
|
||||||
oled_write_P(PSTR("WORKMAN"), false);
|
|
||||||
break;
|
|
||||||
case _SYMB:
|
|
||||||
oled_write_P(PSTR("SYMBOLS"), false);
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
// Or use the write_ln shortcut over adding '\n' to the end of your string
|
|
||||||
oled_write_ln_P(PSTR("HOME"), false);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Host Keyboard LED Status
|
|
||||||
// led_t led_state = host_keyboard_led_state();
|
|
||||||
// oled_write_P(led_state.num_lock ? PSTR("NUM ") : PSTR(" "), false);
|
|
||||||
// oled_write_P(led_state.caps_lock ? PSTR("CAP ") : PSTR(" "), false);
|
|
||||||
// oled_write_P(led_state.scroll_lock ? PSTR("SCR ") : PSTR(" "), false);
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
bool get_hold_on_other_key_press(uint16_t keycode, keyrecord_t *record) {
|
|
||||||
switch (keycode) {
|
|
||||||
case SFT_T(KC_A):
|
|
||||||
// Do not force the mod-tap key press to be handled as a modifier
|
|
||||||
// if any other key was pressed while the mod-tap key is held down.
|
|
||||||
return false;
|
|
||||||
case TEX:
|
|
||||||
return false;
|
|
||||||
case CTRLX:
|
|
||||||
return false;
|
|
||||||
case FNZ:
|
|
||||||
return false;
|
|
||||||
case MGUI:
|
|
||||||
return false;
|
|
||||||
case VLOWER:
|
|
||||||
return false;
|
|
||||||
case KRAISE:
|
|
||||||
return false;
|
|
||||||
default:
|
|
||||||
// Force the dual-role key press to be handled as a modifier if any
|
|
||||||
// other key was pressed while the mod-tap key is held down.
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef AUDIO_ENABLE
|
|
||||||
float leader_start_song[][2] = SONG(ONE_UP_SOUND);
|
|
||||||
float leader_succeed_song[][2] = SONG(ALL_STAR);
|
|
||||||
float leader_fail_song[][2] = SONG(RICK_ROLL);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void matrix_scan_user(void);
|
|
||||||
|
|
||||||
void leader_start_user(void) {
|
|
||||||
#ifdef AUDIO_ENABLE
|
|
||||||
PLAY_SONG(leader_start_song);
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
bool did_leader_succeed;
|
|
||||||
|
|
||||||
void leader_end_user(void) {
|
|
||||||
did_leader_succeed = false;
|
|
||||||
|
|
||||||
if (leader_sequence_one_key(KC_E)) {
|
|
||||||
SEND_STRING(SS_LCTL(SS_LSFT("t")));
|
|
||||||
did_leader_succeed = true;
|
|
||||||
} else if (leader_sequence_two_keys(KC_E, KC_D)) {
|
|
||||||
SEND_STRING(SS_LGUI("r") "cmd\n" SS_LCTL("c"));
|
|
||||||
did_leader_succeed = true;
|
|
||||||
} else if (leader_sequence_two_keys(KC_A, KC_T)) {
|
|
||||||
SEND_STRING("@guidehouse.com");
|
|
||||||
did_leader_succeed = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef AUDIO_ENABLE
|
|
||||||
if (did_leader_succeed) {
|
|
||||||
PLAY_SONG(leader_succeed_song);
|
|
||||||
} else {
|
|
||||||
PLAY_SONG(leader_fail_song);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
}
|
|
@ -1,22 +0,0 @@
|
|||||||
# Common feature for all keyboards
|
|
||||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
|
||||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
|
||||||
TAP_DANCE_ENABLE = yes # Tap Dance keys
|
|
||||||
NKRO_ENABLE = yes # Enable N-Key Rollover
|
|
||||||
MACROS_ENABLED = yes
|
|
||||||
|
|
||||||
|
|
||||||
# Keyboard specific
|
|
||||||
AUTO_SHIFT_ENABLE = no
|
|
||||||
CONSOLE_ENABLE = no # Console for debug
|
|
||||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
|
||||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
|
||||||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
|
||||||
AUDIO_ENABLE = no # Audio output
|
|
||||||
MOUSEKEY_ENABLE = no # Mouse keys
|
|
||||||
|
|
||||||
LEADER_ENABLE = yes
|
|
||||||
RGB_MATRIX_ENABLE = yes
|
|
||||||
ENCODER_ENABLE = yes
|
|
||||||
ENCODER_MAP_ENABLE = yes
|
|
||||||
OLED_ENABLE = yes
|
|
@ -1,32 +0,0 @@
|
|||||||
/* Copyright 2021 weteor
|
|
||||||
*
|
|
||||||
* 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/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
// generated from users/manna-harbour_miryoku/miryoku.org -*- buffer-read-only: t -*-
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#define LAYOUT_miryoku( \
|
|
||||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \
|
|
||||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \
|
|
||||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \
|
|
||||||
N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \
|
|
||||||
) \
|
|
||||||
LAYOUT( \
|
|
||||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \
|
|
||||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \
|
|
||||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \
|
|
||||||
K32, K33, K34, K35, K36, K37 \
|
|
||||||
)
|
|
@ -1,17 +0,0 @@
|
|||||||
/* Copyright 2021 weteor
|
|
||||||
*
|
|
||||||
* 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/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
// generated from users/manna-harbour_miryoku/miryoku.org -*- buffer-read-only: t -*-
|
|
@ -1,22 +0,0 @@
|
|||||||
/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
|
|
||||||
*
|
|
||||||
* 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
|
|
||||||
|
|
||||||
#define ANALOG_JOYSTICK_X_AXIS_PIN B4
|
|
||||||
#define ANALOG_JOYSTICK_Y_AXIS_PIN B5
|
|
||||||
|
|
||||||
#define ANALOG_JOYSTICK_CLICK_PIN E6
|
|
@ -1,31 +0,0 @@
|
|||||||
/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
|
|
||||||
*
|
|
||||||
* 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 "drashna.h"
|
|
||||||
#include "analog.h"
|
|
||||||
#include "pointing_device.h"
|
|
||||||
|
|
||||||
#define KC_X0 LT(_FN, KC_ESC)
|
|
||||||
|
|
||||||
// clang-format off
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
||||||
[_QWERTY] = LAYOUT(
|
|
||||||
KC_VOLU, KC_MPLY, KC_MPRV, QK_BOOT,
|
|
||||||
KC_VOLD, KC_MUTE, KC_MNXT, QK_BOOT
|
|
||||||
),
|
|
||||||
|
|
||||||
};
|
|
||||||
// clang-format on
|
|
@ -1,6 +0,0 @@
|
|||||||
POINTING_DEVICE_ENABLE = yes
|
|
||||||
POINTING_DEVICE_DRIVER = analog_joystick
|
|
||||||
RGBLIGHT_ENABLE = no
|
|
||||||
CONSOLE_ENABLE = no
|
|
||||||
|
|
||||||
BOOTLOADER = qmk-dfu
|
|
@ -1,39 +0,0 @@
|
|||||||
/* Copyright 2021 Jonathan Rascher
|
|
||||||
*
|
|
||||||
* 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 "bcat.h"
|
|
||||||
|
|
||||||
#define KY_LOCK LGUI(KC_L) /* Chrome OS: Lock screen */
|
|
||||||
#define KY_MICM LSG(KC_1) /* Meet Shortcuts: Mute mic */
|
|
||||||
#define KY_MICU LSG(KC_2) /* Meet Shortcuts: Unmute mic */
|
|
||||||
#define KY_RHAND LSG(KC_3) /* Meet Shortcuts: Raise/lower hand */
|
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
||||||
// clang-format off
|
|
||||||
[LAYER_DEFAULT] = LAYOUT(
|
|
||||||
KC_MPLY, KC_VOLU, KY_RHAND,
|
|
||||||
KY_LOCK, KC_VOLD, KY_MICU,
|
|
||||||
LY_FN1, KC_MUTE, KY_MICM
|
|
||||||
),
|
|
||||||
[LAYER_FUNCTION_1] = LAYOUT(
|
|
||||||
EE_CLR, _______, QK_BOOT,
|
|
||||||
_______, _______, _______,
|
|
||||||
_______, _______, _______
|
|
||||||
),
|
|
||||||
// clang-format on
|
|
||||||
};
|
|
@ -1,5 +0,0 @@
|
|||||||
# bcat's 9-Key layout
|
|
||||||
|
|
||||||
This is a super simple PCB-mount macropad with nine keys, used on my
|
|
||||||
work-from-home Chromebox for media/volume control and to activate some global
|
|
||||||
shortcuts for Google Meet.
|
|
@ -1,19 +0,0 @@
|
|||||||
// Copyright 2021 Manna Harbour
|
|
||||||
// https://github.com/manna-harbour/miryoku
|
|
||||||
|
|
||||||
// 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
|
|
||||||
|
|
||||||
#define LAYOUT_miryoku( \
|
|
||||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \
|
|
||||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \
|
|
||||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \
|
|
||||||
N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \
|
|
||||||
) \
|
|
||||||
LAYOUT( \
|
|
||||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \
|
|
||||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \
|
|
||||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \
|
|
||||||
K33, K34, K35, K36 \
|
|
||||||
)
|
|
@ -1,4 +0,0 @@
|
|||||||
// Copyright 2019 Manna Harbour
|
|
||||||
// https://github.com/manna-harbour/miryoku
|
|
||||||
|
|
||||||
// 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/>.
|
|
@ -1,4 +0,0 @@
|
|||||||
# Copyright 2021 Manna Harbour
|
|
||||||
# https://github.com/manna-harbour/miryoku
|
|
||||||
|
|
||||||
MIRYOKU_KLUDGE_THUMBCOMBOS=yes
|
|
@ -1,126 +0,0 @@
|
|||||||
# AJP10304 Custom Shark Layout
|
|
||||||
# Also available for the Planck, Quark, JJ40 and Atreus50
|
|
||||||
|
|
||||||
**Note:** In the tables below where there are two characters on a key,
|
|
||||||
the second is the output when shift is applied.
|
|
||||||
|
|
||||||
**Note:** The below tables assume a UK layout.
|
|
||||||
|
|
||||||
#### Flashing
|
|
||||||
Refer to the README.md of the keyboard you want to flash.
|
|
||||||
|
|
||||||
##### Main Qwerty Layer
|
|
||||||
|
|
||||||
* Tab: when held, operates as shift.
|
|
||||||
* Enter: when held, operates as shift.
|
|
||||||
* MENU: perform right-click
|
|
||||||
|
|
||||||
| | | | | | | | | | | | |
|
|
||||||
| ---- |:----:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| ----:|
|
|
||||||
| Esc | Q | W | E | R | T | Y | U | I | O | P | Bksp |
|
|
||||||
| Tab | A | S | D | F | G | H | J | K | L | ;: | Enter|
|
|
||||||
| Shft | Z | X | C | V | B | N | M | ,< | .> | /? | Shft |
|
|
||||||
| Fn | Ctrl | Alt | GUI |Lower | Bksp |Space |Raise | Shift| MENU | Ctrl | Fn2 |
|
|
||||||
|
|
||||||
##### Main Colemak-DHm Layer
|
|
||||||
|
|
||||||
| | | | | | | | | | | | |
|
|
||||||
| ---- |:----:| :---:|:---:|:-----:|:----:|:-----:|:-----:|:-----:|:----:|:----:| ----:|
|
|
||||||
| Esc | Q | W | F | P | B | J | L | U | Y | ;: | Bksp |
|
|
||||||
| Tab | A | R | S | T | G | M | N | E | I | O | Enter|
|
|
||||||
| Shft | Z | X | C | D | V | K | H | ,< | .> | /? | Shft |
|
|
||||||
| Fn | Ctrl | Alt | GUI | Lower | Bksp | Space | Raise | Shift | MENU | Ctrl | Fn2 |
|
|
||||||
|
|
||||||
##### Function Layer
|
|
||||||
Activated when `fn` held in the above `qwerty` layer.
|
|
||||||
|
|
||||||
| | | | | | | | | | | | |
|
|
||||||
| :---: |:----:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:|
|
|
||||||
| F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 |
|
|
||||||
| 1! | 2" | 3£ | 4$ | 5% | 6^ | 7& | 8* | 9( | 0) | ~ |INSERT|
|
|
||||||
| Shift | \| | `¬ | #~ | * | -_ | =+ | \| | [{ | ]} | '@ |Shift |
|
|
||||||
| Fn | Ctrl | Alt | GUI |Lower | Bksp |Space |Mouse | MENU | Alt | Ctrl | Fn2 |
|
|
||||||
|
|
||||||
##### Lower Layer
|
|
||||||
Activated when `Lower` is held in the above `qwerty` layer.
|
|
||||||
|
|
||||||
* Numbers are along the top row, their shifted counterparts are on row 2.
|
|
||||||
* WrdBks: `backspace` with `ctrl` applied. I.e. delete a word.
|
|
||||||
* WrdDel: `delete` with `ctrl` applied. I.e. forward delete a word.
|
|
||||||
|
|
||||||
| | | | | | | | | | | | |
|
|
||||||
| :---: |:----:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:|
|
|
||||||
| 1! | 2" | 3£ | 4$ | 5% | 6^ | 7& | 8* | 9( | 0) | DEL | Bksp |
|
|
||||||
| ! | " | £ | $ | % | ^ | & | * | ( | ) |WrdDel|WrdBks|
|
|
||||||
| Shift | \| | `¬ | #~ | '@ | -_ | =+ | #~ | [{ | ]} | '@ |Shift |
|
|
||||||
| | | | |Lower | Del |Space | | Next | Vol- | Vol+ | Play |
|
|
||||||
|
|
||||||
##### Raise Layer
|
|
||||||
Activated when `Raise` is held in the above `qwerty` layer.
|
|
||||||
|
|
||||||
* Preferred layer for typing brackets.
|
|
||||||
* Allows for cursor navigation to be used solely with the right hand.
|
|
||||||
* WRDSEL: Select the word where the cursor is.
|
|
||||||
* |< and >|: Apply `ctrl` to `left` and `right` respectively for word jumping.
|
|
||||||
|
|
||||||
| | | | | | | | | | | | |
|
|
||||||
| :---: |:----:| :---:| :---:| :---:| :---:| :---: | :---:| :---:| :---:| :---: | :---:|
|
|
||||||
| ` | |WRDSEL| [ | ] | | | PGUP | HOME |PGDOWN| |PRNTSC|
|
|
||||||
| ` | | | ( | ) | | | HOME | UP | END | |ZOOM +|
|
|
||||||
| | | | { | } | ||<| LEFT | DOWN |RIGHT |>||ZOOM -|
|
|
||||||
| Mouse | | | | | Alt | Enter |Raise | | | | |
|
|
||||||
|
|
||||||
##### Lower + Raise
|
|
||||||
Activated when `Lower` and `Raise` are held together in the above `qwerty` layer.
|
|
||||||
|
|
||||||
* Audio controls in the same position as cursor keys from the `Raise` layer.
|
|
||||||
* ????: Runs a macro for outputting a text string. Do not use this store passwords.
|
|
||||||
* Reset: Enter bootloader for flashing firmware to the keyboard.
|
|
||||||
* CAPS: Toggle caps lock.
|
|
||||||
* Macro functions: Allows recording of macros. To start recording the macro, press either REC1 or REC2.
|
|
||||||
To finish the recording, press STOP. To replay the macro, press either PLAY1 or PLAY2.
|
|
||||||
* MAC: Toggle MAC OS extensions to layers. This allows MLWR to be enabled with LOWER,
|
|
||||||
MRSE with RAISE, MFNC with FUNC and MFNC2 with FUNC2 respectively.
|
|
||||||
|
|
||||||
| | | | | | | | | | | | |
|
|
||||||
| :---: |:----:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:|:-------:|
|
|
||||||
| ???? | Reset|Qwerty| | | REC1 | REC2 | | | | | Del |
|
|
||||||
| CAPS | | | | | PLAY1|PLAY2 | Mute | Vol+ | Play | | Qwerty |
|
|
||||||
| MAC | | | | | STOP1|STOP2 | Prev | Vol- | Next | | Colemak |
|
|
||||||
| | | | | | | | | DYN | | | |
|
|
||||||
|
|
||||||
##### Function 2 Layer
|
|
||||||
Activated when `fn` held in the above `qwerty` layer.
|
|
||||||
* WRDSEL: Select the word where the cursor is.
|
|
||||||
* LNDEL: Delete the line where the cursor is.
|
|
||||||
* LNSEL: Select the line where the cursor is.
|
|
||||||
* DUP: Duplicate the selected text.
|
|
||||||
* LNJOIN: Join the line where the cursor is with the following line.
|
|
||||||
* MODE: Print either `PC` or `OSX` depending on what layer mode is active.
|
|
||||||
|
|
||||||
| | | | | | | | | | | | |
|
|
||||||
| :---: | :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:|
|
|
||||||
| | |WRDSEL| | | | LNDEL| | | | | |
|
|
||||||
| | | LNSEL| DUP | | | | |LNJOIN| | | |
|
|
||||||
| | UNDO | CUT | COPY | PASTE| | | | | | | MODE |
|
|
||||||
| | | | | | | | | | | | |
|
|
||||||
|
|
||||||
##### Mouse Layer
|
|
||||||
Activated when `fn` and `raise` held together.
|
|
||||||
|
|
||||||
| | | | | | | | | | | | |
|
|
||||||
| :---: | :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:|
|
|
||||||
| ESC | | | | | | W_L | W_UP | BTN3 | W_DWN| W_R | |
|
|
||||||
| ACC0 | ACC1 | ACC2 | | | | | BTN1 | UP | BTN2 | | |
|
|
||||||
| ACC0 | ACC1 | ACC2 | | | | | LEFT | DOWN | RIGHT| | |
|
|
||||||
| | | | | | | | | | | | |
|
|
||||||
|
|
||||||
##### Number Pad Layout
|
|
||||||
Activated when holding `Esc` key.
|
|
||||||
|
|
||||||
| | | | | | | | | | | | |
|
|
||||||
| :---: | :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:|
|
|
||||||
| | | | | | |NMLOCK| 7 | 8 | 9 | / | |
|
|
||||||
| | | | | | | | 4 | 5 | 6 | * | |
|
|
||||||
| | | | | | | | 1 | 2 | 3 | + | |
|
|
||||||
| | | | | | | | 0 | . | , | - | |
|
|
@ -1,7 +0,0 @@
|
|||||||
// Copyright 2023 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
|
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 64
|
|
||||||
#define TAPPING_TERM 499
|
|
@ -1,100 +0,0 @@
|
|||||||
// Copyright 2023 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
|
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
||||||
|
|
||||||
#include "drashna.h"
|
|
||||||
|
|
||||||
// clang-format off
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
||||||
[0] = LAYOUT(
|
|
||||||
LT(1,KC_MUTE),
|
|
||||||
KC_ENT, KC_0, KC_BSPC,
|
|
||||||
KC_7, KC_8, KC_9,
|
|
||||||
KC_4, KC_5, KC_6,
|
|
||||||
KC_1, KC_2, KC_3
|
|
||||||
),
|
|
||||||
[1] = LAYOUT(
|
|
||||||
_______,
|
|
||||||
CK_TOGG, AU_TOGG, _______,
|
|
||||||
_______, _______, _______,
|
|
||||||
_______, _______, _______,
|
|
||||||
_______, _______, _______
|
|
||||||
),
|
|
||||||
};
|
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
#ifdef ENCODER_MAP_ENABLE
|
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
|
||||||
[0] = {ENCODER_CCW_CW(KC_VOLD, KC_VOLU)},
|
|
||||||
[1] = {ENCODER_CCW_CW(RGB_RMOD, RGB_MOD)},
|
|
||||||
};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void render_oled_title(bool side) {
|
|
||||||
oled_write_P(PSTR(" Macropad "), true);
|
|
||||||
}
|
|
||||||
|
|
||||||
void render_rgb_mode(uint8_t col, uint8_t line);
|
|
||||||
|
|
||||||
void l_render_keylock_status(led_t led_usb_state, uint8_t col, uint8_t line) {
|
|
||||||
oled_set_cursor(col, line);
|
|
||||||
#ifdef CAPS_WORD_ENABLE
|
|
||||||
led_usb_state.caps_lock |= is_caps_word_on();
|
|
||||||
#endif
|
|
||||||
oled_write_P(PSTR(OLED_RENDER_LOCK_NUML), led_usb_state.num_lock);
|
|
||||||
oled_write_P(PSTR(" "), false);
|
|
||||||
oled_write_P(PSTR(OLED_RENDER_LOCK_CAPS), led_usb_state.caps_lock);
|
|
||||||
oled_write_P(PSTR(" "), false);
|
|
||||||
oled_write_P(PSTR(OLED_RENDER_LOCK_SCLK), led_usb_state.scroll_lock);
|
|
||||||
}
|
|
||||||
|
|
||||||
bool oled_task_keymap(void) {
|
|
||||||
oled_write_raw_P(header_image, sizeof(header_image));
|
|
||||||
oled_set_cursor(0, 1);
|
|
||||||
oled_write_raw_P(row_2_image, sizeof(row_2_image));
|
|
||||||
oled_set_cursor(4, 0);
|
|
||||||
render_oled_title(false);
|
|
||||||
|
|
||||||
render_kitty(0, 2);
|
|
||||||
render_matrix_scan_rate(1, 7, 2);
|
|
||||||
|
|
||||||
#ifdef AUDIO_ENABLE
|
|
||||||
oled_set_cursor(7, 4);
|
|
||||||
bool l_is_audio_on = is_audio_on();
|
|
||||||
|
|
||||||
static const char PROGMEM audio_status[2][3] = {{0xE0, 0xE1, 0}, {0xE2, 0xE3, 0}};
|
|
||||||
oled_write_P(audio_status[l_is_audio_on], false);
|
|
||||||
|
|
||||||
# ifdef AUDIO_CLICKY
|
|
||||||
bool l_is_clicky_on = is_clicky_on();
|
|
||||||
static const char PROGMEM audio_clicky_status[2][3] = {{0xF4, 0xF5, 0}, {0xF6, 0xF7, 0}};
|
|
||||||
oled_write_P(audio_clicky_status[l_is_clicky_on && l_is_audio_on], false);
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static const char PROGMEM cat_mode[3] = {0xF8, 0xF9, 0};
|
|
||||||
oled_write_P(cat_mode, get_keyboard_lock());
|
|
||||||
|
|
||||||
#ifdef RGB_MATIRX_ENABLE
|
|
||||||
static const char PROGMEM rgb_layer_status[2][3] = {{0xEE, 0xEF, 0}, {0xF0, 0xF1, 0}};
|
|
||||||
oled_write_P(rgb_layer_status[rgb_matrix_is_enabled()], false);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAPTIC_ENABLE
|
|
||||||
static const char PROGMEM nukem_good[2] = {0xFA, 0};
|
|
||||||
oled_write_P(haptic_get_enable() ? nukem_good : PSTR(" "), false);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
l_render_keylock_status(host_keyboard_led_state(), 7, 5);
|
|
||||||
render_rgb_mode(1, 6);
|
|
||||||
|
|
||||||
for (uint8_t i = 1; i < 7; i++) {
|
|
||||||
oled_set_cursor(0, i);
|
|
||||||
oled_write_raw_P(display_border, sizeof(display_border));
|
|
||||||
oled_set_cursor(21, i);
|
|
||||||
oled_write_raw_P(display_border, sizeof(display_border));
|
|
||||||
}
|
|
||||||
oled_set_cursor(0, 7);
|
|
||||||
oled_write_raw_P(footer_image, sizeof(footer_image));
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
ENCODER_MAP_ENABLE = yes
|
|
||||||
DEBUG_MATRIX_SCAN_RATE_ENABLE = api
|
|
||||||
WPM_ENABLE = yes
|
|
@ -1,98 +0,0 @@
|
|||||||
// Copyright 2023 Peter.Falken (@PeterFalken)
|
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
||||||
|
|
||||||
#include "peterfalken.h"
|
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
||||||
[0] = LAYOUT(
|
|
||||||
KC_MUTE,
|
|
||||||
KC_7, KC_8, KC_9,
|
|
||||||
KC_4, KC_5, KC_6,
|
|
||||||
KC_1, KC_2, KC_3,
|
|
||||||
KC_ENT, KC_0, KC_BSPC
|
|
||||||
)
|
|
||||||
};
|
|
||||||
|
|
||||||
#ifdef ENCODER_MAP_ENABLE
|
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
|
||||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
|
||||||
};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef OLED_ENABLE
|
|
||||||
static void render_qmk_logo(void) {
|
|
||||||
static const char PROGMEM qmk_logo[] = {
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x3f, 0x3f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3e, 0x3f, 0x3e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f,
|
|
||||||
0x3f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x03, 0x83, 0x83, 0x83, 0x83, 0x83, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0xfe,
|
|
||||||
0xfe, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0xfe, 0xfe, 0xfe, 0xfe, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x83, 0x83, 0x83, 0x83, 0x83, 0x03,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x81, 0x83, 0x83, 0x83, 0x83, 0x83, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff,
|
|
||||||
0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x83, 0x83, 0x83, 0x83, 0x83, 0x81,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x01, 0x07, 0x1f, 0x3f, 0x7f, 0x7e, 0xf8, 0xf0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xff, 0xff,
|
|
||||||
0xff, 0xff, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xf0, 0xf8, 0x7e, 0x7f, 0x3f, 0x1f, 0x07, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0xc0, 0xc1, 0xc1, 0xc1, 0xc1, 0xc1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0xff, 0xff,
|
|
||||||
0xff, 0xff, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc1, 0xc1, 0xc1, 0xc1, 0xc1, 0xc0,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0xfc, 0xfc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7c, 0xfc, 0x7c, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc,
|
|
||||||
0xfc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0x7c, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0xfc,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
|
||||||
};
|
|
||||||
|
|
||||||
oled_write_raw_P(qmk_logo, sizeof(qmk_logo));
|
|
||||||
}
|
|
||||||
|
|
||||||
bool oled_task_user(void) {
|
|
||||||
render_qmk_logo();
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
#endif // OLED_ENABLE
|
|
@ -1,3 +0,0 @@
|
|||||||
# Setup QMK features
|
|
||||||
ENCODER_MAP_ENABLE = yes
|
|
||||||
RGB_MATRIX_ENABLE = no # Disable RGB key matrix
|
|
@ -1,23 +0,0 @@
|
|||||||
// Copyright 2022 ZyBeR (@ZyberSE)
|
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
|
||||||
|
|
||||||
#include "zyber.h"
|
|
||||||
|
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
||||||
[0] = LAYOUT( /* Base */
|
|
||||||
KC_ESC, KC_1, KC_2, KC_3, TD(SSHT), KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, KC_PGUP,
|
|
||||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, TD(LBRC), KC_RBRC, KC_BSLS, KC_PGDN,
|
|
||||||
L1_EXPL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, TD(SCLN), TD(QUOT), KC_ENT, KC_DEL,
|
|
||||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, MO(1),
|
|
||||||
KC_LCTL, ROPT_SRH,KC_LCMD, _______, LCMD_T(KC_SPC), _______, ROPT_SRH, KC_GRV, KC_LEFT, KC_DOWN, KC_RGHT
|
|
||||||
),
|
|
||||||
[1] = LAYOUT( /* FN */
|
|
||||||
QK_BOOT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_DEL, KC_PAUS,
|
|
||||||
C_BLK, _______, KC_UP, _______, _______, _______, KC_NUM, KC_P7, KC_P8, KC_P9, KC_MPRV, KC_MPLY, KC_MNXT, _______, KC_SCRL,
|
|
||||||
_______, KC_LEFT, KC_DOWN, KC_RGHT, _______, KC_VOLD, KC_VOLU, KC_P4, KC_P5, KC_P6, _______, _______, _______, _______,
|
|
||||||
_______, KC_RCTL, KC_RGUI, KC_RALT, _______, _______, KC_P0, KC_P1, KC_P2, KC_P3, _______, _______, KC_PGUP, _______,
|
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END
|
|
||||||
)
|
|
||||||
};
|
|
||||||
|
|
@ -1,51 +0,0 @@
|
|||||||
#include QMK_KEYBOARD_H
|
|
||||||
|
|
||||||
enum layer_names {
|
|
||||||
HOME,
|
|
||||||
MODS,
|
|
||||||
MODS2,
|
|
||||||
OTHER,
|
|
||||||
};
|
|
||||||
|
|
||||||
enum custom_keycodes {
|
|
||||||
MACRO1 = SAFE_RANGE
|
|
||||||
};
|
|
||||||
|
|
||||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|
||||||
if (record->event.pressed) {
|
|
||||||
switch (keycode) {
|
|
||||||
case MACRO1:
|
|
||||||
SEND_STRING("I'm so sorry... -PyroL");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
};
|
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
||||||
[HOME] = LAYOUT(
|
|
||||||
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, MT(MOD_LCTL,KC_P),
|
|
||||||
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, MT(MOD_LSFT,KC_ENT),
|
|
||||||
KC_Z, KC_X, KC_C, LT(MODS2,KC_V), LT(MODS, KC_SPC), LT(OTHER,KC_B), KC_N, KC_M),
|
|
||||||
|
|
||||||
[MODS] = LAYOUT(
|
|
||||||
KC_TAB, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_BSPC,
|
|
||||||
KC_LSFT, KC_ESC, _______, KC_SCLN, KC_QUOT, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______,
|
|
||||||
KC_LCTL, KC_LGUI, KC_LALT, _______, _______, KC_COMM, KC_DOT, KC_SLSH),
|
|
||||||
|
|
||||||
[MODS2] = LAYOUT(
|
|
||||||
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,
|
|
||||||
KC_LSFT, KC_ESC, _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, KC_GRV, _______,
|
|
||||||
RGB_VAI, RGB_VAD, RGB_HUI, _______, _______, KC_MPLY, KC_VOLD, KC_VOLU),
|
|
||||||
|
|
||||||
[OTHER] = LAYOUT(
|
|
||||||
KC_ESC, QK_BOOT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_DEL,
|
|
||||||
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, _______,
|
|
||||||
KC_F10, KC_F11, KC_F12, _______, _______, KC_NO, KC_NO, KC_NO),
|
|
||||||
};
|
|
||||||
|
|
||||||
void matrix_init_user(void) {
|
|
||||||
}
|
|
||||||
|
|
||||||
void matrix_scan_user(void) {
|
|
||||||
}
|
|
@ -1,26 +0,0 @@
|
|||||||
#include QMK_KEYBOARD_H
|
|
||||||
#include "mechmerlin.h"
|
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
||||||
/* 0: qwerty */
|
|
||||||
[_BL] = LAYOUT_infinity(
|
|
||||||
QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC,
|
|
||||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
|
|
||||||
KC_CTCP, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, 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, TG(_AL),
|
|
||||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(_FL), KC_RALT, KC_RGUI, KC_RCTL),
|
|
||||||
|
|
||||||
[_FL] = LAYOUT_infinity(
|
|
||||||
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_DEL,
|
|
||||||
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_TRNS, KC_TRNS,
|
|
||||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MUTE, KC_VOLD, KC_VOLU, KC_TRNS, KC_TRNS, KC_TRNS,
|
|
||||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
|
|
||||||
|
|
||||||
[_AL] = LAYOUT_infinity(
|
|
||||||
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_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_TRNS, KC_TRNS, KC_TRNS, RSFT_T(KC_UP), KC_TRNS,
|
|
||||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_RIGHT),
|
|
||||||
};
|
|
@ -1,10 +0,0 @@
|
|||||||
# MechMerlin Alps64 Infinity Keymap
|
|
||||||
|
|
||||||
This is the 60% infinity layout used by u/merlin36, host of the [MechMerlin](www.youtube.com/mechmerlin)
|
|
||||||
YouTube channel.
|
|
||||||
|
|
||||||
## Keymap Notes
|
|
||||||
- `Caps Lock` can be held to act as a `Left Control`
|
|
||||||
|
|
||||||
### Build
|
|
||||||
To build the firmware file associated with this keymap, simply run `make alps64:mechmerlin`.
|
|
@ -1,33 +0,0 @@
|
|||||||
// Copyright 2022 ZyBeR (@ZyberSE)
|
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
|
||||||
|
|
||||||
#include "zyber.h"
|
|
||||||
|
|
||||||
enum keyboard_layers {
|
|
||||||
_BL = 0,
|
|
||||||
_FL
|
|
||||||
};
|
|
||||||
|
|
||||||
// Custom #defined keycodes (shorter macros for readability)
|
|
||||||
#define KC_CTES CTL_T(KC_ESC)
|
|
||||||
#define KC_RSUP RSFT_T(KC_UP)
|
|
||||||
#define KC_FNDN LT(_FL, KC_DOWN)
|
|
||||||
#define KC_RGLT RCMD_T(KC_LEFT)
|
|
||||||
#define KC_RCRT RCTL_T(KC_RIGHT)
|
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
||||||
[_BL] = LAYOUT_aek_103(
|
|
||||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
|
|
||||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, TD(LBRC), KC_RBRC, KC_BSLS,
|
|
||||||
CTRL_C_UP, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, TD(SCLN), TD(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_RSUP,
|
|
||||||
MO(_FL), KC_LALT, KC_LGUI, KC_SPC, KC_RGLT, KC_FNDN, KC_RCRT
|
|
||||||
),
|
|
||||||
[_FL] = LAYOUT_aek_103(
|
|
||||||
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL,
|
|
||||||
_______, KC_HOME, KC_UP, KC_END, _______, _______, _______, _______, KC_MUTE, _______, _______, KC_PGDN, KC_PGUP, _______,
|
|
||||||
_______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_SCRL, KC_VOLD, KC_VOLU, KC_PAUS, _______, _______, _______,
|
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
|
||||||
_______, _______, _______, QK_BOOT, _______, _______, _______
|
|
||||||
)
|
|
||||||
};
|
|
@ -1,50 +0,0 @@
|
|||||||
/* Copyright 2021 Stanrc85
|
|
||||||
*
|
|
||||||
* 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 "stanrc85.h"
|
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
||||||
[_QWERTY] = LAYOUT(
|
|
||||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, KC_PGUP,
|
|
||||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGDN,
|
|
||||||
KC_CTLE, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, MO(_FN2_60),
|
|
||||||
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_UP,
|
|
||||||
KC_LCTL, KC_LALT, LT_BPCF, KC_LGUI, LT_SPCF, TD_TWIN, KC_LEFT, KC_DOWN, KC_RGHT
|
|
||||||
),
|
|
||||||
|
|
||||||
[_DEFAULT] = LAYOUT(
|
|
||||||
QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, KC_PGUP,
|
|
||||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, KC_PGDN,
|
|
||||||
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_ENT, MO(_FN2_60),
|
|
||||||
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_UP,
|
|
||||||
KC_LCTL, KC_LALT, KC_SPC, MO(_FN1_60), KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT
|
|
||||||
),
|
|
||||||
|
|
||||||
[_FN1_60] = LAYOUT(
|
|
||||||
KC_TILD, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_DEL, _______,
|
|
||||||
_______, _______, CA_QUOT, _______, CA_SCLN, KC_VOLU, KC_PGUP, KC_BSPC, KC_UP, KC_DEL, KC_PSCR, _______, _______, KC_INS, _______,
|
|
||||||
KC_CAPS, _______, _______, KC_LCTL, KC_LSFT, KC_VOLD, KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______,
|
|
||||||
_______, KC_RDP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, _______
|
|
||||||
),
|
|
||||||
[_FN2_60] = LAYOUT(
|
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, _______,
|
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MAKE, _______,
|
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, TG(_DEFAULT)
|
|
||||||
)
|
|
||||||
};
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user