From 26c3e877c7e836d45cb84ec5265fab62e4c90028 Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Thu, 29 Sep 2022 19:23:02 -0500 Subject: [Keyboard] Convert most of sinc to data driven info.json (#18481) --- keyboards/keebio/sinc/rev2/config.h | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'keyboards/keebio/sinc/rev2/config.h') diff --git a/keyboards/keebio/sinc/rev2/config.h b/keyboards/keebio/sinc/rev2/config.h index 800400e905..92d2fda644 100644 --- a/keyboards/keebio/sinc/rev2/config.h +++ b/keyboards/keebio/sinc/rev2/config.h @@ -16,31 +16,8 @@ along with this program. If not, see . #pragma once -/* key matrix size */ -// Rows are doubled-up -#define MATRIX_ROWS 12 -#define MATRIX_COLS 9 - -#define DIODE_DIRECTION COL2ROW // wiring of each half -#define MATRIX_ROW_PINS { B1, B2, C7, B4, D7, B0 } -#define MATRIX_COL_PINS { F4, F1, F0, B7, B3, D2, D3, D5, D4 } -#define MATRIX_ROW_PINS_RIGHT { B3, B2, B6, B4, D7, B0 } -#define MATRIX_COL_PINS_RIGHT { F1, F0, F4, F5, F6, D5, C7, D3, B7 } #define SPLIT_HAND_PIN F7 -#define ENCODERS_PAD_A { F5 } -#define ENCODERS_PAD_B { F6 } -#define ENCODERS_PAD_A_RIGHT { D6 } -#define ENCODERS_PAD_B_RIGHT { D4 } - -/* Set 0 if debouncing isn't needed */ -#define DEBOUNCE 5 - -#define BACKLIGHT_PIN B5 -#define CAPS_LOCK_LED_PIN B6 - -/* serial.c configuration for split keyboard */ -#define SOFT_SERIAL_PIN D0 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE @@ -48,10 +25,6 @@ along with this program. If not, see . #define LOCKING_RESYNC_ENABLE /* ws2812 RGB LED */ -#define RGB_DI_PIN E6 -#define RGBLIGHT_ANIMATIONS -#define RGBLED_NUM 16 // Number of LEDs -#define RGBLED_SPLIT { 8, 8 } #define RGBLIGHT_LED_MAP { 1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8 } #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) -- cgit v1.2.3 From 245f00b4d93c65d5540d2096c9f3536ead93ef26 Mon Sep 17 00:00:00 2001 From: jack <0x6A73@pm.me> Date: Fri, 30 Sep 2022 16:08:40 -0600 Subject: Fixup keebio/sinc (#18551) --- keyboards/keebio/sinc/rev2/config.h | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 keyboards/keebio/sinc/rev2/config.h (limited to 'keyboards/keebio/sinc/rev2/config.h') diff --git a/keyboards/keebio/sinc/rev2/config.h b/keyboards/keebio/sinc/rev2/config.h deleted file mode 100644 index 92d2fda644..0000000000 --- a/keyboards/keebio/sinc/rev2/config.h +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright 2021 Danny Nguyen - -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 . -*/ - -#pragma once - -// wiring of each half -#define SPLIT_HAND_PIN F7 - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE - -/* ws2812 RGB LED */ -#define RGBLIGHT_LED_MAP { 1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8 } -#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) - -// Set right column, left macro, 1.75u shift, split spaces, and 5x1u on by default -#define VIA_EEPROM_LAYOUT_OPTIONS_DEFAULT 0x00DE -#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 -- cgit v1.2.3 From 42c240f6cfe697744cdf876ace1e7273f43db60d Mon Sep 17 00:00:00 2001 From: Danny Date: Wed, 26 Oct 2022 16:44:06 -0400 Subject: Add Sinc Rev. 3 (#18846) * Initial work on adding Sinc Rev. 3 * Add RGB Matrix support * Add encoder map support * Set I2C pins * Update LED locations for right half * Move USB definitions to info.json * Update RGB modes * Replace pin mappings for right half with correct ones * Move config.h back to rev1/rev2 due to addition of rev3 * Convert initial Rev. 3 config work to be data-driven * Convert RGB Matrix config to DD format * More config cleanup * Use full-duplex PIO * Add MCU/bootloader settings for Rev. 2 * Change ISO Enter location since it shares location with Backslash * Adjust build settings to reduce flash/EEPROM usage --- keyboards/keebio/sinc/rev2/config.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 keyboards/keebio/sinc/rev2/config.h (limited to 'keyboards/keebio/sinc/rev2/config.h') diff --git a/keyboards/keebio/sinc/rev2/config.h b/keyboards/keebio/sinc/rev2/config.h new file mode 100644 index 0000000000..d00bd12328 --- /dev/null +++ b/keyboards/keebio/sinc/rev2/config.h @@ -0,0 +1,34 @@ +/* Copyright 2021 Danny Nguyen + +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 . +*/ + +#pragma once + +// wiring of each half +#define SPLIT_HAND_PIN F7 + +/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ +#define LOCKING_SUPPORT_ENABLE +/* Locking resynchronize hack */ +#define LOCKING_RESYNC_ENABLE + +/* ws2812 RGB LED */ +#define RGBLIGHT_LED_MAP { 1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8 } +#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) + +// Set right column, left macro, 1.75u shift, split spaces, and 5x1u on by default +#define VIA_EEPROM_LAYOUT_OPTIONS_DEFAULT 0x00DE +#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 +#define DYNAMIC_KEYMAP_LAYER_COUNT 3 -- cgit v1.2.3 From e31fa77e9b349b29fa43f36aeb26435d9e9f4910 Mon Sep 17 00:00:00 2001 From: Danny Date: Fri, 28 Oct 2022 15:27:38 -0400 Subject: [Keyboard] Add Sinc Rev 1&2 Encoder Map Support (#18861) --- keyboards/keebio/sinc/rev2/config.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'keyboards/keebio/sinc/rev2/config.h') diff --git a/keyboards/keebio/sinc/rev2/config.h b/keyboards/keebio/sinc/rev2/config.h index d00bd12328..7fde38b58e 100644 --- a/keyboards/keebio/sinc/rev2/config.h +++ b/keyboards/keebio/sinc/rev2/config.h @@ -28,7 +28,5 @@ along with this program. If not, see . #define RGBLIGHT_LED_MAP { 1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8 } #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) -// Set right column, left macro, 1.75u shift, split spaces, and 5x1u on by default -#define VIA_EEPROM_LAYOUT_OPTIONS_DEFAULT 0x00DE #define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 #define DYNAMIC_KEYMAP_LAYER_COUNT 3 -- cgit v1.2.3 From 3d091f4a9d4a235c70121a1954f3e84b465b68b5 Mon Sep 17 00:00:00 2001 From: Adam Lickel Date: Tue, 29 Nov 2022 22:52:10 -0800 Subject: Keeb.io Sinc: Enable Split LED state (#19187) --- keyboards/keebio/sinc/rev2/config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'keyboards/keebio/sinc/rev2/config.h') diff --git a/keyboards/keebio/sinc/rev2/config.h b/keyboards/keebio/sinc/rev2/config.h index 7fde38b58e..c394777a8f 100644 --- a/keyboards/keebio/sinc/rev2/config.h +++ b/keyboards/keebio/sinc/rev2/config.h @@ -23,6 +23,8 @@ along with this program. If not, see . #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE +/* Synchronize Caps Lock LED across halves */ +#define SPLIT_LED_STATE_ENABLE /* ws2812 RGB LED */ #define RGBLIGHT_LED_MAP { 1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8 } -- cgit v1.2.3