~ruther/qmk_firmware

c9e666917979f98da976b20eaa12b286a0317eb0 — Joel Challis 1 year, 11 months ago 805324c
Tidy up encoder in matrix references (#21718)

5 files changed, 0 insertions(+), 60 deletions(-)

D keyboards/meletrix/zoom65/config.h
M keyboards/takashicompany/spreadwriter/keymaps/via/config.h
M keyboards/wekey/we27/config.h
M keyboards/winry/winry315/config.h
D keyboards/wuque/serneity65/config.h
D keyboards/meletrix/zoom65/config.h => keyboards/meletrix/zoom65/config.h +0 -21
@@ 1,21 0,0 @@
/* Copyright 2021 meletrix
 *
 * 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

// Note:  array is { col, row )
#define ENCODERS_CW_KEY  { { 5, 4 } }
#define ENCODERS_CCW_KEY { { 3, 4 } }

M keyboards/takashicompany/spreadwriter/keymaps/via/config.h => keyboards/takashicompany/spreadwriter/keymaps/via/config.h +0 -11
@@ 4,14 4,3 @@
#pragma once

#define DYNAMIC_KEYMAP_LAYER_COUNT 7

//------------------------------------------------------------------------------
// Rotary Encoder
//------------------------------------------------------------------------------
// Encoder triggers specific key matrix position,
// when turn knob clockwise or counterclockwise.
// This is handy to assign key codes by VIA.

// Mappings of encoder rotation to key position in key matrix.
#define ENCODERS_CW_KEY  { { 0, 4 }}
#define ENCODERS_CCW_KEY { { 6, 0 }}
\ No newline at end of file

M keyboards/wekey/we27/config.h => keyboards/wekey/we27/config.h +0 -3
@@ 80,9 80,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.

#endif

#define ENCODERS_CW_KEY { { 4, 5 } }
#define ENCODERS_CCW_KEY { { 4, 3 } }

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

M keyboards/winry/winry315/config.h => keyboards/winry/winry315/config.h +0 -4
@@ 3,10 3,6 @@

#pragma once

// Encoder mappings (used for VIA).
#define ENCODERS_CW_KEY  { { 22, 0 }, { 18, 0 }, { 20, 0 } }
#define ENCODERS_CCW_KEY { { 23, 0 }, { 19, 0 }, { 21, 0 } }

// clang-format on

// RGB Lighting configuration.  This mode is used by the vendor firmware, and

D keyboards/wuque/serneity65/config.h => keyboards/wuque/serneity65/config.h +0 -21
@@ 1,21 0,0 @@
/* Copyright 2021 wuque
 *
 * 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

// Note:  array is { col, row )
#define ENCODERS_CW_KEY  { { 3, 4 } }
#define ENCODERS_CCW_KEY { { 5, 4 } }