Skip to content

Commit cd4a265

Browse files
authored
[Keyboard][Keymap] Fix random keys being sent on Mac + userspace changes (#15648)
* qmk art 2020+ * fix compilation * remove functions. translation matrix * fix edgecases * whitespace * fix memory oddity changing the keymap with every string print * return edge cases * support workman layout for git strings * subm * secrets * fix git ignore * rename var * workman HW feature toggle * remember lenght for inserting secrets * blink leds on secret finish * 75:fix LEDs not reflecting state on boot * move common led functions to user file * move common led funcs to separate file * move funcs file to separate folder * capsword * move string functions to a separate file * consolidate led funcs * tidy up variables * email * fix printing random keys on Mac + temp disable dynamic macro * make switch lang shortcut configurable * revert ergodone behaviour * move git ignore to userspace folder * ergodone clean up + saving space * navigation combos * shift caps always turns on caps lock. more combos * convert led funcs into header file * convert string funcs into header file * fix compilation for split75 * remove git cherry pick * update legal headers * more legal headers * home row macros * refactor combo names * redo combos for homerow + f10 11 12 * custom strings implementation (like secrets) * ergodone: more consistent f keys * tweak left right combos to minimise typing interference * ctr z shortcut * ergodone: move del to a more convenient key * rename secrets file to a shorter length * ergodone tweaks * fix after merge * removed included .c files * Update keyboards/ktec/ergodone/keymaps/art/user_config.c.example * Update keyboards/mt/split75/keymaps/art/user_config.c.example * Update users/art/secr.h.example * Update users/art/custom_definitions.h.example * Update users/art/art_user_config.h.example * Update users/art/art.h
1 parent 7aab5e4 commit cd4a265

25 files changed

+1242
-456
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*user_config.c

keyboards/ktec/ergodone/keymaps/art/keymap.c

+107-100
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SRC += user_config.c
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Copyright 2022 Artjoms Rizihs (@artjomsR)
2+
// SPDX-License-Identifier: GPL-2.0-or-later
3+
4+
#include QMK_KEYBOARD_H
5+
6+
bool is_win = true;

keyboards/mt/split75/config.h

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2022 Artjoms Rizihs (@artjomsR)
2+
// SPDX-License-Identifier: GPL-2.0-or-later
3+
14
#pragma once
25

36
/* matrix size */
@@ -13,3 +16,5 @@
1316
#define RGBLIGHT_SLEEP
1417

1518
#define BACKLIGHT_PIN D4
19+
20+
#define I2C_START_RETRY_COUNT 1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*user_config.c
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// Copyright 2022 Artjoms Rizihs (@artjomsR)
2+
// SPDX-License-Identifier: GPL-2.0-or-later
3+
4+
#pragma once
5+
6+
#undef RGBLIGHT_ANIMATIONS
7+
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
8+
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
9+
10+
// #define DYNAMIC_MACRO_SIZE 48

keyboards/mt/split75/keymaps/art/keymap.c

+89-93
Large diffs are not rendered by default.
+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
DYNAMIC_MACRO_ENABLE = yes
1+
SRC += user_config.c
2+
3+
# DYNAMIC_MACRO_ENABLE = yes # doesn't work atm
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Copyright 2022 Artjoms Rizihs (@artjomsR)
2+
// SPDX-License-Identifier: GPL-2.0-or-later
3+
4+
#include QMK_KEYBOARD_H
5+
6+
bool is_win = true;

keyboards/mt/split75/keymaps/default/keymap.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2022 Artjoms Rizihs (@artjomsR)
2+
// SPDX-License-Identifier: GPL-2.0-or-later
3+
14
#include QMK_KEYBOARD_H
25

36
enum layer_names {

keyboards/mt/split75/split75.c

+3
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1+
// Copyright 2022 Artjoms Rizihs (@artjomsR)
2+
// SPDX-License-Identifier: GPL-2.0-or-later
3+
14
#include "split75.h"

keyboards/mt/split75/split75.h

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2022 Artjoms Rizihs (@artjomsR)
2+
// SPDX-License-Identifier: GPL-2.0-or-later
3+
14
#pragma once
25

36
#include "quantum.h"

users/art/.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*user_config.*
2+
custom_definitions.h
3+
secr.h

0 commit comments

Comments
 (0)