Skip to content

Commit

Permalink
[Keyboard][Keymap] Fix random keys being sent on Mac + userspace chan…
Browse files Browse the repository at this point in the history
…ges (#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
  • Loading branch information
artjomsR authored Oct 10, 2022
1 parent 7aab5e4 commit cd4a265
Show file tree
Hide file tree
Showing 25 changed files with 1,242 additions and 456 deletions.
1 change: 1 addition & 0 deletions keyboards/ktec/ergodone/keymaps/art/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*user_config.c
207 changes: 107 additions & 100 deletions keyboards/ktec/ergodone/keymaps/art/keymap.c

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions keyboards/ktec/ergodone/keymaps/art/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SRC += user_config.c
6 changes: 6 additions & 0 deletions keyboards/ktec/ergodone/keymaps/art/user_config.c.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Copyright 2022 Artjoms Rizihs (@artjomsR)
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H

bool is_win = true;
5 changes: 5 additions & 0 deletions keyboards/mt/split75/config.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2022 Artjoms Rizihs (@artjomsR)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

/* matrix size */
Expand All @@ -13,3 +16,5 @@
#define RGBLIGHT_SLEEP

#define BACKLIGHT_PIN D4

#define I2C_START_RETRY_COUNT 1
1 change: 1 addition & 0 deletions keyboards/mt/split75/keymaps/art/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*user_config.c
10 changes: 10 additions & 0 deletions keyboards/mt/split75/keymaps/art/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2022 Artjoms Rizihs (@artjomsR)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#undef RGBLIGHT_ANIMATIONS
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
#define RGBLIGHT_EFFECT_STATIC_GRADIENT

// #define DYNAMIC_MACRO_SIZE 48
182 changes: 89 additions & 93 deletions keyboards/mt/split75/keymaps/art/keymap.c

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion keyboards/mt/split75/keymaps/art/rules.mk
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
DYNAMIC_MACRO_ENABLE = yes
SRC += user_config.c

# DYNAMIC_MACRO_ENABLE = yes # doesn't work atm
6 changes: 6 additions & 0 deletions keyboards/mt/split75/keymaps/art/user_config.c.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Copyright 2022 Artjoms Rizihs (@artjomsR)
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H

bool is_win = true;
3 changes: 3 additions & 0 deletions keyboards/mt/split75/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2022 Artjoms Rizihs (@artjomsR)
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H

enum layer_names {
Expand Down
3 changes: 3 additions & 0 deletions keyboards/mt/split75/split75.c
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
// Copyright 2022 Artjoms Rizihs (@artjomsR)
// SPDX-License-Identifier: GPL-2.0-or-later

#include "split75.h"
3 changes: 3 additions & 0 deletions keyboards/mt/split75/split75.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2022 Artjoms Rizihs (@artjomsR)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#include "quantum.h"
Expand Down
3 changes: 3 additions & 0 deletions users/art/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*user_config.*
custom_definitions.h
secr.h
Loading

0 comments on commit cd4a265

Please sign in to comment.