Merge remote-tracking branch 'qmk/master' into merge-2023-12-16
This commit is contained in:
commit
66574eb854
6566 changed files with 124240 additions and 243032 deletions
|
|
@ -4,6 +4,6 @@
|
|||
#include "color.h"
|
||||
|
||||
static inline void rgblite_setrgb(uint8_t _r, uint8_t _g, uint8_t _b) {
|
||||
LED_TYPE leds[RGBLED_NUM] = {{.r = _r, .g = _g, .b = _b}, {.r = _r, .g = _g, .b = _b}};
|
||||
rgb_led_t leds[RGBLED_NUM] = {{.r = _r, .g = _g, .b = _b}, {.r = _r, .g = _g, .b = _b}};
|
||||
ws2812_setleds(leds, RGBLED_NUM);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
#include "color.h"
|
||||
|
||||
static inline void rgblite_setrgb(uint8_t _r, uint8_t _g, uint8_t _b) {
|
||||
LED_TYPE leds[RGBLED_NUM] = {{.r = _r, .g = _g, .b = _b}, {.r = _r, .g = _g, .b = _b}};
|
||||
rgb_led_t leds[RGBLED_NUM] = {{.r = _r, .g = _g, .b = _b}, {.r = _r, .g = _g, .b = _b}};
|
||||
ws2812_setleds(leds, RGBLED_NUM);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,24 +0,0 @@
|
|||
/* Copyright 2021 narze
|
||||
*
|
||||
* 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: Base Layer
|
||||
LAYOUT_ortho_1x4(HYPR(KC_F2), HYPR(KC_F1), LCTL(KC_B), LCTL(KC_X)),
|
||||
|
||||
};
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
# narze Keymap for XD004 PCB
|
||||
|
||||
(Key 1 is on the opposite of USB port side, so I flip the keys to make usb port be on the left)
|
||||
|
||||
- Key 1 : Hyper + F2
|
||||
- Key 2 : Hyper + F1
|
||||
- Key 3 : Ctrl + B (Microphone : Toggle mute)
|
||||
- Key 4 : Ctrl + X (Microphone : Push to talk)
|
||||
|
||||
## Build & Flash
|
||||
|
||||
- Put this board in DFU : bridge the last two pins (#5 & 6) of the 6-pin "J2" header on the opposite edge of the board to the USB port.
|
||||
- `make xd004/v1:narze:flash` or `qmk flash -kb xd004/v1 -km narze`
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#define FORCE_NKRO
|
||||
|
||||
#define MOUSEKEY_DELAY 50
|
||||
#define MOUSEKEY_INTERVAL 15
|
||||
#define MOUSEKEY_MAX_SPEED 4
|
||||
#define MOUSEKEY_TIME_TO_MAX 50
|
||||
#define MOUSEKEY_WHEEL_MAX_SPEED 1
|
||||
#define MOUSEKEY_WHEEL_TIME_TO_MAX 50
|
||||
|
||||
#define PERMISSIVE_HOLD
|
||||
#define TAPPING_TERM 200
|
||||
#define TAPPING_TOGGLE 2
|
||||
|
|
@ -1,119 +0,0 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
#define TOP LCTL(KC_HOME)
|
||||
#define BOTTOM LCTL(KC_END)
|
||||
|
||||
#define FN MO(L_FN)
|
||||
#define FN_CAPS LT(L_FN, KC_CAPS)
|
||||
#define FN_FNLK TT(L_FN)
|
||||
|
||||
#define COMMA UC(0x002C)
|
||||
#define L_PAREN UC(0x0028)
|
||||
#define R_PAREN UC(0x0029)
|
||||
#define EQUALS UC(0x003D)
|
||||
#define TIMES UC(0x00D7)
|
||||
#define DIVIDE UC(0x00F7)
|
||||
#define MINUS UC(0x2212)
|
||||
|
||||
void eeconfig_init_user(void) {
|
||||
set_unicode_input_mode(UNICODE_MODE_LINUX);
|
||||
}
|
||||
|
||||
enum layers {
|
||||
L_BASE,
|
||||
L_FN,
|
||||
L_NUMPAD,
|
||||
};
|
||||
|
||||
enum custom_keycodes {
|
||||
CLEAR = SAFE_RANGE,
|
||||
NUMPAD,
|
||||
};
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
case CLEAR:
|
||||
if (record->event.pressed) {
|
||||
SEND_STRING(SS_LCTL("a") SS_TAP(X_DELETE));
|
||||
}
|
||||
return false;
|
||||
|
||||
case NUMPAD:
|
||||
if (record->event.pressed) {
|
||||
layer_invert(L_NUMPAD);
|
||||
bool num_lock = host_keyboard_led_state().num_lock;
|
||||
if (num_lock != (bool)IS_LAYER_ON(L_NUMPAD)) {
|
||||
tap_code(KC_NUM_LOCK); // Toggle Num Lock to match layer state.
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
default:
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Base layer
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
|
||||
* │Esc│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ \ │ ` │
|
||||
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
|
||||
* │Tab│ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │Bsp│Del│
|
||||
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
|
||||
* │FnC│ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │Ent│Ent│PgU│
|
||||
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
|
||||
* │LSf│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │RSf│RSf│ ↑ │PgD│
|
||||
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
|
||||
* │LCt│LGu│LAl│Spc│Spc│Spc│Spc│Spc│Spc│RAl│FnL│RCt│ ← │ ↓ │ → │
|
||||
* └───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘
|
||||
*/
|
||||
[L_BASE] = LAYOUT_ortho_5x15(
|
||||
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_BSLS, KC_GRV,
|
||||
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,
|
||||
FN_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_ENT, KC_PGUP,
|
||||
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_RSFT, KC_UP, KC_PGDN,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_RALT, FN_FNLK, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
|
||||
/* Base layer
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
|
||||
* │ │F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│Num│Scr│
|
||||
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
|
||||
* │M4 │M2 │M↑ │M1 │M3 │M5 │ │PgU│ ↑ │PgD│Ply│Prv│Nxt│Clr│Ins│
|
||||
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
|
||||
* │ │M← │M↓ │M→ │MW↑│ │Hom│ ← │ ↓ │ → │End│ │ │ │Top│
|
||||
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
|
||||
* │ │MA0│MA2│MW←│MW→│ │ │ │VoD│VoU│Mut│ │ │PgU│Btm│
|
||||
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
|
||||
* │ │ │ │MW↓│MW↓│MW↓│ │ │ │ │ │App│Hom│PgD│End│
|
||||
* └───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘
|
||||
*/
|
||||
[L_FN] = LAYOUT_ortho_5x15(
|
||||
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, NUMPAD, KC_PSCR,
|
||||
KC_BTN4, KC_BTN2, KC_MS_U, KC_BTN1, KC_BTN3, KC_BTN5, _______, KC_PGUP, KC_UP, KC_PGDN, KC_MPLY, KC_MPRV, KC_MNXT, CLEAR, KC_INS,
|
||||
_______, KC_MS_L, KC_MS_D, KC_MS_R, KC_WH_U, _______, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_END, _______, _______, _______, TOP,
|
||||
_______, KC_ACL0, KC_ACL2, KC_WH_L, KC_WH_R, _______, _______, _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, KC_PGUP, BOTTOM,
|
||||
_______, _______, _______, KC_WH_D, KC_WH_D, KC_WH_D, _______, _______, _______, _______, _______, KC_APP, KC_HOME, KC_PGDN, KC_END
|
||||
),
|
||||
|
||||
/* Numpad layer
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
|
||||
* │Num│ │ │ │ │ │ │P7 │P8 │P9 │P- │ − │ = │Num│ │
|
||||
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
|
||||
* │ │ │ │ │ │ │ │P4 │P5 │P6 │P+ │ ( │ ) │ │ │
|
||||
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
|
||||
* │ │ │ │ │ │ │ │P1 │P2 │P3 │P* │ × │PEn│PEn│ │
|
||||
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
|
||||
* │ │ │ │ │ │ │ │P0 │ , │P. │P/ │ ÷ │ │ │ │
|
||||
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
|
||||
* │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
||||
* └───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘
|
||||
*/
|
||||
[L_NUMPAD] = LAYOUT_ortho_5x15(
|
||||
NUMPAD, _______, _______, _______, _______, _______, _______, KC_P7, KC_P8, KC_P9, KC_PMNS, MINUS, EQUALS, NUMPAD, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_P4, KC_P5, KC_P6, KC_PPLS, L_PAREN, R_PAREN, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, KC_PAST, TIMES, KC_PENT, KC_PENT, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_P0, COMMA, KC_PDOT, KC_PSLS, DIVIDE, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
};
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
AUDIO_ENABLE = no
|
||||
BACKLIGHT_ENABLE = no
|
||||
BLUETOOTH_ENABLE = no
|
||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||
COMMAND_ENABLE = yes
|
||||
CONSOLE_ENABLE = yes
|
||||
EXTRAKEY_ENABLE = yes
|
||||
MIDI_ENABLE = no
|
||||
MOUSEKEY_ENABLE = yes
|
||||
NKRO_ENABLE = yes
|
||||
RGBLIGHT_ENABLE = no
|
||||
SLEEP_LED_ENABLE = no
|
||||
TAP_DANCE_ENABLE = no
|
||||
UNICODE_ENABLE = yes
|
||||
VISUALIZER_ENABLE = no
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#undef RGBLED_NUM
|
||||
#define RGBLED_NUM 6
|
||||
#define RGBLIGHT_LAYERS
|
||||
|
||||
#undef RGBLIGHT_EFFECT_BREATHING
|
||||
#undef RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#undef RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
#undef RGBLIGHT_EFFECT_SNAKE
|
||||
#undef RGBLIGHT_EFFECT_KNIGHT
|
||||
#undef RGBLIGHT_EFFECT_CHRISTMAS
|
||||
#undef RGBLIGHT_EFFECT_STATIC_GRADIENT
|
||||
#undef RGBLIGHT_EFFECT_RGB_TEST
|
||||
#undef RGBLIGHT_EFFECT_ALTERNATING
|
||||
#undef RGBLIGHT_EFFECT_TWINKLE
|
||||
//#define RGBLIGHT_HUE_STEP 8
|
||||
//#define RGBLIGHT_SAT_STEP 8
|
||||
|
||||
|
||||
// place overrides here
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
/*
|
||||
Copyright 2018-2022 Eric Gebhart <e.a.gebhart@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/>.
|
||||
*/
|
||||
|
||||
// See: users/ericgebhart.
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
RGBLIGHT_ENABLE = yes
|
||||
RGBLIGHT_ANIMATION = no
|
||||
# BACKLIGHT_ENABLE = yes
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
#define _QW 0
|
||||
#define _LW 1
|
||||
#define _NV 2
|
||||
#define _NM 3
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[_QW] = LAYOUT_ortho_5x15(
|
||||
KC_ESC , KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_MUTE, KC_VOLD, KC_VOLU, KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_BSPC,
|
||||
KC_TAB , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_INS , KC_HOME, KC_PGUP, KC_Y , KC_U , KC_I , KC_O , KC_P , KC_BSPC,
|
||||
MO(_NV), KC_A , KC_S , KC_D , KC_F , KC_G , KC_DEL , KC_END , KC_PGDN, KC_H , KC_J , KC_K , KC_L , KC_SCLN, KC_QUOT,
|
||||
KC_LSFT, KC_Z , KC_X , KC_C , KC_V , KC_B , _______, KC_UP , _______, KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, KC_RSFT,
|
||||
KC_LCTL, KC_LGUI, MO(_NM), KC_LALT, MO(_LW), KC_SPC , KC_LEFT, KC_DOWN, KC_RGHT, KC_ENT , MO(_LW), KC_RALT, KC_RGUI, KC_APP , KC_RCTL
|
||||
),
|
||||
[_LW] = LAYOUT_ortho_5x15(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
KC_ESC , KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , _______, _______, _______, KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , _______,
|
||||
_______, KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , _______, _______, _______, KC_F11 , KC_MINS, KC_EQL , KC_LBRC, KC_RBRC, KC_BSLS,
|
||||
_______, KC_F6 , KC_F7 , KC_F8 , KC_F9 , KC_F10 , _______, _______, _______, KC_F12 , KC_GRV , _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
[_NV] = LAYOUT_ortho_5x15(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, KC_DEL , KC_BSPC, _______, _______, _______, _______, KC_HOME, KC_UP , KC_END , KC_INS , _______,
|
||||
_______, _______, _______, KC_LSFT, KC_LCTL, KC_ENT , _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, KC_DEL , _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGUP, KC_PGDN, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
[_NM] = LAYOUT_ortho_5x15(
|
||||
_______, _______, _______, _______, _______, _______, RGB_TOG, RGB_MOD, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, RGB_HUD, RGB_HUI, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, RGB_SAD, RGB_SAI, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, _______,
|
||||
QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
)
|
||||
};
|
||||
|
|
@ -1 +0,0 @@
|
|||
# Jarreds xd75 keymap
|
||||
|
|
@ -49,7 +49,7 @@ int speed = 300;
|
|||
|
||||
void set_colors(int r, int g, int b) {
|
||||
for(int i = 0; i<6; i++) {
|
||||
sethsv(r, g, b, (LED_TYPE *)&led[i]);
|
||||
sethsv(r, g, b, (rgb_led_t *)&led[i]);
|
||||
}
|
||||
rgblight_set();
|
||||
}
|
||||
|
|
@ -213,7 +213,7 @@ void matrix_scan_user(void) {
|
|||
if (rc == 0) {
|
||||
rc = speed;
|
||||
for(int i = 0; i<6; i++) {
|
||||
sethsv(42*((t+i)%6), 255, 255, (LED_TYPE *)&led[i]);
|
||||
sethsv(42*((t+i)%6), 255, 255, (rgb_led_t *)&led[i]);
|
||||
}
|
||||
rgblight_set();
|
||||
t++; t = t % 6;
|
||||
|
|
@ -224,9 +224,9 @@ void matrix_scan_user(void) {
|
|||
col = (col + 1) % 36;
|
||||
for (int i = 0; i<6; i++) {
|
||||
if (i==t)
|
||||
sethsv(42*(((col-1)/6)%6), 255, 255, (LED_TYPE *)&led[(right ? t : 5-t)]);
|
||||
sethsv(42*(((col-1)/6)%6), 255, 255, (rgb_led_t *)&led[(right ? t : 5-t)]);
|
||||
else
|
||||
sethsv(0, 0, 0, (LED_TYPE *)&led[right ? i : 5-i]);
|
||||
sethsv(0, 0, 0, (rgb_led_t *)&led[right ? i : 5-i]);
|
||||
}
|
||||
rgblight_set();
|
||||
t++; t = t % 6;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "keymap_steno.h"
|
||||
|
||||
void matrix_init_user(void) {
|
||||
steno_set_mode(STENO_MODE_GEMINI);
|
||||
|
|
|
|||
|
|
@ -1,29 +0,0 @@
|
|||
// Copyright 2021 Paul Maria Scheikl (@ScheiklP)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
// place overrides here
|
||||
#define AUTO_SHIFT_TIMEOUT 175
|
||||
#define NO_AUTO_SHIFT_SPECIAL
|
||||
|
||||
// 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 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 32
|
||||
// Time between cursor movements (KC_ACL2)
|
||||
#define MK_C_INTERVAL_2 16
|
||||
|
|
@ -1,101 +0,0 @@
|
|||
// Copyright 2021 Paul Maria Scheikl (@ScheiklP)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "koy_keys_on_quertz_de_latin1.h"
|
||||
|
||||
// Layer shorthand
|
||||
#define _1 0
|
||||
#define _3 1
|
||||
#define _4 2
|
||||
#define _7 3
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* Layer 1
|
||||
* .---------------------------------------------------------------------------------------------------------------------------------------------------.
|
||||
* | ESC | 1 | 2 | 3 | 4 | 5 | Record 1 | Play 1 | 6 | 7 | 8 | 9 | 0 | DEL | BACKSP |
|
||||
* |---------+---------+--------+--------+--------+--------+-----------+-----------+--------+---------+--------+--------+--------+-----------+---------|
|
||||
* | TAB | K | . | O | , | Y | Record 2 | Play 2P | V | G | C | L | ẞ | Z | |
|
||||
* |---------+---------+--------+--------+--------+--------+-----------+-----------+--------+---------+--------+--------+--------+-----------+---------|
|
||||
* | Layer 3 | H | A | E | I | U | Undo | Stop Rec. | D | T | R | N | S | F | Layer 3 |
|
||||
* |---------+---------+--------+--------+--------+--------+-----------+-----------+--------+---------+--------+--------+--------+-----------+---------|
|
||||
* | LSHIFT | X | Q | Ä | Ü | Ö | Copy | Cut | B | P | W | M | J | RSHIFT | RSHIFT |
|
||||
* |---------+---------+--------+--------+--------+--------+-----------+-----------+--------+---------+--------+--------+--------+-----------+---------|
|
||||
* | LCTRL | Layer 4 | | LGUI | LALT | SPACE | Paste | SPACE | SPACE | Layer 4 | RCTRL | | | KEYLOCK | Layer 7 |
|
||||
* '---------------------------------------------------------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
[_1] = LAYOUT_ortho_5x15( /* KOY */
|
||||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, DM_REC1, DM_PLY1, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, KC_BSPC,
|
||||
KC_TAB, KC_K, KC_DOT, KC_O, KC_COMM, N_Y, DM_REC2, DM_PLY2, KC_V, KC_G, KC_C, KC_L, N_SS, N_Z, KC_TRNS,
|
||||
MO(_3), KC_H, KC_A, KC_E, KC_I, KC_U, N_UNDO, DM_RSTP, KC_D, KC_T, KC_R, KC_N, KC_S, KC_F, MO(_3),
|
||||
KC_LSFT, KC_X, KC_Q, N_AE, N_UE, N_OE, N_COPY, N_CUT, KC_B, KC_P, KC_W, KC_M, KC_J, KC_RSFT, KC_RSFT,
|
||||
KC_LCTL, MO(_4), KC_TRNS, KC_LGUI, KC_LALT, KC_SPC, N_PASTE, KC_SPC, KC_SPC, MO(_4), KC_RCTL, KC_TRNS, KC_TRNS,QK_LOCK, MO(_7)
|
||||
),
|
||||
|
||||
/* Layer 3
|
||||
* .---------------------------------------------------------------------------------------------------------------------------------------------------.
|
||||
* | ESC | F1 | F2 | F3 | F4 | F5 | | | F6 | F7 | F8 | F9 | F0 | DEL | BACKSP |
|
||||
* |---------+---------+--------+--------+--------+--------+-----------+-----------+--------+---------+--------+--------+--------+-----------+---------|
|
||||
* | TAB | … | _ | [ | ] | ^ | | | ! | < | > | = | & | | |
|
||||
* |---------+---------+--------+--------+--------+--------+-----------+-----------+--------+---------+--------+--------+--------+-----------+---------|
|
||||
* | Layer 5 | \ | / | { | } | * | | | ? | ( | ) | - | : | @ | Layer 5 |
|
||||
* |---------+---------+--------+--------+--------+--------+-----------+-----------+--------+---------+--------+--------+--------+-----------+---------|
|
||||
* | LSHIFT | # | $ | | | ~ | ` | | | + | % | " | ' | ; | RSHIFT | RSHIFT |
|
||||
* |---------+---------+--------+--------+--------+--------+-----------+-----------+--------+---------+--------+--------+--------+-----------+---------|
|
||||
* | LCTRL | | | | LALT | | | | | | | | | | |
|
||||
* '---------------------------------------------------------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_3] = LAYOUT_ortho_5x15( /* Layer 3 */
|
||||
KC_ESC, KC_F1, KC_F3, KC_F4, KC_F5, KC_F6, KC_TRNS, KC_TRNS, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS,
|
||||
KC_TAB, N_DOTS, N_USC, N_LSQBR, N_RSQBR, N_CIRC, KC_TRNS, KC_TRNS, N_EXKL, N_LT, N_GT, N_EQ, N_AMP, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, N_BSLS, N_SLSH, N_LCUBR, N_RCUBR, N_ASTR, KC_TRNS, KC_TRNS, N_QUES, N_LPARN, N_RPARN, N_MINS, N_COLN, N_AT, KC_TRNS,
|
||||
KC_LSFT, N_HASH, N_DLR, N_PIPE, N_TILD, N_GRAVE, KC_TRNS, KC_TRNS, N_PLUS, N_PERC, N_QUOT, N_SING, N_SEMI, KC_RSFT, KC_RSFT,
|
||||
KC_LCTL, KC_TRNS, KC_TRNS, KC_LALT, KC_TRNS, KC_SPC, KC_TRNS, KC_SPC, KC_SPC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||
),
|
||||
|
||||
/* Layer 4
|
||||
* .------------------------------------------------------------------------------------------------------------------------------------------------------.
|
||||
* | ESC | | | | | | | | | | | | | | |
|
||||
* |---------+---------+--------+--------+--------+-----------+-----------+-----------+--------+---------+--------+--------+--------+-----------+---------|
|
||||
* | TAB | Page up | BACKSP | Up | DEL | Page down | | | / | 7 | 8 | 9 | − | | |
|
||||
* |---------+---------+--------+--------+--------+-----------+-----------+-----------+--------+---------+--------+--------+--------+-----------+---------|
|
||||
* | | Home | Left | Down | Right | End | | | * | 4 | 5 | 6 | . | | |
|
||||
* |---------+---------+--------+--------+--------+-----------+-----------+-----------+--------+---------+--------+--------+--------+-----------+---------|
|
||||
* | LSHIFT | ESC | TAB | Insert | Enter | Undo | | | Enter | 1 | 2 | 3 | ; | RSHIFT | RSHIFT |
|
||||
* |---------+---------+--------+--------+--------+-----------+-----------+-----------+--------+---------+--------+--------+--------+-----------+---------|
|
||||
* | LCTRL | | | LALT | | 0 | | 0 | 0 | | | | | | |
|
||||
* '------------------------------------------------------------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_4] = LAYOUT_ortho_5x15( /* Layer 4 */
|
||||
KC_ESC, 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_TAB, KC_PGUP, KC_BSPC, KC_UP, KC_DEL, KC_PGDN, KC_TRNS, KC_TRNS, KC_KP_SLASH, KC_7, KC_8, KC_9, KC_KP_MINUS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_HOME, KC_LEFT, KC_DOWN, KC_RIGHT, KC_END, KC_TRNS, KC_TRNS, KC_KP_ASTERISK, KC_4, KC_5, KC_6, KC_KP_PLUS, KC_TRNS, KC_TRNS,
|
||||
KC_LSFT, KC_ESC, KC_TAB, KC_INS, KC_ENTER, N_UNDO, KC_TRNS, KC_TRNS, KC_KP_ENTER, KC_1, KC_2, KC_3, KC_KP_DOT, KC_RSFT, KC_RSFT,
|
||||
KC_LCTL, KC_TRNS, KC_TRNS, KC_LALT, KC_TRNS, KC_0, KC_TRNS, KC_0, KC_0, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||
),
|
||||
|
||||
/* Layer 7
|
||||
* .--------------------------------------------------------------------------------------------------------------------------------------------------------------.
|
||||
* | ESC | | | Button 3 | | | | | | | | | | | QK_BOOT |
|
||||
* |---------+----------+----------+----------+----------+------------+-----------+-----------+--------+---------+--------+--------+--------+-----------+---------|
|
||||
* | TAB | Wheel up | Button 2 | Up | Button 1 | Wheel down | | | | | | | | | |
|
||||
* |---------+----------+----------+----------+----------+------------+-----------+-----------+--------+---------+--------+--------+--------+-----------+---------|
|
||||
* | | Veloc 0 | Left | Down | Right | | | | | | | | | | |
|
||||
* |---------+----------+----------+----------+----------+------------+-----------+-----------+--------+---------+--------+--------+--------+-----------+---------|
|
||||
* | LSHIFT | Veloc 1 | | | | | | | | | | | | | |
|
||||
* |---------+----------+----------+----------+----------+------------+-----------+-----------+--------+---------+--------+--------+--------+-----------+---------|
|
||||
* | LCTRL | Veloc 2 | | LALT | | | | | | | | | | | |
|
||||
* '--------------------------------------------------------------------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_7] = LAYOUT_ortho_5x15( /* Layer 7 */
|
||||
KC_ESC, KC_TRNS, KC_TRNS, KC_MS_BTN3, KC_TRNS, KC_TRNS, KC_TRNS, 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_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_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_TRNS, KC_TRNS,
|
||||
KC_LCTL, KC_MS_ACCEL2, KC_TRNS, KC_LALT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||
)
|
||||
|
||||
};
|
||||
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
# KOY Layout for the xd75 pcb board
|
||||
Compile the layout
|
||||
```bash
|
||||
qmk compile -kb xiudi/xd75 -km scheiklp
|
||||
```
|
||||
and flash it to the board
|
||||
```bash
|
||||
qmk flash -kb xiudi/xd75 -km scheiklp
|
||||
```
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
# Copyright 2021 Paul Maria Scheikl (@ScheiklP)
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
BOOTMAGIC_ENABLE = no
|
||||
COMMAND_ENABLE = no
|
||||
RGBLIGHT_ENABLE = no
|
||||
DYNAMIC_MACRO_ENABLE = yes
|
||||
AUTO_SHIFT_ENABLE = yes
|
||||
KEY_LOCK_ENABLE = yes
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
/* Copyright 2023 Sergi Meseguer <zigotica@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
|
||||
|
||||
// these should work better for homerow modifiers
|
||||
#define TAPPING_TERM 350
|
||||
#define PERMISSIVE_HOLD
|
||||
#define QUICK_TAP_TERM 0
|
||||
|
||||
// needed to get same layers as split keyboards
|
||||
// see users/zigotica/zigotica.h
|
||||
#define ORTHOLINEAR_KEYBOARD
|
||||
|
||||
|
|
@ -1,63 +0,0 @@
|
|||
/* Copyright 2023 Sergi Meseguer <zigotica@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/>.
|
||||
*/
|
||||
|
||||
#include "zigotica.h"
|
||||
|
||||
#define LAYOUT_wrapper(...) LAYOUT(__VA_ARGS__)
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[BASE] = LAYOUT_wrapper(
|
||||
KC_ESC, ____NUM15, _BLANK_3, ____NUM60, KC_DEL,
|
||||
KC_TAB, _STENAI_L1, _BLANK_3, _STENAI_R1, _______,
|
||||
KC_EQL, _STENAI_L2, _BLANK_3, _STENAI_R2, KC_ENT,
|
||||
KC_LSFT, _STENAI_L3, ____TARRS, _STENAI_R3, KC_RSFT,
|
||||
____LORTH, _STENAI_LT, ____BARRS, _STENAI_RT, ____RORTH
|
||||
),
|
||||
|
||||
[_NUM] = LAYOUT_wrapper(
|
||||
QK_MAKE, _BLANK_ROW, _BLANK_3, _BLANK_ROW, _______,
|
||||
_______, ____NUM_L1, _BLANK_3, ____NUM_R1, _______,
|
||||
_______, ____NUM_L2, _BLANK_3, ____NUM_R2, _______,
|
||||
_______, ____NUM_L3, _BLANK_3, ____NUM_R3, _______,
|
||||
_BLANK_4, ____NUM_LT, _BLANK_3, ____NUM_RT, _BLANK_4
|
||||
),
|
||||
|
||||
[_NAV] = LAYOUT_wrapper(
|
||||
QK_MAKE, _BLANK_ROW, _BLANK_3, _BLANK_ROW, _______,
|
||||
_______, ____NAV_L1, _BLANK_3, ____NAV_R1, _______,
|
||||
_______, ____NAV_L2, _BLANK_3, ____NAV_R2, _______,
|
||||
_______, ____NAV_L3, _BLANK_3, ____NAV_R3, _______,
|
||||
_BLANK_4, ____NAV_LT, _BLANK_3, ____NAV_RT, _BLANK_4
|
||||
),
|
||||
|
||||
[_SYM] = LAYOUT_wrapper(
|
||||
QK_MAKE, _BLANK_ROW, _BLANK_3, _BLANK_ROW, _______,
|
||||
_______, ____SYM_L1, _BLANK_3, ____SYM_R1, _______,
|
||||
_______, ____SYM_L2, _BLANK_3, ____SYM_R2, _______,
|
||||
_______, ____SYM_L3, _BLANK_3, ____SYM_R3, _______,
|
||||
_BLANK_4, ____SYM_LT, _BLANK_3, ____SYM_RT, _BLANK_4
|
||||
),
|
||||
|
||||
[_FN] = LAYOUT_wrapper(
|
||||
QK_MAKE, ____FN_15, _BLANK_3, ____FN_60, _______,
|
||||
_______, ____FN_L1, _BLANK_3, ____FN_R1, _______,
|
||||
_______, ____FN_L2, _BLANK_3, ____FN_R2, _______,
|
||||
_______, ____FN_L3, _BLANK_3, ____FN_R3, _______,
|
||||
_BLANK_4, ____FN_LT, _BLANK_3, ____FN_RT, _BLANK_4
|
||||
),
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
OLED_SUPPORTED = no
|
||||
ENCODER_SUPPORTED = no
|
||||
|
||||
MOUSEKEY_ENABLE = yes
|
||||
COMBO_ENABLE = yes
|
||||
TAP_DANCE_ENABLE = yes
|
||||
|
|
@ -17,4 +17,4 @@ CUSTOM_MATRIX = lite
|
|||
|
||||
VPATH += drivers/gpio
|
||||
SRC += pca9555.c matrix.c
|
||||
QUANTUM_LIB_SRC += i2c_master.c
|
||||
I2C_DRIVER_REQUIRED = yes
|
||||
|
|
|
|||
|
|
@ -17,4 +17,4 @@ CUSTOM_MATRIX = lite
|
|||
|
||||
VPATH += drivers/gpio
|
||||
SRC += pca9555.c matrix.c
|
||||
QUANTUM_LIB_SRC += i2c_master.c
|
||||
I2C_DRIVER_REQUIRED = yes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue