forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'qmk/develop' into develop
* qmk/develop: (57 commits) [Keyboard] Add Irene Keyboard (qmk#13991) Fix `combo_disable` (qmk#13988) Fix Line endings in Absinthe VIA keymap (qmk#13997) [Keymap] clean up userspace, add XD75 / Keyboardio Atreus (qmk#13121) Crin Refactor (qmk#13982) Fix pmw3360 code to only output debug info if mouse debugging is enabled (qmk#13993) [Keyboard] Add Gud70 (qmk#12575) [Keyboard] Adding VIA to Absinthe (qmk#13031) [Keyboard] Macropad v2 polling rate fix (qmk#13129) [Keyboard] Add eniigmakeyboards/ek60 (qmk#13140) [Keyboard] Add n9 macropad (qmk#13168) [Keyboard] Updates to ScrabblePad (qmk#13177) [Keymap] adds sulrich crkbd (corne) personal keymap (qmk#13186) [Keymap] Updates to jdelkins userspace and keymaps (qmk#13216) [Keyboard] Add optional colemak layout to keymap (qmk#13217) [Keyboard] add support for alternate ortho UD40 PCB (qmk#13491) [Keyboard] Add split_3x5_3 layout support to boardsource/microdox (qmk#13323) [Keyboard] Interlace matrix scan for performance on Moonlander (qmk#13625) [Keybord] Add LS_60 keyboard (qmk#13851) [Keyboard] Add cest73/tkm keyboard (qmk#13939) ...
- Loading branch information
Showing
431 changed files
with
18,078 additions
and
4,272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
/* Copyright 2021 alittlepeace | ||
* | ||
* 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 | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
[0] = LAYOUT_default( | ||
KC_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_INS, KC_HOME, 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_DEL, KC_END, KC_PGDN, | ||
KC_LCTL, 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, MO(1), KC_UP, | ||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT), | ||
|
||
[1] = LAYOUT_default( | ||
_______, 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_PSCR, KC_SLCK, KC_PAUS, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______), | ||
|
||
[2] = LAYOUT_default( | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______), | ||
|
||
[3] = LAYOUT_default( | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______) | ||
|
||
}; | ||
|
||
bool encoder_update_user(uint8_t index, bool clockwise) { | ||
if (index == 0) { /* First encoder */ | ||
switch(get_highest_layer(layer_state)){ | ||
case 1: | ||
if (clockwise){ | ||
tap_code(KC_VOLU); | ||
} else{ | ||
tap_code(KC_VOLD); | ||
} | ||
break; | ||
default: | ||
if (clockwise) { | ||
tap_code(KC_WH_D); | ||
} else { | ||
tap_code(KC_WH_U); | ||
} | ||
break; | ||
} | ||
} | ||
return true; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
VIA_ENABLE = yes | ||
MOUSEKEY_ENABLE = yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,51 @@ | ||
/* Copyright 2021 Joshua 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 | ||
|
||
// Layer definitions | ||
// Do not allow one macro to contain the other macro | ||
#define DYNAMIC_MACRO_NO_NESTING | ||
|
||
// "THE most important tap hold configuration setting" | ||
// https://precondition.github.io/home-row-mods#ignore-mod-tap-interrupt | ||
// https://docs.qmk.fm/#/tap_hold?id=ignore-mod-tap-interrupt | ||
#define IGNORE_MOD_TAP_INTERRUPT | ||
|
||
// This one is a style choice. Play with it both on and off to see which | ||
// one suits you better. | ||
// https://precondition.github.io/home-row-mods#permissive-hold | ||
// https://docs.qmk.fm/#/tap_hold?id=permissive-hold | ||
#define PERMISSIVE_HOLD | ||
|
||
// If you press a dual-role key for longer than TAPPING_TERM, then | ||
// release it without pressing another key, without this setting nothing | ||
// would happen. With this setting, it sends the key's tap function. | ||
// https://precondition.github.io/home-row-mods#retro-tapping | ||
#define RETRO_TAPPING | ||
|
||
// Disable some unused features to save space | ||
#undef LOCKING_SUPPORT_ENABLE | ||
#undef LOCKING_RESYNC_ENABLE | ||
|
||
///// | ||
// Flags for stuff in my userspace | ||
|
||
#define USER_INCLUDE_GAMING_LAYER | ||
#define USER_INCLUDE_MACRO_LAYER | ||
|
||
#define L_COLEMAK 0 | ||
#define L_NUM 1 | ||
#define L_EXTEND 2 | ||
#define L_FUNC 3 | ||
#define L_LL_R 4 | ||
#define L_LL_E 5 | ||
#define L_LL_I 6 | ||
// "Super Alt-Tab" | ||
// https://docs.qmk.fm/#/feature_macros?id=super-alt%E2%86%AFtab | ||
#define USER_SUPER_ALT_TAB_TIMEOUT 500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,78 +1,95 @@ | ||
/* | ||
* Keyboard: Atreus | ||
* Keymap: replicaJunction | ||
* Version: 2.1 | ||
/* Copyright 2021 Joshua 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/>. | ||
*/ | ||
|
||
#include QMK_KEYBOARD_H | ||
#include "replicaJunction.h" | ||
|
||
#define BSP_SYM LT(L_SYMBOLS, KC_BSPC) | ||
#define SPC_NAV LT(L_NAVIGATION, KC_SPC) | ||
#define EQL_FUN LT(L_FN, KC_EQL) | ||
|
||
#define ESC_SFT LSFT_T(KC_ESC) | ||
#define TAB_SFT RSFT_T(KC_TAB) | ||
|
||
#define DF_TYPE DF(L_BASE) | ||
#define DF_GAME DF(L_GAMING) | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
|
||
[L_COLEMAK] = LAYOUT( | ||
KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, | ||
KC_A, KC_R_LT, KC_S_LT, KC_T, KC_G, KC_M, KC_N, KC_E_LT, KC_I_LT, KC_O, | ||
KX_Z_MT, KX_X_MT, KX_C_MT, KX_D_MT, KC_V, KC_K, KX_H_MT, KX_COMT, KX_DOMT, KX_SLMT, | ||
TD_LAYR, KC_LGUI, KC_TAB, KC_LSFT, KX_BKNM, KX_DCTL, KX_NALT, KX_SPAC, KC_RSFT, KC_MINS, KC_QUOT, KC_EQL | ||
) | ||
, | ||
[L_BASE] = LAYOUT( | ||
KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, | ||
KC_A, KC_R, KC_S, KC_T, KC_G, KC_M, KC_N, KC_E, KC_I, KC_O, | ||
KC_Z, KC_X, KC_C, KC_D, KC_V, KC_K, KC_H, KC_COMM,KC_DOT, KC_SLSH, | ||
KC_ESC, KC_LGUI,KC_TAB, ESC_SFT,BSP_SYM,CTL_DEL,ALT_ENT,SPC_NAV,TAB_SFT,KC_MINS,KC_QUOT,EQL_FUN | ||
), | ||
|
||
[L_NUM] = LAYOUT( | ||
KC_EXLM, KC_AT, KC_LCBR, KC_RCBR, KC_SLSH, KC_COLN, KC_7, KC_8, KC_9, KC_SLSH, | ||
KC_HASH, KC_DLR, KC_LPRN, KC_RPRN, KC_PIPE, KC_HASH, KC_4, KC_5, KC_6, KC_ASTR, | ||
KC_PERC, KC_CIRC, KC_LBRC, KC_RBRC, KC_BSLS, KC_BSPC, KC_1, KC_2, KC_3, KC_MINS, | ||
_______, KC_AMPR, KC_TILD, KC_GRV, ooooooo, _______, KC_ENT, MO_FUNC, KC_0, KC_DOT, KC_EQL, KC_PLUS | ||
) | ||
, | ||
[L_GAMING] = LAYOUT( | ||
_______,_______,_______,_______,_______, _______,_______,_______,_______,_______, | ||
_______,_______,_______,_______,_______, _______,_______,_______,_______,_______, | ||
_______,_______,KC_C, KC_D, _______, _______,_______,_______,_______,_______, | ||
_______,KC_TAB, KC_LALT,KC_LSFT,KC_SPC, KC_LCTL,KC_LALT,KC_BSPC,KC_BTN1,KC_BTN2,KC_BTN3,_______ | ||
), | ||
|
||
[L_EXTEND] = LAYOUT( | ||
_______, _______, _______, KC_APP, KX_CGR, KC_PGUP, KC_HOME, KC_UP, KC_END, KC_DEL, | ||
KC_LGUI, KC_LSFT, KC_LALT, KC_LCTL, _______, KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, KC_BSPC, | ||
_______, _______, _______, KX_SRCH, KX_PAST, _______, KX_STAB, KC_TAB, _______, KC_INS, | ||
_______, _______, _______, _______, MO_FUNC, KC_DEL, KC_ENT, _______, _______, _______, _______, KC_PSCR | ||
) | ||
, | ||
[L_NUMBERS] = LAYOUT( | ||
_______,_______,_______,_______,_______, KC_HASH,KC_7, KC_8, KC_9, KC_SLSH, | ||
_______,_______,_______,_______,_______, KC_PLUS,KC_4, KC_5, KC_6, KC_ASTR, | ||
_______,_______,_______,_______,_______, KC_MINS,KC_1, KC_2, KC_3, KC_BSLS, | ||
_______,_______,_______,_______,_______,_______,_______,_______,KC_0, KC_0, KC_DOT, KC_ENT | ||
), | ||
|
||
[L_FUNC] = LAYOUT( | ||
_______, _______, M_LCLIK, M_RCLIK, M_MCLIK, KC_VOLU, KC_F9, KC_F10, KC_F11, KC_F12, | ||
KC_LGUI, KC_LSFT, KC_LALT, KC_LCTL, M_WHLUP, KC_MUTE, KC_F5, KC_F6, KC_F7, KC_F8, | ||
M_LEFT, M_DOWN, M_UP, M_RIGHT, M_WHLDN, KC_VOLD, KC_F1, KC_F2, KC_F3, KC_F4, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
) | ||
, | ||
[L_SYMBOLS] = LAYOUT( | ||
KC_AT, KC_LT, KC_DLR, KC_GT, XXXXXXX, XXXXXXX,KC_LBRC,KC_UNDS,KC_RBRC,XXXXXXX, | ||
KC_BSLS,KC_LPRN,KC_DQUO,KC_RPRN,KC_HASH, KC_PERC,KC_LCBR,KC_EQL, KC_RCBR,KC_PIPE, | ||
KC_EXLM,KC_COLN,KC_ASTR,KC_PLUS,XXXXXXX, XXXXXXX,KC_AMPR,KC_CIRC,KC_TILD,KC_GRV, | ||
_______,_______,_______,_______,ooooooo,_______,_______,ooooooo,CAPWORD,_______,_______,_______ | ||
), | ||
|
||
[L_LL_R] = LAYOUT( | ||
_______, _______, _______, _______, _______, KC_COLN, KC_P7, KC_P8, KC_P9, KC_PSLS, | ||
_______, ooooooo, KC_AMPR, KC_PIPE, _______, KC_HASH, KC_P4, KC_P5, KC_P6, KC_PAST, | ||
_______, _______, _______, _______, _______, KC_BSPC, KC_P1, KC_P2, KC_P3, KC_PMNS, | ||
_______, _______, _______, _______, _______, _______, _______, _______, KC_0, KC_DOT, KC_EQL, KC_PLUS | ||
) | ||
, | ||
[L_NAVIGATION] = LAYOUT( | ||
OS_UNDO,OS_CUT, OS_PAST,OS_COPY,OS_SALL, KC_PGUP,KC_HOME,KC_UP, KC_END, KC_DEL, | ||
KC_LGUI,KC_LALT,KC_LSFT,KC_LCTL,_______, KC_PGDN,KC_LEFT,KC_DOWN,KC_RGHT,KC_BSPC, | ||
WIN_V, _______,_______,OS_FIND,SEARCH, _______,SFT_TAB,KC_TAB, KC_APP, KC_PSCR, | ||
_______,_______,_______,NUMWORD,ooooooo,_______,_______,ooooooo,_______,_______,_______,_______ | ||
), | ||
|
||
[L_LL_E] = LAYOUT( | ||
RJ_MAKE, RJ_EQ, RJ_LEQ, RJ_GEQ, RJ_GEQR, _______, _______, _______, _______, _______, | ||
_______, _______, RJ_SELS, RJ_DUND, _______, _______, _______, ooooooo, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
) | ||
, | ||
[L_FN] = LAYOUT( | ||
RESET, _______,_______,_______,_______, KC_VOLU,KC_F9, KC_F10, KC_F11, KC_F12, | ||
MS_JIGL,_______,_______,_______,_______, KC_MUTE,KC_F5, KC_F6, KC_F7, KC_F8, | ||
_______,K_SECR1,K_SECR2,K_SECR3,K_SECR4, KC_VOLD,KC_F1, KC_F2, KC_F3, KC_F4, | ||
DF_TYPE,DF_GAME,_______,_______,_______,KC_LCTL,KC_LALT,_______,_______,_______,_______,ooooooo | ||
), | ||
|
||
[L_LL_I] = LAYOUT( | ||
KC_EXLM, KC_AT, KC_LCBR, KC_RCBR, KC_SLSH, _______, KC_UNDS, KC_GRV, _______, _______, | ||
KC_HASH, KC_DLR, KC_LPRN, KC_RPRN, KC_PIPE, _______, KC_MINS, KC_QUOT, ooooooo, _______, | ||
KC_PERC, KC_CIRC, KC_LBRC, KC_RBRC, KC_BSLS, _______, KC_TILD, KC_DQT, _______, _______, | ||
_______, KC_AMPR, KC_LABK, KC_RABK, _______, _______, _______, _______, _______, _______, _______, _______ | ||
[L_MACROS] = LAYOUT( | ||
QK_MAKE,_______,DM_REC2,DM_REC1,DM_RSTP, _______,SHEBANG,_______,_______,_______, | ||
QK_FLSH,_______,DM_PLY2,DM_PLY1,_______, PRG_NE, PRG_EQ, PRG_GEQ,PRG_LEQ,PRG_ARR, | ||
QK_VERS,_______,_______,_______,_______, _______,PS_ITEM,FS_PIPE,_______,FS_ARR, | ||
_______,_______,_______,_______,ooooooo,_______,_______,ooooooo,_______,_______,_______,_______ | ||
) | ||
|
||
}; | ||
|
||
// Uncomment any of these to add keyboard-specific code. Otherwise, they | ||
// will use user defaults defined in the replicaJunction.h header file. | ||
// Template | ||
// [L_FUNC] = LAYOUT( | ||
// _______,_______,_______,_______,_______, _______,_______,_______,_______,_______, | ||
// _______,_______,_______,_______,_______, _______,_______,_______,_______,_______, | ||
// _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, | ||
// _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______ | ||
// ), | ||
|
||
// bool process_record_keymap(uint16_t keycode, keyrecord_t *record) { | ||
// return true; | ||
// } | ||
}; | ||
|
||
// void matrix_init_keymap(void) {}; | ||
layer_state_t layer_state_set_user(layer_state_t state) { | ||
return update_tri_layer_state(state, L_SYMBOLS, L_NAVIGATION, L_MACROS); | ||
} | ||
|
||
// void matrix_scan_keymap(void) {}; |
Oops, something went wrong.