diff options
Diffstat (limited to 'keyboards/keebio/sinc/rev2')
-rw-r--r-- | keyboards/keebio/sinc/rev2/config.h | 34 | ||||
-rw-r--r-- | keyboards/keebio/sinc/rev2/info.json | 68 | ||||
-rw-r--r-- | keyboards/keebio/sinc/rev2/rules.mk | 1 |
3 files changed, 103 insertions, 0 deletions
diff --git a/keyboards/keebio/sinc/rev2/config.h b/keyboards/keebio/sinc/rev2/config.h new file mode 100644 index 0000000000..c394777a8f --- /dev/null +++ b/keyboards/keebio/sinc/rev2/config.h @@ -0,0 +1,34 @@ +/* Copyright 2021 Danny Nguyen <danny@keeb.io> + +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 + +// 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 +/* 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 } +#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) + +#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 +#define DYNAMIC_KEYMAP_LAYER_COUNT 3 diff --git a/keyboards/keebio/sinc/rev2/info.json b/keyboards/keebio/sinc/rev2/info.json new file mode 100644 index 0000000000..107703d583 --- /dev/null +++ b/keyboards/keebio/sinc/rev2/info.json @@ -0,0 +1,68 @@ +{ + "keyboard_name": "Sinc Rev. 2", + "usb": { + "pid": "0x2367", + "device_version": "2.1.0" + }, + "processor": "atmega32u4", + "bootloader": "atmel-dfu", + "debounce": 5, + "diode_direction": "COL2ROW", + "features": { + "rgblight": true, + "backlight": true + }, + "indicators": { + "caps_lock": "B6" + }, + "split": { + "enabled": true, + "soft_serial_pin": "D0", + "transport": { + "protocol": "serial" + }, + "encoder": { + "right": { + "rotary": [ + {"pin_a": "D6", "pin_b": "D4" } + ] + } + }, + "matrix_pins": { + "right":{ + "cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"], + "rows": ["B3", "B2", "B6", "B4", "D7", "B0"] + } + } + }, + "matrix_pins": { + "cols": ["F4", "F1", "F0", "B7", "B3", "D2", "D3", "D5", "D4"], + "rows": ["B1", "B2", "C7", "B4", "D7", "B0"] + }, + "encoder": { + "enabled": true, + "rotary": [ + {"pin_a": "F5", "pin_b": "F6" } + ] + }, + "backlight":{ + "pin": "B5" + }, + "rgblight": { + "pin": "E6", + "led_count" : 16, + "split_count": [8, 8], + "animations": { + "alternating": true, + "breathing": true, + "christmas": true, + "knight": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "rgb_test": true, + "snake": true, + "static_gradient": true, + "twinkle": true + } + } +} diff --git a/keyboards/keebio/sinc/rev2/rules.mk b/keyboards/keebio/sinc/rev2/rules.mk new file mode 100644 index 0000000000..6e7633bfe0 --- /dev/null +++ b/keyboards/keebio/sinc/rev2/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank |