From 94f200cfd6d723675ada259054a06303a5f7cb0e Mon Sep 17 00:00:00 2001 From: Takeshi Nishio Date: Sat, 16 May 2020 15:26:40 +0900 Subject: [PATCH] =?UTF-8?q?Update=20colice=5Frr=20=E3=83=AD=E3=83=BC?= =?UTF-8?q?=E3=82=BF=E3=83=AA=E3=83=BC=E3=82=A8=E3=83=B3=E3=82=B3=E3=83=BC?= =?UTF-8?q?=E3=83=80=E6=A9=9F=E8=83=BD=E8=BF=BD=E5=8A=A0=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- keyboards/colice_rr/colice_rr.h | 8 ++++---- keyboards/colice_rr/config.h | 7 +++++++ keyboards/colice_rr/rules.mk | 1 + 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/keyboards/colice_rr/colice_rr.h b/keyboards/colice_rr/colice_rr.h index e2cb2d41367..524d07405cd 100644 --- a/keyboards/colice_rr/colice_rr.h +++ b/keyboards/colice_rr/colice_rr.h @@ -30,8 +30,8 @@ L81, L91, La1, L16, L26, L36, L46, L56, L86, L96, La6, R46, R36, R26, R16, Ra1, R91, R81, R86, R96, Ra6, \ L92, La2, L17, L27, L37, L47, L57, L67, L87, L97, La7, R47, R37, R27, R17, Ra2, R92, R82, R72, R67, R87, R97, Ra7, \ L93, La3, L18, L28, L38, L48, L58, L68, L78, L98, La8, R48, R38, R28, R18, Ra3, R93, R83, R68, R78, R98, Ra8, \ - L94, La4, L19, L29, L39, L49, L59, L69, L79, L89, La9, R49, R39, R29, R19, Ra4, R94, R84, R74, R69, R79, R89, Ra9, \ - L85, L95, L1a, L2a, L3a, L4a, L6a, L8a, R4a, R2a, R1a, Ra5, R95, R85, R75, R6a, R8a \ + L94, La4, L19, L29, L39, L49, L59, L69, L79, L89, R49, R39, R29, R19, Ra4, R94, R84, R74, R69, R79, R89, \ + L85, L95, L1a, L2a, L3a, L4a, L6a, L8a, L9a, R4a, R2a, R1a, Ra5, R95, R85, R75, R6a, R8a, R9a \ ) \ { \ { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, L81, L91, La1 }, \ @@ -43,7 +43,7 @@ { L17, L27, L37, L47, L57, L67, KC_NO, L87, L97, La7 }, \ { L18, L28, L38, L48, L58, L68, L78, KC_NO, L98, La8 }, \ { L19, L29, L39, L49, L59, L69, L79, L89, KC_NO, La8 }, \ - { L1a, L2a, L3a, L4a, KC_NO, L6a, KC_NO, L8a, KC_NO, KC_NO }, \ + { L1a, L2a, L3a, L4a, KC_NO, L6a, KC_NO, L8a, L9a, KC_NO }, \ { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, R81, R91, Ra1 }, \ { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, R72, R82, R92, Ra2 }, \ { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, R83, R93, Ra3 }, \ @@ -53,5 +53,5 @@ { R17, R27, R37, R47, KC_NO, R67, KC_NO, R87, R97, Ra7 }, \ { R18, R28, R38, R48, KC_NO, R68, R78, KC_NO, R98, Ra8 }, \ { R19, R29, R39, R49, KC_NO, R69, R79, R89, KC_NO, Ra8 }, \ - { R1a, R2a, KC_NO, R4a, KC_NO, R6a, KC_NO, R8a, KC_NO, KC_NO } \ + { R1a, R2a, KC_NO, R4a, KC_NO, R6a, KC_NO, R8a, R9a, KC_NO } \ } diff --git a/keyboards/colice_rr/config.h b/keyboards/colice_rr/config.h index d80239a23e8..632e0b07e3d 100644 --- a/keyboards/colice_rr/config.h +++ b/keyboards/colice_rr/config.h @@ -50,6 +50,13 @@ along with this program. If not, see . // We're using custom matrix file. So, no need to define DIODE_DIRECTION. //#define DIODE_DIRECTION COL2ROW + +#define ENCODERS_PAD_A { F4 } +#define ENCODERS_PAD_B { F5 } +// #define ENCODERS_PAD_A { D1 } +// #define ENCODERS_PAD_B { D0 } +#define ENCODER_RESOLUTION 4 //the default & suggested is 4 + /* * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. */ diff --git a/keyboards/colice_rr/rules.mk b/keyboards/colice_rr/rules.mk index 613a69082c4..d7b53994b04 100644 --- a/keyboards/colice_rr/rules.mk +++ b/keyboards/colice_rr/rules.mk @@ -41,6 +41,7 @@ AUDIO_ENABLE = no # Audio output on port C6 FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches HD44780_ENABLE = no # Enable support for HD44780 based LCDs +ENCODER_ENABLE = yes SPLIT_KEYBOARD = yes CUSTOM_MATRIX = yes