Remove userspace keymaps (#22544)
This commit is contained in:
parent
4908d4b1ca
commit
1ed03f498f
2738 changed files with 0 additions and 207314 deletions
|
@ -1,27 +0,0 @@
|
|||
/*
|
||||
This is the c configuration file for the keymap
|
||||
|
||||
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
||||
Copyright 2015 Jack Humbert
|
||||
|
||||
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
|
||||
|
||||
/* Select hand configuration */
|
||||
|
||||
#define MASTER_LEFT
|
||||
// #define MASTER_RIGHT
|
||||
// #define EE_HANDS
|
|
@ -1,60 +0,0 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
#include "ibnuda.h"
|
||||
|
||||
#define TAB KC_TAB
|
||||
#define GUI KC_LGUI
|
||||
#define MIN KC_MINS
|
||||
#define SLS KC_SLSH
|
||||
#define CTL KC_LCTL
|
||||
#define DEL KC_DEL
|
||||
#define QUE KC_QUES
|
||||
#define ___ KC_NO
|
||||
|
||||
// clang-format off
|
||||
#define LAYOUT_dm_base( \
|
||||
K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, \
|
||||
K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, \
|
||||
K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, \
|
||||
KTA, KTB, KTC, KTD, KTE, KTF \
|
||||
) \
|
||||
LAYOUT_wrapper( \
|
||||
K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, \
|
||||
K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, \
|
||||
K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, \
|
||||
TAB, KTA, KTF, SLS, \
|
||||
KTB, KTC, KTD, KTE, \
|
||||
CTL, DEL, QUE, CTL, \
|
||||
___, ___, ___, ___ \
|
||||
)
|
||||
|
||||
#define LAYOUT_dm_base_wrapper(...) LAYOUT_dm_base(__VA_ARGS__)
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[_BASE] = LAYOUT_dm_base_wrapper(
|
||||
LUP, LUR, LUM, LUI, LUII, RUII, RUI, RUM, RUR, RUP,
|
||||
SHLP, CTLR, ALLM, LMI, GULII, GURII, RMI, ALRM, CTRR, SHRP,
|
||||
LLP, LLR, LLM, LLI, LLII, RLII, RLI, RLM, RLR, RLP,
|
||||
CT_ESC, LW_E, SF_BSPC, AL_ENT, RS_SPC, TRAISE
|
||||
),
|
||||
|
||||
[_RAISE] = LAYOUT_dm_base_wrapper(
|
||||
KC_EXLM,KC_AT, KC_UP, KC_LCBR,KC_RCBR, KC_BSLS,KC_7, KC_8, KC_9, KC_ASTR ,
|
||||
KC_HASH,CT_LEFT,AL_DOWN,KC_RGHT,KC_DLR, GU_EQL, KC_4, AL_FIVE,CT_SIX, SH_ZERO ,
|
||||
KC_LBRC,KC_RBRC,KC_LPRN,KC_RPRN,KC_AMPR, KC_GRV, KC_1, KC_2, KC_3, KC_PLUS ,
|
||||
_______,ADDDD ,_______, _______,RS_SPC, _______
|
||||
),
|
||||
[_LOWER] = LAYOUT_dm_base_wrapper(
|
||||
KC_ESC, KC_QUES,KC_UNDS,KC_F1, KC_F2, KC_F3, KC_F4, KC_MINS,KC_SLSH,KC_BSPC ,
|
||||
KC_LSFT,KC_PSCR,KC_PGUP,KC_F5, KC_F6, KC_F7, KC_F8, KC_HOME,KC_LALT,KC_ENT ,
|
||||
KC_CAPS,KC_SCRL,KC_PGDN,KC_F9, KC_F10, KC_F11, KC_F12, KC_END, KC_INS, KC_SLSH ,
|
||||
_______,_______,_______, _______,ADDDD, _______
|
||||
),
|
||||
[_ADJUST] = LAYOUT_dm_base_wrapper(
|
||||
_______,EXPLR, KC_UP, PRVTAB, PRVWIN, NXTWIN, NXTTAB, _______,_______,LCKGUI,
|
||||
TSKMGR, KC_LEFT,KC_DOWN,KC_RGHT,UPTAB, DNTAB, KC_ENT, KC_LGUI,_______,CALDL,
|
||||
_______,CLSGUI, _______,CONPST, QK_BOOT, _______,_______,_______,_______,_______,
|
||||
_______,_______,_______, _______,_______,_______
|
||||
),};
|
||||
// clang-format on
|
||||
|
|
@ -1,24 +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/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
#define XXX KC_NO
|
||||
|
||||
#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,\
|
||||
XXX, XXX, XXX, XXX, \
|
||||
K32, K33, K36, K37, \
|
||||
K34, XXX, XXX, K35, \
|
||||
XXX, XXX, XXX, XXX \
|
||||
)
|
|
@ -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,24 +0,0 @@
|
|||
// Copyright 2022 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 XXX KC_NO
|
||||
|
||||
#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( \
|
||||
XXX, K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, XXX, \
|
||||
XXX, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, XXX, \
|
||||
XXX, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, XXX, \
|
||||
XXX, XXX, XXX, XXX, \
|
||||
K32, K33, K36, K37, \
|
||||
K34, XXX, XXX, K35, \
|
||||
XXX, XXX, XXX, XXX \
|
||||
)
|
|
@ -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,8 +0,0 @@
|
|||
#### compile with
|
||||
|
||||
`make handwired/dactyl_manuform/4x6:scheikled`
|
||||
|
||||
|
||||
#### flash with
|
||||
|
||||
`qmk flash -kb handwired/dactyl_manuform/4x6 -km scheikled`
|
|
@ -1,60 +0,0 @@
|
|||
// Copyright 2021 Paul Maria Scheikl (@ScheiklP)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#define USE_I2C
|
||||
|
||||
#define SPLIT_HAND_PIN F6
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#undef WS2812_DI_PIN
|
||||
#undef RGBLED_NUM
|
||||
#define WS2812_DI_PIN F4
|
||||
#define RGBLED_NUM 52
|
||||
#define RGBLED_SPLIT {26, 26}
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_SNAKE
|
||||
|
||||
// Amoeba royale PCBs (https://github.com/mtl/keyboard-pcbs/tree/master/amoeba-royale) use row to column layout (current can flow from row pin to column pin).
|
||||
#undef DIODE_DIRECTION
|
||||
#define DIODE_DIRECTION ROW2COL
|
||||
|
||||
#define DEBOUNCE 5
|
||||
|
||||
#define AUTO_SHIFT_TIMEOUT 100
|
||||
#define NO_AUTO_SHIFT_SPECIAL
|
||||
#define NO_AUTO_SHIFT_NUMERIC
|
||||
|
||||
// require two taps for a TT layer switch (default 5)
|
||||
#define TAPPING_TOGGLE 2
|
||||
|
||||
// Mouse control
|
||||
// constant mode (velocity)
|
||||
#define MK_3_SPEED
|
||||
// KC_ACL0 < KC_ACL1 < unmodified < KC_ACL2
|
||||
|
||||
// Cursor offset per movement (unmodified)
|
||||
#define MK_C_OFFSET_UNMOD 16
|
||||
// Time between cursor movements (unmodified)
|
||||
#define MK_C_INTERVAL_UNMOD 10
|
||||
/* #define MK_C_INTERVAL_UNMOD 16 */
|
||||
|
||||
// Cursor offset per movement (KC_ACL0)
|
||||
#define MK_C_OFFSET_0 1
|
||||
// Time between cursor movements (KC_ACL0)
|
||||
#define MK_C_INTERVAL_0 32
|
||||
|
||||
// Cursor offset per movement (KC_ACL1)
|
||||
#define MK_C_OFFSET_1 4
|
||||
// Time between cursor movements (KC_ACL1)
|
||||
#define MK_C_INTERVAL_1 16
|
||||
|
||||
// Cursor offset per movement (KC_ACL2)
|
||||
#define MK_C_OFFSET_2 20
|
||||
/* #define MK_C_OFFSET_2 32 */
|
||||
// Time between cursor movements (KC_ACL2)
|
||||
#define MK_C_INTERVAL_2 16
|
|
@ -1,63 +0,0 @@
|
|||
// Copyright 2021 Paul Maria Scheikl (@ScheiklP)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/* A K.O,Y layout for the Dactyl Manuform 4x6 Keyboard */
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "koy_keys_on_quertz_de_latin1.h"
|
||||
|
||||
enum custom_layers {
|
||||
_1,
|
||||
_3,
|
||||
_4,
|
||||
_7,
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[_1] = LAYOUT(
|
||||
KC_TAB , KC_K , KC_DOT , KC_O , KC_COMM , N_Y , KC_V , KC_G , KC_C , KC_L , N_SS , N_Z ,
|
||||
MO(_3) , KC_H , KC_A , KC_E , KC_I , KC_U , KC_D , KC_T , KC_R , KC_N , KC_S , KC_F ,
|
||||
KC_LSFT , KC_X , KC_Q , N_AE , N_UE , N_OE , KC_B , KC_P , KC_W , KC_M , KC_J , KC_RSFT ,
|
||||
KC_LCTL , KC_LGUI , KC_CAPS , TT(_7) ,
|
||||
KC_LALT , KC_SPC , MO(_3) , MO(_4) ,
|
||||
N_COPY , N_CUT , KC_ESC , KC_ENTER ,
|
||||
N_PASTE , N_UNDO , KC_BSPC , KC_DEL
|
||||
),
|
||||
|
||||
[_3] = LAYOUT(
|
||||
|
||||
KC_TAB , N_DOTS , N_USC , N_LSQBR , N_RSQBR , N_CIRC , N_EXKL , N_LT , N_GT , N_EQ , N_AMP , N_ACUT ,
|
||||
KC_TRNS , N_BSLS , N_SLSH , N_LCUBR , N_RCUBR , N_ASTR , N_QUES , N_LPARN , N_RPARN , N_MINS , N_COLN , N_AT ,
|
||||
KC_LSFT , N_HASH , N_DLR , N_PIPE , N_TILD , N_GRAVE , N_PLUS , N_PERC , N_QUOT , N_SING , N_SEMI , KC_RSFT ,
|
||||
KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS ,
|
||||
KC_LALT , KC_SPC , KC_TRNS , KC_TRNS ,
|
||||
N_COPY , N_CUT , KC_ESC , KC_ENTER ,
|
||||
N_PASTE , N_UNDO , KC_BSPC , KC_DEL
|
||||
|
||||
),
|
||||
|
||||
[_4] = LAYOUT(
|
||||
|
||||
KC_TAB , KC_PGUP , KC_BSPC , KC_UP , KC_DEL , KC_PGDN , KC_KP_SLASH , KC_7 , KC_8 , KC_9 , KC_KP_MINUS , KC_TRNS ,
|
||||
KC_TRNS , KC_HOME , KC_LEFT , KC_DOWN , KC_RIGHT , KC_END , KC_KP_ASTERISK , KC_4 , KC_5 , KC_6 , KC_KP_PLUS , KC_TRNS ,
|
||||
KC_LSFT , KC_ESC , KC_TAB , KC_INS , KC_ENTER , N_UNDO , KC_KP_ENTER , KC_1 , KC_2 , KC_3 , KC_KP_DOT , KC_RSFT ,
|
||||
KC_TRNS , KC_TRNS , KC_0 , KC_TRNS ,
|
||||
KC_LALT , KC_0 , KC_TRNS , KC_TRNS ,
|
||||
N_COPY , N_CUT , KC_ESC , KC_ENTER ,
|
||||
N_PASTE , N_UNDO , KC_BSPC , KC_DEL
|
||||
|
||||
),
|
||||
|
||||
[_7] = LAYOUT(
|
||||
|
||||
KC_TAB , KC_MS_WH_UP , KC_MS_BTN2 , KC_MS_UP , KC_MS_BTN1 , KC_MS_WH_DOWN , KC_TRNS , KC_F7 , KC_F8 , KC_F9 , RGB_HUI , QK_BOOT ,
|
||||
KC_TRNS , KC_MS_ACCEL0 , KC_MS_LEFT , KC_MS_DOWN , KC_MS_RIGHT , KC_TRNS , KC_TRNS , KC_F4 , KC_F5 , KC_F6 , RGB_SAI , RGB_TOG ,
|
||||
KC_LSFT , KC_MS_ACCEL1 , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_F1 , KC_F2 , KC_F3 , RGB_VAI , RGB_MODE_FORWARD ,
|
||||
KC_TRNS , KC_PSCR , KC_F10 , KC_TRNS ,
|
||||
KC_LALT , KC_F10 , KC_TRNS , KC_TRNS ,
|
||||
N_COPY , N_CUT , KC_ESC , KC_ENTER ,
|
||||
N_PASTE , N_UNDO , KC_BSPC , KC_DEL
|
||||
|
||||
),
|
||||
};
|
|
@ -1,11 +0,0 @@
|
|||
# Copyright 2021 Paul Maria Scheikl (@ScheiklP)
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
BOOTLOADER = atmel-dfu
|
||||
AUTO_SHIFT_ENABLE = yes
|
||||
CONSOLE_ENABLE = no
|
||||
COMMAND_ENABLE = no
|
||||
NKRO_ENABLE = yes
|
||||
RGBLIGHT_ENABLE = yes
|
||||
DEBOUNCE_TYPE = asym_eager_defer_pk
|
||||
USER_NAME := scheiklp
|
|
@ -1,8 +0,0 @@
|
|||
#### compile with
|
||||
|
||||
`make handwired/dactyl_manuform/4x6:scheiklp`
|
||||
|
||||
|
||||
#### flash with
|
||||
|
||||
`qmk flash -kb handwired/dactyl_manuform/4x6 -km scheiklp`
|
|
@ -1,47 +0,0 @@
|
|||
// Copyright 2021 Paul Maria Scheikl (@ScheiklP)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
#define USE_I2C
|
||||
#define SPLIT_HAND_PIN F6
|
||||
|
||||
#undef WS2812_DI_PIN
|
||||
#undef RGBLED_NUM
|
||||
|
||||
#define DEBOUNCE 5
|
||||
|
||||
#define AUTO_SHIFT_TIMEOUT 100
|
||||
#define NO_AUTO_SHIFT_SPECIAL
|
||||
#define NO_AUTO_SHIFT_NUMERIC
|
||||
|
||||
// require two taps for a TT layer switch (default 5)
|
||||
#define TAPPING_TOGGLE 2
|
||||
|
||||
// Mouse control
|
||||
// constant mode (velocity)
|
||||
#define MK_3_SPEED
|
||||
// KC_ACL0 < KC_ACL1 < unmodified < KC_ACL2
|
||||
|
||||
// Cursor offset per movement (unmodified)
|
||||
#define MK_C_OFFSET_UNMOD 16
|
||||
// Time between cursor movements (unmodified)
|
||||
#define MK_C_INTERVAL_UNMOD 10
|
||||
/* #define MK_C_INTERVAL_UNMOD 16 */
|
||||
|
||||
// Cursor offset per movement (KC_ACL0)
|
||||
#define MK_C_OFFSET_0 1
|
||||
// Time between cursor movements (KC_ACL0)
|
||||
#define MK_C_INTERVAL_0 32
|
||||
|
||||
// Cursor offset per movement (KC_ACL1)
|
||||
#define MK_C_OFFSET_1 4
|
||||
// Time between cursor movements (KC_ACL1)
|
||||
#define MK_C_INTERVAL_1 16
|
||||
|
||||
// Cursor offset per movement (KC_ACL2)
|
||||
#define MK_C_OFFSET_2 20
|
||||
/* #define MK_C_OFFSET_2 32 */
|
||||
// Time between cursor movements (KC_ACL2)
|
||||
#define MK_C_INTERVAL_2 16
|
|
@ -1,64 +0,0 @@
|
|||
// Copyright 2021 Paul Maria Scheikl (@ScheiklP)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/* A K.O,Y layout for the Dactyl Manuform 4x6 Keyboard */
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "koy_keys_on_quertz_de_latin1.h"
|
||||
|
||||
enum custom_layers {
|
||||
_1,
|
||||
_3,
|
||||
_4,
|
||||
_7,
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[_1] = LAYOUT(
|
||||
KC_TAB , KC_K , KC_DOT , KC_O , KC_COMM , N_Y , KC_V , KC_G , KC_C , KC_L , N_SS , N_Z ,
|
||||
MO(_3) , KC_H , KC_A , KC_E , KC_I , KC_U , KC_D , KC_T , KC_R , KC_N , KC_S , KC_F ,
|
||||
KC_LSFT , KC_X , KC_Q , N_AE , N_UE , N_OE , KC_B , KC_P , KC_W , KC_M , KC_J , KC_RSFT ,
|
||||
KC_LCTL , KC_LGUI , KC_CAPS , TT(_7) ,
|
||||
KC_LALT , KC_SPC , MO(_3) , MO(_4) ,
|
||||
N_COPY , N_CUT , KC_ESC , KC_ENTER ,
|
||||
N_PASTE , N_UNDO , KC_BSPC , KC_DEL
|
||||
),
|
||||
|
||||
[_3] = LAYOUT(
|
||||
|
||||
KC_TAB , N_DOTS , N_USC , N_LSQBR , N_RSQBR , N_CIRC , N_EXKL , N_LT , N_GT , N_EQ , N_AMP , N_ACUT ,
|
||||
KC_TRNS , N_BSLS , N_SLSH , N_LCUBR , N_RCUBR , N_ASTR , N_QUES , N_LPARN , N_RPARN , N_MINS , N_COLN , N_AT ,
|
||||
KC_LSFT , N_HASH , N_DLR , N_PIPE , N_TILD , N_GRAVE , N_PLUS , N_PERC , N_QUOT , N_SING , N_SEMI , KC_RSFT ,
|
||||
KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS ,
|
||||
KC_LALT , KC_SPC , KC_TRNS , KC_TRNS ,
|
||||
N_COPY , N_CUT , KC_ESC , KC_ENTER ,
|
||||
N_PASTE , N_UNDO , KC_BSPC , KC_DEL
|
||||
|
||||
),
|
||||
|
||||
[_4] = LAYOUT(
|
||||
|
||||
KC_TAB , KC_PGUP , KC_BSPC , KC_UP , KC_DEL , KC_PGDN , KC_KP_SLASH , KC_7 , KC_8 , KC_9 , KC_KP_MINUS , KC_TRNS ,
|
||||
KC_TRNS , KC_HOME , KC_LEFT , KC_DOWN , KC_RIGHT , KC_END , KC_KP_ASTERISK , KC_4 , KC_5 , KC_6 , KC_KP_PLUS , KC_TRNS ,
|
||||
KC_LSFT , KC_ESC , KC_TAB , KC_INS , KC_ENTER , N_UNDO , KC_KP_ENTER , KC_1 , KC_2 , KC_3 , KC_KP_DOT , KC_RSFT ,
|
||||
KC_TRNS , KC_TRNS , KC_0 , KC_TRNS ,
|
||||
KC_LALT , KC_0 , KC_TRNS , KC_TRNS ,
|
||||
N_COPY , N_CUT , KC_ESC , KC_ENTER ,
|
||||
N_PASTE , N_UNDO , KC_BSPC , KC_DEL
|
||||
|
||||
),
|
||||
|
||||
[_7] = LAYOUT(
|
||||
|
||||
KC_TAB , KC_MS_WH_UP , KC_MS_BTN2 , KC_MS_UP , KC_MS_BTN1 , KC_MS_WH_DOWN , KC_TRNS , KC_F7 , KC_F8 , KC_F9 , KC_TRNS , KC_TRNS ,
|
||||
KC_TRNS , KC_MS_ACCEL0 , KC_MS_LEFT , KC_MS_DOWN , KC_MS_RIGHT , KC_TRNS , KC_TRNS , KC_F4 , KC_F5 , KC_F6 , KC_TRNS , KC_TRNS ,
|
||||
KC_LSFT , KC_MS_ACCEL1 , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_F1 , KC_F2 , KC_F3 , KC_TRNS , KC_TRNS ,
|
||||
KC_TRNS , KC_PSCR , KC_F10 , KC_TRNS ,
|
||||
KC_LALT , KC_F10 , KC_TRNS , KC_TRNS ,
|
||||
N_COPY , N_CUT , KC_ESC , KC_ENTER ,
|
||||
N_PASTE , N_UNDO , KC_BSPC , KC_DEL
|
||||
|
||||
),
|
||||
|
||||
};
|
|
@ -1,9 +0,0 @@
|
|||
# Copyright 2021 Paul Maria Scheikl (@ScheiklP)
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
BOOTLOADER = atmel-dfu
|
||||
AUTO_SHIFT_ENABLE = yes
|
||||
CONSOLE_ENABLE = no
|
||||
COMMAND_ENABLE = no
|
||||
NKRO_ENABLE = yes
|
||||
DEBOUNCE_TYPE = asym_eager_defer_pk
|
|
@ -1,24 +0,0 @@
|
|||
// Copyright 2019 Manna Harbour
|
||||
// https://github.com/manna-harbour/miryoku
|
||||
// generated -*- buffer-read-only: t -*-
|
||||
|
||||
// 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 XXX KC_NO
|
||||
|
||||
#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( \
|
||||
XXX, K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, XXX, \
|
||||
XXX, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, XXX, \
|
||||
XXX, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, XXX, \
|
||||
XXX, XXX, XXX, XXX, \
|
||||
K32, K33, K34, K35, K36, K37, \
|
||||
XXX, XXX, XXX, XXX \
|
||||
)
|
|
@ -1,5 +0,0 @@
|
|||
// Copyright 2019 Manna Harbour
|
||||
// https://github.com/manna-harbour/miryoku
|
||||
// generated -*- buffer-read-only: t -*-
|
||||
|
||||
// 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,28 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2020 Fred Silberberg
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#define EE_HANDS
|
||||
|
||||
#undef TAPPING_TERM
|
||||
#define TAPPING_TERM 200
|
|
@ -1,76 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2020 Fred Silberberg
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "333fred.h"
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[BASE] = LAYOUT_5x6(
|
||||
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_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
|
||||
KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
|
||||
OSM(MOD_LSFT), CTL_T(KC_Z), KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, OSM(MOD_RSFT),
|
||||
KC_F4, KC_F5, TG(CODEFLOW), KC_EQL,
|
||||
KC_LALT, KC_BSPC, KC_SPC, OSL(VIM),
|
||||
TD(TD_COPY_PASTE), TD(TD_SYM_VIM), KC_ENT, KC_RGUI,
|
||||
KC_LCTL, KC_DEL, KC_UP, KC_DOWN
|
||||
),
|
||||
|
||||
[CODEFLOW] = LAYOUT_5x6(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
KC_F7, KC_F8, _______, _______,
|
||||
_______, _______, _______, _______,
|
||||
_______, _______, _______, _______,
|
||||
_______, _______, _______, _______
|
||||
),
|
||||
|
||||
[SYMB] = LAYOUT_5x6(
|
||||
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
||||
_______, KC_EXLM, KC_AT, KC_LPRN, KC_RPRN, KC_PIPE, _______, KC_7, KC_8, KC_9, _______, KC_F12,
|
||||
_______, KC_HASH, KC_DLR, KC_LCBR, KC_RCBR, KC_GRV, _______, KC_4, KC_5, KC_6, _______, _______,
|
||||
_______, KC_PERC, KC_CIRC, KC_LBRC, KC_RBRC, KC_TILD, _______, KC_1, KC_2, KC_3, _______, _______,
|
||||
KC_F7, KC_F8, KC_0, KC_ENT,
|
||||
_______, _______, KC_MPLY, KC_MNXT,
|
||||
_______, _______, KC_MPRV, _______,
|
||||
_______, _______, KC_VOLU, KC_VOLD
|
||||
),
|
||||
|
||||
[VIM] = LAYOUT_5x6(
|
||||
_______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, _______,
|
||||
_______, _______, _______, _______, KC_LSFT, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, DLEFT, DRIGHT, KC_LCTL, KC_LGUI, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______,
|
||||
_______, _______, _______, _______,
|
||||
_______, _______, _______, _______,
|
||||
_______, _______, _______, _______
|
||||
),
|
||||
};
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
tap_dance_process_keycode(keycode);
|
||||
return !try_handle_macro(keycode, record);
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
KEY_LOCK_ENABLE = yes
|
||||
CONSOLE_ENABLE = no
|
||||
LTO_ENABLE = yes
|
|
@ -1,25 +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/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
#define XXX KC_NO
|
||||
|
||||
#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_5x6( \
|
||||
XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, \
|
||||
XXX, K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, XXX, \
|
||||
XXX, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, XXX, \
|
||||
XXX, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, XXX, \
|
||||
XXX, XXX, XXX, XXX, \
|
||||
K32, K33, K36, K37, \
|
||||
K34, XXX, XXX, K35, \
|
||||
XXX, XXX, XXX, XXX \
|
||||
)
|
|
@ -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,47 +0,0 @@
|
|||
/*
|
||||
Copyright 2012 Jun Wako <wakojun@gmail.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 USE_I2C
|
||||
// #define MASTER_LEFT
|
||||
// #define MASTER_RIGHT
|
||||
#define EE_HANDS
|
||||
// Rows are doubled-up
|
||||
// #define DEBOUNCE 5
|
||||
#define TAPPING_TOGGLE 3
|
||||
#define ONESHOT_TAP_TOGGLE 3
|
||||
#define PERMISSIVE_HOLD
|
||||
#define TAPPING_TERM 300
|
||||
#ifdef RGBLED_NUM
|
||||
# undef RGBLED_NUM
|
||||
#endif
|
||||
#define RGBLED_NUM 54
|
||||
#define RGBLIGHT_LIMIT_VAL 200
|
||||
#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
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
// #define RGBLIGHT_LED_MAP { 11,10,9,8,7,6,5,4,3,2,1,0,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26 }
|
||||
#define RGBLIGHT_SPLIT 27
|
|
@ -1,61 +0,0 @@
|
|||
/* A standard layout for the Dactyl Manuform 5x6 Keyboard */
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "rishka.h"
|
||||
|
||||
enum layers {
|
||||
BASE, // default layer
|
||||
WIN, // Switch keys that are needed in windows
|
||||
SYMB, // symbols
|
||||
MDIA // media keys
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[BASE] = LAYOUT_5x6_wrapper(
|
||||
KC_EQL , ________________NUMBERS_L__________________, ________________NUMBERS_R__________________, KC_MINS,
|
||||
KC_ESC , _________________QWERTY_L1_________________, _________________QWERTY_R1_________________, KC_BSLS,
|
||||
KC_F1 , _____________MOD_QWERTY_L2_________________, _____________MOD_QWERTY_R2_________________, KC_QUOT,
|
||||
OS_LSFT, _________________QWERTY_L3_________________, _________________QWERTY_R3_________________, OS_RSFT,
|
||||
KC_LEFT,KC_RGHT, KC_UP, KC_DOWN,
|
||||
KC_BSPC, KC_SPC, KC_TAB, KC_ENT,
|
||||
KC_LGUI, MO(SYMB), MO(SYMB), TT(MDIA),
|
||||
KC_DEL, KC_GRV, TT(WIN), KC_LALT
|
||||
),
|
||||
[WIN] = LAYOUT_5x6_wrapper(
|
||||
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _________________QWERTY_L2_________________, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______,
|
||||
_______, _______, _______, _______,
|
||||
KC_LCTL, _______, _______, _______,
|
||||
_______, _______, _______, _______
|
||||
),
|
||||
|
||||
[SYMB] = LAYOUT_5x6_wrapper(
|
||||
KC_F12 , ______________________F_L__________________, ______________________F_R__________________, KC_F11,
|
||||
_______, _________________SYMBOL_L1_________________, _________________SYMBOL_R1_________________, KC_NUM,
|
||||
_______, _________________SYMBOL_L2_________________, _________________SYMBOL_R2_________________, _______,
|
||||
_______, _________________SYMBOL_L3_________________, _________________SYMBOL_R3_________________, _______,
|
||||
_______, _______, KC_P0 , KC_PDOT,
|
||||
_______, _______, _______, _______,
|
||||
QK_BOOT, _______, _______, _______,
|
||||
RGB_TOG, _______, _______, _______
|
||||
),
|
||||
[MDIA] = LAYOUT_5x6_wrapper(
|
||||
|
||||
RGB_MOD, RGB_HUI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
RGB_M_SN, RGB_HUD, _______, KC_MS_U, _______, KC_WH_U, _______, _______, KC_WH_U, _______, _______, _______,
|
||||
RGB_VAI, RGB_SAI, KC_MS_L, KC_MS_D, KC_MS_R, KC_WH_D, _______, MOUSE_L, KC_WH_D, MOUSE_R, _______, _______,
|
||||
RGB_VAD, RGB_SAD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______,
|
||||
KC_BTN1, KC_BTN2, _______, _______,
|
||||
KC_BTN3, KC_BTN4, _______, _______,
|
||||
KC_BTN5, _______, _______, _______
|
||||
|
||||
),
|
||||
};
|
||||
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
BOOTLOADER=qmk-dfu
|
||||
RGBLIGHT_ENABLE = yes
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
#### compile with
|
||||
|
||||
`make handwired/dactyl_manuform/5x6:scheiklp`
|
||||
|
||||
|
||||
#### flash with
|
||||
|
||||
`qmk flash -kb handwired/dactyl_manuform/5x6 -km scheiklp`
|
|
@ -1,47 +0,0 @@
|
|||
// Copyright 2021 Paul Maria Scheikl (@ScheiklP)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
#define USE_I2C
|
||||
|
||||
/* #define MASTER_LEFT */
|
||||
/* #define MASTER_RIGHT */
|
||||
#define EE_HANDS
|
||||
// Rows are doubled-up
|
||||
|
||||
#define AUTO_SHIFT_TIMEOUT 125
|
||||
#define NO_AUTO_SHIFT_SPECIAL
|
||||
#define NO_AUTO_SHIFT_NUMERIC
|
||||
|
||||
// require two taps for a TT layer switch (default 5)
|
||||
#define TAPPING_TOGGLE 2
|
||||
|
||||
// Mouse control
|
||||
// constant mode (velocity)
|
||||
#define MK_3_SPEED
|
||||
// KC_ACL0 < KC_ACL1 < unmodified < KC_ACL2
|
||||
|
||||
// Cursor offset per movement (unmodified)
|
||||
#define MK_C_OFFSET_UNMOD 16
|
||||
// Time between cursor movements (unmodified)
|
||||
#define MK_C_INTERVAL_UNMOD 10
|
||||
/* #define MK_C_INTERVAL_UNMOD 16 */
|
||||
|
||||
// Cursor offset per movement (KC_ACL0)
|
||||
#define MK_C_OFFSET_0 1
|
||||
// Time between cursor movements (KC_ACL0)
|
||||
#define MK_C_INTERVAL_0 32
|
||||
|
||||
// Cursor offset per movement (KC_ACL1)
|
||||
#define MK_C_OFFSET_1 4
|
||||
// Time between cursor movements (KC_ACL1)
|
||||
#define MK_C_INTERVAL_1 16
|
||||
|
||||
// Cursor offset per movement (KC_ACL2)
|
||||
#define MK_C_OFFSET_2 20
|
||||
/* #define MK_C_OFFSET_2 32 */
|
||||
// Time between cursor movements (KC_ACL2)
|
||||
#define MK_C_INTERVAL_2 16
|
|
@ -1,70 +0,0 @@
|
|||
// Copyright 2021 Paul Maria Scheikl (@ScheiklP)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/* A K.O,Y layout for the Dactyl Manuform 5x6 Keyboard */
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "koy_keys_on_quertz_de_latin1.h"
|
||||
|
||||
|
||||
enum custom_layers {
|
||||
_1,
|
||||
_3,
|
||||
_4,
|
||||
_7,
|
||||
};
|
||||
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[_1] = LAYOUT_5x6(
|
||||
KC_ESC , KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_BSPC ,
|
||||
KC_TAB , KC_K , KC_DOT , KC_O , KC_COMM , N_Y , KC_V , KC_G , KC_C , KC_L , N_SS , N_Z ,
|
||||
MO(_3) , KC_H , KC_A , KC_E , KC_I , KC_U , KC_D , KC_T , KC_R , KC_N , KC_S , KC_F ,
|
||||
KC_LSFT , KC_X , KC_Q , N_AE , N_UE , N_OE , KC_B , KC_P , KC_W , KC_M , KC_J , KC_RSFT ,
|
||||
KC_LCTL , KC_LGUI , KC_CAPS , TT(_7),
|
||||
KC_LALT, KC_SPC, MO(_3), MO(_4),
|
||||
N_COPY, N_CUT, DM_RSTP, KC_ENTER,
|
||||
N_PASTE, N_UNDO, DM_REC1, DM_PLY1
|
||||
),
|
||||
|
||||
[_3] = LAYOUT_5x6(
|
||||
|
||||
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_BSPC,
|
||||
KC_TAB, N_DOTS, N_USC, N_LSQBR, N_RSQBR, N_CIRC, N_EXKL, N_LT, N_GT, N_EQ, N_AMP, N_ACUT,
|
||||
KC_TRNS, N_BSLS, N_SLSH, N_LCUBR, N_RCUBR, N_ASTR, N_QUES, N_LPARN, N_RPARN, N_MINS, N_COLN, N_AT,
|
||||
KC_LSFT, N_HASH, N_DLR, N_PIPE, N_TILD, N_GRAVE, N_PLUS, N_PERC, N_QUOT, N_SING, N_SEMI, KC_RSFT,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_LALT,KC_SPC, KC_TRNS,KC_TRNS,
|
||||
N_COPY, N_CUT, DM_RSTP, KC_ENTER,
|
||||
N_PASTE, N_UNDO, DM_REC1, DM_PLY1
|
||||
|
||||
),
|
||||
|
||||
[_4] = LAYOUT_5x6(
|
||||
|
||||
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_BSPC,
|
||||
KC_TAB, KC_PGUP, KC_BSPC, KC_UP, KC_DEL, KC_PGDN, KC_KP_SLASH, KC_7, KC_8, KC_9, KC_KP_MINUS, KC_TRNS,
|
||||
KC_TRNS, KC_HOME, KC_LEFT, KC_DOWN, KC_RIGHT, KC_END, KC_KP_ASTERISK, KC_4, KC_5, KC_6, KC_KP_PLUS, KC_TRNS,
|
||||
KC_LSFT, KC_ESC, KC_TAB, KC_INS, KC_ENTER, N_UNDO, KC_KP_ENTER, KC_1, KC_2, KC_3, KC_KP_DOT, KC_RSFT,
|
||||
KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_LALT,KC_0, KC_TRNS,KC_TRNS,
|
||||
N_COPY, N_CUT, DM_RSTP, KC_ENTER,
|
||||
N_PASTE, N_UNDO, DM_REC1, DM_PLY1
|
||||
|
||||
),
|
||||
|
||||
[_7] = LAYOUT_5x6(
|
||||
|
||||
KC_ESC, KC_TRNS, KC_TRNS, KC_MS_BTN3, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT,
|
||||
KC_TAB, KC_MS_WH_UP, KC_MS_BTN2, KC_MS_UP, KC_MS_BTN1, KC_MS_WH_DOWN, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_MS_ACCEL0, KC_MS_LEFT, KC_MS_DOWN, KC_MS_RIGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_LSFT, KC_MS_ACCEL1, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS,KC_PSCR, KC_TRNS, KC_TRNS,
|
||||
KC_LALT,KC_0, KC_TRNS,KC_TRNS,
|
||||
N_COPY, N_CUT, DM_RSTP, KC_ENTER,
|
||||
N_PASTE, N_UNDO, DM_REC1, DM_PLY1
|
||||
|
||||
),
|
||||
|
||||
};
|
|
@ -1,10 +0,0 @@
|
|||
# Copyright 2021 Paul Maria Scheikl (@ScheiklP)
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
AUTO_SHIFT_ENABLE = yes
|
||||
CONSOLE_ENABLE = no
|
||||
COMMAND_ENABLE = no
|
||||
NKRO_ENABLE = yes
|
||||
BOOTLOADER = atmel-dfu
|
||||
DYNAMIC_MACRO_ENABLE = yes
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
// Copyright 2022 Ulrich Spörlein (@uqs)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 12
|
||||
#define RGBLED_SPLIT {6,6}
|
||||
#define RGBLIGHT_LIMIT_VAL 127
|
||||
|
||||
#define EE_HANDS
|
|
@ -1,170 +0,0 @@
|
|||
// Copyright 2022 Ulrich Spörlein (@uqs)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
// vi:et sw=4 cc=5,15,25,35,45,55,65:
|
||||
|
||||
#include "uqs.h"
|
||||
|
||||
/*
|
||||
* My custom layout macro that allows for easy diff(1) operations between
|
||||
* various keyboards. It probably doesn't make sense to you.
|
||||
*/
|
||||
#define LAYOUT_uqs( \
|
||||
L00, L01, L02, L03, L04, L05, \
|
||||
L10, L11, L12, L13, L14, L15, \
|
||||
L20, L21, L22, L23, L24, L25, \
|
||||
L30, L31, L32, L33, L34, L35, \
|
||||
L42, L43, \
|
||||
L44, L45, L54, \
|
||||
L55, L52, L53, \
|
||||
R00, R01, R02, R03, R04, R05, \
|
||||
R10, R11, R12, R13, R14, R15, \
|
||||
R20, R21, R22, R23, R24, R25, \
|
||||
R30, R31, R32, R33, R34, R35, \
|
||||
R42, R43, \
|
||||
R51, R40, R41, \
|
||||
R50, R52, R53 \
|
||||
) \
|
||||
LAYOUT_5x6( \
|
||||
L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \
|
||||
L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \
|
||||
L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \
|
||||
L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35, \
|
||||
L42, L43, R42, R43, \
|
||||
L44, L45, R40, R41, \
|
||||
L54, L55, R50, R51, \
|
||||
L52, L53, R52, R53 \
|
||||
)
|
||||
|
||||
// clang-format off
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[L_QWER] = LAYOUT_uqs(
|
||||
QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5,
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T,
|
||||
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G,
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B,
|
||||
KC_LBRC, KC_RBRC,
|
||||
/*thumb*/ LT_EXTD_ESC, KC_SPC, LT_MOUSE_ALT_SHIFT_INS,
|
||||
/*aux*/ QK_LEAD, OSM_GUI, KC_LALT,
|
||||
KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINUS,
|
||||
KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
|
||||
KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
|
||||
KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, RSFT_T(KC_GRV),
|
||||
KC_MINS, KC_EQL,
|
||||
/*thumb*/ LT_FUNC_SHIFT_INS, KC_ENT, LT_NUM_BSPC,
|
||||
/*aux*/ KC_RALT, KC_APP, QK_LEAD
|
||||
),
|
||||
|
||||
[L_WASD] = LAYOUT_uqs(
|
||||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5,
|
||||
KC_T, KC_TAB, KC_Q, KC_W, KC_E, KC_R,
|
||||
KC_G, KC_LSFT, KC_A, KC_S, KC_D, KC_F,
|
||||
KC_B, KC_GRV, KC_Z, KC_X, KC_C, KC_V,
|
||||
KC_LBRC, KC_RBRC,
|
||||
/*thumb*/ KC_LCTL, KC_SPC, KC_R,
|
||||
/*aux*/ A(KC_M), KC_LGUI, KC_LALT,
|
||||
KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
|
||||
KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
|
||||
KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
|
||||
KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, RSFT_T(KC_GRV),
|
||||
KC_MINS, KC_EQL,
|
||||
/*thumb*/ DF(L_COLM), KC_ENT, KC_BSPC,
|
||||
/*aux*/ KC_F5, KC_RALT, KC_APP
|
||||
),
|
||||
|
||||
[L_COLM] = LAYOUT_uqs(
|
||||
KC_NO, KC_NO, KC_BTN2, KC_BTN3, KC_BTN1, KC_NO,
|
||||
KC_BTN2, KC_Q, KC_W, KC_F, KC_P, KC_B,
|
||||
KC_BTN1, KC_G_A, KC_A_R, KC_S_S, KC_C_T, KC_G,
|
||||
KC_BTN3, KC_Z, KC_X, KC_C, KC_D, KC_V,
|
||||
MS_WHUP, MS_WHDN,
|
||||
/*thumb*/ LT_EXTD_ESC, SFT_T(KC_SPC), LT(L_MOUSE, KC_TAB),
|
||||
/*aux*/ QK_LEAD, OSM_GUI, KC_LALT,
|
||||
KC_NO, KC_BTN1, KC_BTN2, KC_BTN3, KC_NO, KC_NO,
|
||||
KC_J, KC_L, KC_U, KC_Y, KC_QUOT, KC_NO,
|
||||
KC_M, KC_C_N, KC_S_E, KC_A_I, KC_G_O, KC_NO,
|
||||
KC_K, KC_H, KC_COMM, KC_DOT, KC_SLSH, KC_NO,
|
||||
KC_NO, KC_NO,
|
||||
/*thumb*/ LT_FUNC_SHIFT_INS, KC_ENT, LT_NUM_BSPC,
|
||||
/*aux*/ QK_LEAD, KC_RALT, KC_APP
|
||||
),
|
||||
|
||||
// Updated with inspiration from https://forum.colemak.com/topic/2014-extend-extra-extreme/
|
||||
// I like the AltGr trick from https://stevep99.github.io/seniply/ and should probably incorporate some stuff from it.
|
||||
[L_EXTD] = LAYOUT_uqs(
|
||||
_______, _______, _______, _______, _______, _______,
|
||||
_______, KC_BTN1, KC_SCTAB, KC_PGUP, KC_CTAB, QK_LEAD,
|
||||
_______, OSM_GUI, OSM_ALT, OSM_SFT, OSM_CTL, KC_RALT,
|
||||
_______, ALT_TAB, MS_WHUP, MS_WHDN, KC_PGDN, INS_HARD,
|
||||
_______, _______,
|
||||
/*thumb*/ _______, _______, _______,
|
||||
/*aux*/ _______, _______, _______,
|
||||
/* ^^^^ can't be used */
|
||||
_______, _______, _______, _______, _______, _______,
|
||||
KC_HOME, KC_PGDN, KC_PGUP, KC_END, KC_INS, KC_NO,
|
||||
KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_DEL, KC_NO,
|
||||
WIN_LEFT, WIN_DN, WIN_UP, WIN_RGHT, KC_PSTE, KC_NO, // KC_PSTE works in XTerm to emulate middle-click
|
||||
_______, _______,
|
||||
/*thumb*/ _______, _______, KC_BSPC,
|
||||
/*aux*/ _______, _______, _______
|
||||
/* ^^^^ use these */
|
||||
),
|
||||
|
||||
// TODO: maybe swap # with ;, that way I can roll :w or :wq which I need
|
||||
// often ... probably better to add a combo?
|
||||
[L_NUM] = LAYOUT_uqs(
|
||||
_______, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
|
||||
_______, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC,
|
||||
_______, KC_SCLN, KC_COLN, KC_LCBR, KC_LPRN, KC_LBRC,
|
||||
_______, KC_CIRC, KC_AMPR, KC_RCBR, KC_RPRN, KC_RBRC,
|
||||
KC_GRV, KC_TILDE,
|
||||
/*thumb*/ KC_ESC, KC_SPC, KC_0,
|
||||
/*aux*/ _______, _______, _______,
|
||||
/* ^^^^ use these */
|
||||
KC_NUM, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
|
||||
KC_EQUAL, KC_7, KC_8, KC_9, KC_KP_PLUS,_______,
|
||||
KC_KP_ASTERISK,KC_4,KC_5, KC_6, MINS_UNDSCR,_______,
|
||||
KC_COMM, KC_1, KC_2, KC_3, KC_KP_SLASH,KC_KP_ENTER, // Enter here, because thumb is occupied
|
||||
KC_0, KC_KP_DOT,
|
||||
/*thumb*/ _______, _______, _______,
|
||||
/*aux*/ _______, _______, _______
|
||||
/* ^^^^ can't be used */
|
||||
),
|
||||
|
||||
[L_FUNC] = LAYOUT_uqs(
|
||||
_______, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
|
||||
_______, KC_NO, KC_MUTE, KC_VOLD, KC_VOLU, DF(L_WASD),
|
||||
_______, KC_LGUI, KC_LALT, KC_LSFT, KC_LCTL, DF(L_QWER),
|
||||
_______, KC_NO, KC_NO, KC_NO, KC_NO, DF(L_COLM),
|
||||
KC_NO, KC_NO,
|
||||
/*thumb*/ _______, _______, _______,
|
||||
/*aux*/ _______, _______, _______,
|
||||
/* ^^^^ use these */
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
|
||||
KC_PSCR, KC_F7, KC_F8, KC_F9, KC_F10, KC_NO,
|
||||
KC_SCRL, KC_F4, KC_F5, KC_F6, KC_F11, KC_NO,
|
||||
KC_PAUS, KC_F1, KC_F2, KC_F3, KC_F12, KC_NO,
|
||||
KC_NO, KC_NO,
|
||||
/*thumb*/ _______, _______, _______,
|
||||
/*aux*/ _______, _______, _______
|
||||
/* ^^^^ can't be used */
|
||||
),
|
||||
|
||||
[L_MOUSE] = LAYOUT_uqs(
|
||||
_______, _______, _______, _______, _______, _______,
|
||||
_______, KC_NO, KC_BTN2, KC_BTN3, KC_BTN1, KC_VOLU,
|
||||
_______, KC_NO, KC_ACL0, KC_ACL1, KC_ACL2, KC_VOLD,
|
||||
_______, KC_NO, KC_NO, KC_NO, KC_NO, KC_MUTE,
|
||||
KC_NO, KC_NO,
|
||||
/*thumb*/ _______, _______, _______,
|
||||
/*aux*/ _______, _______, _______,
|
||||
/* ^^^^ can't be used */
|
||||
_______, _______, _______, _______, _______, _______,
|
||||
_______, _______, KC_MS_UP, MS_WHUP, _______, _______,
|
||||
MS_WHLEFT,KC_MS_L, KC_MS_D, KC_MS_R, MS_WHRGHT,_______,
|
||||
_______, MS_WHDN, KC_BTN3, KC_BTN4, KC_BTN5, _______,
|
||||
KC_NO, KC_NO,
|
||||
/*thumb*/ KC_NO, KC_BTN1, KC_BTN2,
|
||||
/*aux*/ _______, _______, _______
|
||||
/* use these ^^^^ */
|
||||
),
|
||||
};
|
|
@ -1 +0,0 @@
|
|||
#VIA_ENABLE = yes # doesn't fit with 7 layers :/
|
|
@ -1,39 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2020 Fred Silberberg
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#define EE_HANDS
|
||||
|
||||
#undef TAPPING_TERM
|
||||
#define TAPPING_TERM 200
|
||||
|
||||
#define OLED_DISPLAY_128X64
|
||||
|
||||
#define ENCODERS_PAD_A { F4 }
|
||||
#define ENCODERS_PAD_B { F5 }
|
||||
|
||||
#undef SOFT_SERIAL_PIN
|
||||
#define SOFT_SERIAL_PIN D2
|
||||
|
||||
#undef OLED_TIMEOUT
|
||||
#define OLED_TIMEOUT 240000
|
|
@ -1,581 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2020 Fred Silberberg
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "333fred.h"
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[BASE] = LAYOUT_5x6_5(
|
||||
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_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
|
||||
KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
|
||||
OSM(MOD_LSFT), CTL_T(KC_Z), KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, CTL_T(KC_SLSH), OSM(MOD_RSFT),
|
||||
KC_F4, KC_LALT, KC_BSPC, TD(TD_SYM_VIM), KC_DEL, KC_UP, KC_ENT, KC_SPC, OSL(VIM), KC_EQL,
|
||||
KC_LGUI, TD(TD_COPY_PASTE), KC_DOWN, OSM(MOD_RCTL)
|
||||
),
|
||||
|
||||
[SYMB] = LAYOUT_5x6_5(
|
||||
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
||||
_______, KC_EXLM, KC_AT, KC_LPRN, KC_RPRN, KC_PIPE, _______, KC_7, KC_8, KC_9, _______, KC_F12,
|
||||
_______, KC_HASH, KC_DLR, KC_LCBR, KC_RCBR, KC_GRV, _______, KC_4, KC_5, KC_6, _______, _______,
|
||||
_______, KC_PERC, KC_CIRC, KC_LBRC, KC_RBRC, KC_TILD, _______, KC_1, KC_2, KC_3, _______, _______,
|
||||
KC_F7, _______, _______, _______, _______, KC_VOLU, KC_MPRV, KC_MPLY, KC_MNXT, KC_ENT,
|
||||
_______, _______, KC_VOLD, _______
|
||||
),
|
||||
|
||||
[VIM] = LAYOUT_5x6_5(
|
||||
_______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, _______,
|
||||
_______, _______, _______, _______, KC_LSFT, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, DLEFT, DRIGHT, KC_LCTL, KC_LGUI, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______,_______, _______, TG(GAME), _______, _______, _______, _______,
|
||||
_______, _______, _______, _______
|
||||
),
|
||||
|
||||
[GAME] = LAYOUT_5x6_5(
|
||||
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_T, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
|
||||
KC_G, KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
|
||||
KC_B, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
|
||||
QK_LOCK, KC_LALT, KC_SPC, KC_ENT, KC_GRV, TG(GAME), _______, _______, _______, KC_EQL,
|
||||
KC_BSPC, KC_F5, KC_F6, _______
|
||||
),
|
||||
};
|
||||
|
||||
uint32_t quote_timer;
|
||||
|
||||
void keyboard_post_init_user(void) { quote_timer = 0; }
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
tap_dance_process_keycode(keycode);
|
||||
return !try_handle_macro(keycode, record);
|
||||
}
|
||||
|
||||
static void render_logo(void) {
|
||||
static const char PROGMEM qmk_logo[] = {0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8A, 0x8B, 0x8C, 0x8D, 0x8E, 0x8F, 0x90, 0x91, 0x92, 0x93, 0x94, 0xA0, 0xA1, 0xA2, 0xA3, 0xA4, 0xA5, 0xA6, 0xA7, 0xA8, 0xA9, 0xAA, 0xAB, 0xAC, 0xAD, 0xAE, 0xAF, 0xB0, 0xB1, 0xB2, 0xB3, 0xB4, 0xC0, 0xC1, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7, 0xC8, 0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF, 0xD0, 0xD1, 0xD2, 0xD3, 0xD4, 0x00};
|
||||
|
||||
oled_write_P(qmk_logo, false);
|
||||
}
|
||||
|
||||
void render_led_status(void) {
|
||||
led_t led_state = host_keyboard_led_state();
|
||||
if (led_state.num_lock || led_state.caps_lock || led_state.scroll_lock) {
|
||||
oled_write_P(led_state.num_lock ? PSTR("NUM ") : PSTR(" "), false);
|
||||
oled_write_P(led_state.caps_lock ? PSTR("CAP ") : PSTR(" "), false);
|
||||
oled_write_ln_P(led_state.scroll_lock ? PSTR("SCR ") : PSTR(" "), false);
|
||||
}
|
||||
}
|
||||
|
||||
void render_mods_status(void) {
|
||||
uint8_t mods = get_mods() | get_oneshot_mods();
|
||||
bool ctrl = mods & MOD_MASK_CTRL;
|
||||
bool shft = mods & MOD_MASK_SHIFT;
|
||||
bool alt = mods & MOD_MASK_ALT;
|
||||
bool gui = mods & MOD_MASK_GUI;
|
||||
|
||||
oled_write_P(ctrl ? PSTR("CTRL ") : PSTR(" "), false);
|
||||
oled_write_P(shft ? PSTR("SHIFT ") : PSTR(" "), false);
|
||||
oled_write_P(alt ? PSTR("ALT ") : PSTR(" "), false);
|
||||
oled_write_ln_P(gui ? PSTR("GUI ") : PSTR(" "), false);
|
||||
}
|
||||
|
||||
#define MAX_LINES 8
|
||||
|
||||
void write_quote(const char* data, const uint8_t num_lines) {
|
||||
uint8_t current_line = 0;
|
||||
for (; current_line < (MAX_LINES - num_lines) / 2; current_line++) {
|
||||
oled_advance_page(true);
|
||||
}
|
||||
|
||||
oled_write_ln_P(data, false);
|
||||
|
||||
for (current_line += num_lines; current_line < MAX_LINES; current_line++)
|
||||
{
|
||||
oled_advance_page(true);
|
||||
}
|
||||
}
|
||||
|
||||
bool oled_task_user(void) {
|
||||
if (is_keyboard_master()) {
|
||||
render_logo();
|
||||
oled_advance_page(/* clearPageRemainder */ true);
|
||||
oled_write_P(PSTR("Layer: "), false);
|
||||
switch (get_highest_layer(layer_state)) {
|
||||
case BASE:
|
||||
oled_write_ln_P(PSTR("Base"), false);
|
||||
break;
|
||||
case SYMB:
|
||||
oled_write_ln_P(PSTR("Symbols"), false);
|
||||
break;
|
||||
case VIM:
|
||||
oled_write_ln_P(PSTR("Vim"), false);
|
||||
break;
|
||||
case GAME:
|
||||
oled_write_ln_P(PSTR("Gaming"), false);
|
||||
break;
|
||||
}
|
||||
|
||||
render_mods_status();
|
||||
render_led_status();
|
||||
} else {
|
||||
if ((quote_timer != 0 && timer_elapsed32(quote_timer) < 300000 /* 5 minutes */) || !is_oled_on()) {
|
||||
return;
|
||||
}
|
||||
|
||||
srand(timer_read32());
|
||||
int currentQuote = rand() % 63;
|
||||
quote_timer = timer_read32();
|
||||
|
||||
// Max character count on my screen is 20 characters per line.
|
||||
// Quotes are from various fantasy books, mostly either from
|
||||
// The Stormlight Archive or from The Wheel of Time.
|
||||
switch (currentQuote) {
|
||||
case 0:
|
||||
write_quote(PSTR(" Life before Death \n"
|
||||
" Strength before \n"
|
||||
" Weakness \n"
|
||||
" Journey before \n"
|
||||
" Destination"),
|
||||
5);
|
||||
break;
|
||||
case 1:
|
||||
write_quote(PSTR(" Honor is dead, but \n"
|
||||
"I'll see what I can \n"
|
||||
" do."),
|
||||
3);
|
||||
break;
|
||||
case 2:
|
||||
write_quote(PSTR(" You cannot have my \n"
|
||||
" pain!"),
|
||||
2);
|
||||
break;
|
||||
case 3:
|
||||
write_quote(PSTR(" Pride doesn't win \n"
|
||||
" battles"),
|
||||
2);
|
||||
break;
|
||||
case 4:
|
||||
write_quote(PSTR(" I have practice \n"
|
||||
" following fools in \n"
|
||||
" their reckless \n"
|
||||
" pursuits."),
|
||||
4);
|
||||
break;
|
||||
case 5:
|
||||
write_quote(PSTR(" What is the most \n"
|
||||
" important step a \n"
|
||||
" man can take?"),
|
||||
3);
|
||||
break;
|
||||
case 6:
|
||||
write_quote(PSTR(" It's the next one. \n"
|
||||
" Always the next \n"
|
||||
" step, Dalinar."),
|
||||
3);
|
||||
break;
|
||||
case 7:
|
||||
write_quote(PSTR(" NO MATING."), 1);
|
||||
break;
|
||||
case 8:
|
||||
write_quote(PSTR(" Inappropriate? \n"
|
||||
"Such as... dividing \n"
|
||||
" by zero?"),
|
||||
3);
|
||||
break;
|
||||
case 9:
|
||||
write_quote(PSTR(" I am a stick!"), 1);
|
||||
break;
|
||||
case 10:
|
||||
write_quote(PSTR(" But you could be \n"
|
||||
" fire!"),
|
||||
1);
|
||||
break;
|
||||
case 11:
|
||||
write_quote(PSTR(" Sometimes a \n"
|
||||
" hyprocrite is \n"
|
||||
" nothing more than \n"
|
||||
" than a man in the \n"
|
||||
"process of changing"),
|
||||
5);
|
||||
break;
|
||||
case 12:
|
||||
write_quote(PSTR(" You surrender when \n"
|
||||
" you are dead. Many \n"
|
||||
"a man has been given\n"
|
||||
" less."),
|
||||
4);
|
||||
break;
|
||||
case 13:
|
||||
write_quote(PSTR(" Kneel and swear to \n"
|
||||
" the Lord Dragon,...\n"
|
||||
" or you will be \n"
|
||||
" knelt."),
|
||||
4);
|
||||
break;
|
||||
case 14:
|
||||
write_quote(PSTR("I'm right, anyway. I\n"
|
||||
"wish I wasn't, but I\n"
|
||||
" am. I bloody am."),
|
||||
3);
|
||||
break;
|
||||
case 15:
|
||||
write_quote(PSTR(" Death rides on my \n"
|
||||
" shoulder,. Death \n"
|
||||
" walks in my \n"
|
||||
" footsteps. I am \n"
|
||||
" death."),
|
||||
5);
|
||||
break;
|
||||
case 16:
|
||||
write_quote(PSTR(" The Golden Crane \n"
|
||||
" flies for Tarmon \n"
|
||||
" Gai'don"),
|
||||
3);
|
||||
break;
|
||||
case 17:
|
||||
write_quote(PSTR("You humans are very \n"
|
||||
" excitable"),
|
||||
2);
|
||||
break;
|
||||
case 18:
|
||||
write_quote(PSTR(" Phaw!"), 1);
|
||||
break;
|
||||
case 19:
|
||||
write_quote(PSTR("I may be a fool, but\n"
|
||||
" I intend to be a \n"
|
||||
" live fool."),
|
||||
3);
|
||||
break;
|
||||
case 20:
|
||||
write_quote(PSTR(" Anyone who claimed \n"
|
||||
" that old age had \n"
|
||||
" brought them \n"
|
||||
"patience was either \n"
|
||||
" lying or senile."),
|
||||
5);
|
||||
break;
|
||||
case 21:
|
||||
write_quote(PSTR("Death is light as a \n"
|
||||
"feather; duty, heavy\n"
|
||||
" as a mountain"),
|
||||
3);
|
||||
break;
|
||||
case 22:
|
||||
write_quote(PSTR("Dovie'andi se tovya \n"
|
||||
" sagain."),
|
||||
2);
|
||||
break;
|
||||
case 23:
|
||||
write_quote(PSTR(" Carai an Caldazar! \n"
|
||||
"Carai an Ellisande! \n"
|
||||
" Al Ellisande!"),
|
||||
3);
|
||||
break;
|
||||
case 24:
|
||||
write_quote(PSTR(" Mia dovienya \n"
|
||||
" nesodhin soende."),
|
||||
2);
|
||||
break;
|
||||
case 25:
|
||||
write_quote(PSTR(" The Wheel of Time \n"
|
||||
"turns, and Ages come\n"
|
||||
" and pass, leaving \n"
|
||||
"memories that become\n"
|
||||
" legend."),
|
||||
5);
|
||||
break;
|
||||
case 26:
|
||||
write_quote(PSTR(" Legend fades to \n"
|
||||
"myth, and even myth \n"
|
||||
" is long forgotten \n"
|
||||
" when the Age that \n"
|
||||
"gave it birth comes \n"
|
||||
" again."),
|
||||
6);
|
||||
break;
|
||||
case 27:
|
||||
write_quote(PSTR(" What is too absurd \n"
|
||||
" to believe is \n"
|
||||
"believed because it \n"
|
||||
"is too absurd to be \n"
|
||||
" a lie."),
|
||||
5);
|
||||
break;
|
||||
case 28:
|
||||
write_quote(PSTR("And you gave me the \n"
|
||||
" way out! Chew on \n"
|
||||
"that bitterness for \n"
|
||||
"lunch, you flaming, \n"
|
||||
"burning, misbegotten\n"
|
||||
" liars!"),
|
||||
6);
|
||||
break;
|
||||
case 29:
|
||||
write_quote(PSTR(" He was going to \n"
|
||||
"start having, 'I am \n"
|
||||
"not a bloody Lord', \n"
|
||||
" embroidered on his \n"
|
||||
" coats."),
|
||||
5);
|
||||
break;
|
||||
case 30:
|
||||
write_quote(PSTR("All was not lost, of\n"
|
||||
" course. All was \n"
|
||||
" never lost as long \n"
|
||||
" as you were alive."),
|
||||
4);
|
||||
break;
|
||||
case 31:
|
||||
write_quote(PSTR(" Everything is just \n"
|
||||
" bloody fine!"),
|
||||
2);
|
||||
break;
|
||||
case 32:
|
||||
write_quote(PSTR("The wheel weaves as \n"
|
||||
" the wheel wills"),
|
||||
2);
|
||||
break;
|
||||
case 33:
|
||||
write_quote(PSTR(" Time to toss the \n"
|
||||
" dice"),
|
||||
2);
|
||||
break;
|
||||
case 34:
|
||||
write_quote(PSTR("Always plan for the \n"
|
||||
" worst, child, that \n"
|
||||
" way all your \n"
|
||||
" surprises are \n"
|
||||
" pleasant ones."),
|
||||
5);
|
||||
break;
|
||||
case 35:
|
||||
write_quote(PSTR("'Pessimism, she is a\n"
|
||||
" fond friend of \n"
|
||||
"yours, yes?' 'That's\n"
|
||||
" uncalled for. I \n"
|
||||
" barely know her. \n"
|
||||
"Mere acquaintances, \n"
|
||||
" at best.'"),
|
||||
7);
|
||||
break;
|
||||
case 36:
|
||||
write_quote(PSTR(" Do not trouble \n"
|
||||
"trouble till trouble\n"
|
||||
" troubles you."),
|
||||
3);
|
||||
break;
|
||||
case 37:
|
||||
write_quote(PSTR("If your enemy offers\n"
|
||||
" you two targets, \n"
|
||||
" strike at a third."),
|
||||
3);
|
||||
break;
|
||||
case 38:
|
||||
write_quote(PSTR("The wind was not the\n"
|
||||
"beginning. There are\n"
|
||||
" neither beginnings \n"
|
||||
" nor endings to the \n"
|
||||
" turning of the \n"
|
||||
" Wheel of Time. But \n"
|
||||
" it was _a_ \n"
|
||||
" beginning."),
|
||||
8);
|
||||
break;
|
||||
case 39:
|
||||
write_quote(PSTR("Bloody flaming ashes"), 1);
|
||||
break;
|
||||
case 40:
|
||||
write_quote(PSTR("Then follow Lord Mat\n"
|
||||
" whenever he calls \n"
|
||||
"To dance with Jak O'\n"
|
||||
" the Shadows."),
|
||||
4);
|
||||
break;
|
||||
case 41:
|
||||
write_quote(PSTR(" There are no \n"
|
||||
" endings, and never \n"
|
||||
"will be endings, to \n"
|
||||
" the turning of the \n"
|
||||
" Wheel of Time. But \n"
|
||||
" it was an ending."),
|
||||
6);
|
||||
break;
|
||||
case 42:
|
||||
write_quote(PSTR(" TAI'SHAR MALKIER!"), 1);
|
||||
break;
|
||||
case 43:
|
||||
write_quote(PSTR("I would not mind you\n"
|
||||
" in my head, if you \n"
|
||||
"were not so clearly \n"
|
||||
" mad."),
|
||||
4);
|
||||
break;
|
||||
case 44:
|
||||
write_quote(PSTR(" ILYENA, MY LOVE, \n"
|
||||
" FORGIVE ME!"),
|
||||
2);
|
||||
break;
|
||||
case 45:
|
||||
write_quote(PSTR(" Oh, Light. That's \n"
|
||||
"impossible! We can't\n"
|
||||
" use it! Cast it \n"
|
||||
"away! That is death \n"
|
||||
" we hold, death and \n"
|
||||
"betrayal. It is HIM."),
|
||||
6);
|
||||
break;
|
||||
case 46:
|
||||
write_quote(PSTR("Nothing ever goes as\n"
|
||||
" you expect. Expect \n"
|
||||
" nothing, and you \n"
|
||||
" will not be \n"
|
||||
" surprised. Expect \n"
|
||||
" nothing. Hope for \n"
|
||||
" nothing. Nothing."),
|
||||
7);
|
||||
break;
|
||||
case 47:
|
||||
write_quote(PSTR(" Distant Weeping"), 1);
|
||||
break;
|
||||
case 48:
|
||||
write_quote(PSTR("Are you real? Am I?"), 1);
|
||||
break;
|
||||
case 49:
|
||||
write_quote(PSTR(" I'm just an old \n"
|
||||
"gleeman, who could I\n"
|
||||
" possibly be \n"
|
||||
" dangerous to?"),
|
||||
4);
|
||||
break;
|
||||
case 50:
|
||||
write_quote(PSTR(" Mat bloody Cauthon \n"
|
||||
" is no bloody hero!"),
|
||||
2);
|
||||
break;
|
||||
case 51:
|
||||
write_quote(PSTR("You are a coward and\n"
|
||||
" a tyrant. I'd name \n"
|
||||
" you Darkfriend as \n"
|
||||
"well, but I suspect \n"
|
||||
" that the Dark One \n"
|
||||
" would perhaps be \n"
|
||||
" embarrassed to \n"
|
||||
"associate with you."),
|
||||
8);
|
||||
break;
|
||||
case 52:
|
||||
write_quote(PSTR(" I win again, Lews \n"
|
||||
" Therin."),
|
||||
2);
|
||||
break;
|
||||
case 53:
|
||||
write_quote(PSTR("May you always find \n"
|
||||
" water and shade."),
|
||||
2);
|
||||
break;
|
||||
case 54:
|
||||
write_quote(PSTR(" I will never serve \n"
|
||||
"you, Father of Lies.\n"
|
||||
"In a thousand lives,\n"
|
||||
"I never have. I know\n"
|
||||
" that. I'm sure of \n"
|
||||
"it. Come. It is time\n"
|
||||
" to die."),
|
||||
7);
|
||||
break;
|
||||
case 55:
|
||||
write_quote(PSTR(" There may be more \n"
|
||||
"than one way to skin\n"
|
||||
" a cat, but the cat \n"
|
||||
"isn't going to like \n"
|
||||
" any of them."),
|
||||
5);
|
||||
break;
|
||||
case 56:
|
||||
write_quote(PSTR("Please see that they\n"
|
||||
" know, although the \n"
|
||||
"word Black may brand\n"
|
||||
"my name forever, my \n"
|
||||
"soul is Brown. Tell \n"
|
||||
" them..."),
|
||||
6);
|
||||
break;
|
||||
case 57:
|
||||
write_quote(PSTR(" 'Your soul is of a \n"
|
||||
"pure white, Verin,' \n"
|
||||
"Egwene said softly. \n"
|
||||
" 'Like the Light \n"
|
||||
" itself.'"),
|
||||
5);
|
||||
break;
|
||||
case 58:
|
||||
write_quote(PSTR(" Asha'man, Kill!"), 1);
|
||||
break;
|
||||
case 59:
|
||||
write_quote(PSTR(" Let the lord of \n"
|
||||
" chaos rule."),
|
||||
2);
|
||||
break;
|
||||
case 60:
|
||||
write_quote(PSTR(" There's always \n"
|
||||
" another secret."),
|
||||
2);
|
||||
break;
|
||||
case 61:
|
||||
write_quote(PSTR(" You see the great \n"
|
||||
"thing about madness \n"
|
||||
"is that it's all in \n"
|
||||
" your head."),
|
||||
4);
|
||||
break;
|
||||
case 62:
|
||||
write_quote(PSTR(" In one Age, called \n"
|
||||
" the Third Age by \n"
|
||||
"some, an Age yet to \n"
|
||||
" come, an Age long \n"
|
||||
" past, a wind rose \n"
|
||||
" above..."),
|
||||
6);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||
// On the left, control the volume. On the right, scroll the page
|
||||
if (index == 0) {
|
||||
if (clockwise) {
|
||||
tap_code(KC_WH_U);
|
||||
} else {
|
||||
tap_code(KC_WH_D);
|
||||
}
|
||||
} else {
|
||||
if (clockwise) {
|
||||
tap_code(KC_VOLU);
|
||||
} else {
|
||||
tap_code(KC_VOLD);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
KEY_LOCK_ENABLE = yes
|
||||
CONSOLE_ENABLE = no
|
||||
OLED_ENABLE = yes
|
||||
ENCODER_ENABLE = yes
|
Loading…
Add table
Add a link
Reference in a new issue