summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-08-09 04:43:47 +0100
committerGitHub <noreply@github.com>2023-08-09 04:43:47 +0100
commitc9e666917979f98da976b20eaa12b286a0317eb0 (patch)
tree8e36d200e9a51af5e8cb1cac00c5a1532dc07c50
parent805324c456100994ae31da6e62f39026d752ebb2 (diff)
Tidy up encoder in matrix references (#21718)
-rw-r--r--keyboards/meletrix/zoom65/config.h21
-rw-r--r--keyboards/takashicompany/spreadwriter/keymaps/via/config.h11
-rw-r--r--keyboards/wekey/we27/config.h3
-rw-r--r--keyboards/winry/winry315/config.h4
-rw-r--r--keyboards/wuque/serneity65/config.h21
5 files changed, 0 insertions, 60 deletions
diff --git a/keyboards/meletrix/zoom65/config.h b/keyboards/meletrix/zoom65/config.h
deleted file mode 100644
index e5cc1f3e5b..0000000000
--- a/keyboards/meletrix/zoom65/config.h
+++ /dev/null
@@ -1,21 +0,0 @@
1/* Copyright 2021 meletrix
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19// Note: array is { col, row )
20#define ENCODERS_CW_KEY { { 5, 4 } }
21#define ENCODERS_CCW_KEY { { 3, 4 } }
diff --git a/keyboards/takashicompany/spreadwriter/keymaps/via/config.h b/keyboards/takashicompany/spreadwriter/keymaps/via/config.h
index 9587fd7b6b..b0e0cc3ee7 100644
--- a/keyboards/takashicompany/spreadwriter/keymaps/via/config.h
+++ b/keyboards/takashicompany/spreadwriter/keymaps/via/config.h
@@ -4,14 +4,3 @@
4#pragma once 4#pragma once
5 5
6#define DYNAMIC_KEYMAP_LAYER_COUNT 7 6#define DYNAMIC_KEYMAP_LAYER_COUNT 7
7
8//------------------------------------------------------------------------------
9// Rotary Encoder
10//------------------------------------------------------------------------------
11// Encoder triggers specific key matrix position,
12// when turn knob clockwise or counterclockwise.
13// This is handy to assign key codes by VIA.
14
15// Mappings of encoder rotation to key position in key matrix.
16#define ENCODERS_CW_KEY { { 0, 4 }}
17#define ENCODERS_CCW_KEY { { 6, 0 }} \ No newline at end of file
diff --git a/keyboards/wekey/we27/config.h b/keyboards/wekey/we27/config.h
index a2d6575d8e..30127708e0 100644
--- a/keyboards/wekey/we27/config.h
+++ b/keyboards/wekey/we27/config.h
@@ -80,9 +80,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
80 80
81#endif 81#endif
82 82
83#define ENCODERS_CW_KEY { { 4, 5 } }
84#define ENCODERS_CCW_KEY { { 4, 3 } }
85
86/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 83/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
87#define LOCKING_SUPPORT_ENABLE 84#define LOCKING_SUPPORT_ENABLE
88/* Locking resynchronize hack */ 85/* Locking resynchronize hack */
diff --git a/keyboards/winry/winry315/config.h b/keyboards/winry/winry315/config.h
index 4453e273d3..dcd17eab96 100644
--- a/keyboards/winry/winry315/config.h
+++ b/keyboards/winry/winry315/config.h
@@ -3,10 +3,6 @@
3 3
4#pragma once 4#pragma once
5 5
6// Encoder mappings (used for VIA).
7#define ENCODERS_CW_KEY { { 22, 0 }, { 18, 0 }, { 20, 0 } }
8#define ENCODERS_CCW_KEY { { 23, 0 }, { 19, 0 }, { 21, 0 } }
9
10// clang-format on 6// clang-format on
11 7
12// RGB Lighting configuration. This mode is used by the vendor firmware, and 8// RGB Lighting configuration. This mode is used by the vendor firmware, and
diff --git a/keyboards/wuque/serneity65/config.h b/keyboards/wuque/serneity65/config.h
deleted file mode 100644
index 134605fcab..0000000000
--- a/keyboards/wuque/serneity65/config.h
+++ /dev/null
@@ -1,21 +0,0 @@
1/* Copyright 2021 wuque
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19// Note: array is { col, row )
20#define ENCODERS_CW_KEY { { 3, 4 } }
21#define ENCODERS_CCW_KEY { { 5, 4 } }