forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
- Loading branch information
1 parent
d8ea5e1
commit e33052c
Showing
15 changed files
with
609 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
VIA_ENABLE = yes | ||
LTO_ENABLE = yes | ||
ENCODER_MAP_ENABLE = yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* Copyright 2021 Danny Nguyen <[email protected]> | ||
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 | ||
|
||
/* 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
/* Copyright 2022 Danny Nguyen <[email protected]> | ||
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 | ||
|
||
#define SPLIT_HAND_PIN GP4 | ||
#define SERIAL_USART_FULL_DUPLEX | ||
#define SERIAL_USART_TX_PIN GP0 | ||
#define SERIAL_USART_RX_PIN GP1 | ||
#define SERIAL_USART_PIN_SWAP | ||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET | ||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U | ||
#define I2C_DRIVER I2CD2 | ||
#define I2C1_SCL_PIN GP22 | ||
#define I2C1_SDA_PIN GP23 | ||
|
||
#define RGBLIGHT_DEFAULT_VAL 120 | ||
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) | ||
// RGB Matrix | ||
#define ENABLE_RGB_MATRIX_ALPHAS_MODS | ||
#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN | ||
#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT | ||
#define ENABLE_RGB_MATRIX_BREATHING | ||
#define ENABLE_RGB_MATRIX_BAND_SAT | ||
#define ENABLE_RGB_MATRIX_BAND_VAL | ||
#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT | ||
#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL | ||
#define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT | ||
#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL | ||
#define ENABLE_RGB_MATRIX_CYCLE_ALL | ||
#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT | ||
#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN | ||
#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON | ||
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN | ||
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL | ||
#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL | ||
#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL | ||
#define ENABLE_RGB_MATRIX_DUAL_BEACON | ||
#define ENABLE_RGB_MATRIX_RAINBOW_BEACON | ||
#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS | ||
// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined | ||
#define ENABLE_RGB_MATRIX_TYPING_HEATMAP | ||
#define ENABLE_RGB_MATRIX_DIGITAL_RAIN | ||
// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined | ||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE | ||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE | ||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE | ||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE | ||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS | ||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS | ||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS | ||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS | ||
#define ENABLE_RGB_MATRIX_SPLASH | ||
#define ENABLE_RGB_MATRIX_MULTISPLASH | ||
#define ENABLE_RGB_MATRIX_SOLID_SPLASH | ||
#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH | ||
|
||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120 | ||
#define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS | ||
#define DRIVER_LED_TOTAL RGBLED_NUM | ||
#define RGB_MATRIX_SPLIT RGBLED_SPLIT | ||
#define RGB_DISABLE_WHEN_USB_SUSPENDED | ||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS | ||
#define RGB_MATRIX_KEYPRESSES | ||
#define SPLIT_TRANSPORT_MIRROR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* Copyright 2022 QMK | ||
* | ||
* 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 | ||
|
||
#define HAL_USE_I2C TRUE | ||
|
||
#include_next "halconf.h" |
Oops, something went wrong.