Configuration files for Electronlab build KLOR keyboards

This commit is contained in:
Lefuneste83 2024-09-07 17:39:23 +02:00
parent f5144df767
commit c0d4c826a3
6 changed files with 6 additions and 3194 deletions

View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
// ┌─────────────────────────────────────────────────┐
// │ p i n c o n f i g │
// └─────────────────────────────────────────────────┘
@ -29,9 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// │ k e y m a t r i x │
// └─────────────────────────────────────────────────┘
//#define MATRIX_ROW_PINS { GP5, GP6, GP7, GP8 }
//#define MATRIX_COL_PINS { GP27, GP26, GP22, GP20, GP23, GP21 }
//#define DIODE_DIRECTION COL2ROW
#define MATRIX_ROWS 8
#define MATRIX_COLS 6
#define DEBOUNCE 5
@ -54,18 +50,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define SERIAL_USART_FULL_DUPLEX
//#define SERIAL_USART_PIN_SWAP
// ┌─────────────────────────────────────────────────┐
// │ e n c o d e r s │
// └─────────────────────────────────────────────────┘
//#define ENCODERS_PAD_A { GP28 }
//#define ENCODERS_PAD_B { GP29 }
//#define ENCODERS_PAD_A_RIGHT { GP29 }
//#define ENCODERS_PAD_B_RIGHT { GP28 }
#define ENCODER_RESOLUTION { 2 }
#define ENCODER_RESOLUTIONS_RIGHT { 2 }
// ┌─────────────────────────────────────────────────┐
// │ o l e d s │
// └─────────────────────────────────────────────────┘
@ -73,7 +65,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef OLED_ENABLE
# define OLED_DISPLAY_128X64
# define SPLIT_OLED_ENABLE
# define OLED_FONT_H "./lib/glcdfont.c"
# define OLED_FONT_H "./glcdfont.c"
#endif
@ -81,7 +73,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// │ r g b l e d s │
// └─────────────────────────────────────────────────┘
//#define WS2812_DI_PIN GP0
#define RGBLED_NUM 42
#define RGBLED_SPLIT { 21, 21 }
#define RGB_MATRIX_LED_COUNT RGBLED_NUM

View File

@ -23,9 +23,8 @@ for more options.
#define EE_HANDS
//#define MASTER_LEFT
// #define MASTER_RIGHT
//#define MASTER_RIGHT
//#define TAPPING_TERM 170
#define TAPPING_TERM 300
// Enable rapid switch from tap to hold, disables double tap hold auto-repeat.
@ -42,8 +41,7 @@ for more options.
//#define NO_ACTION_TAPPING
//#define NO_MUSIC_MODE
#define COMBO_COUNT 3
//#define VIAL_COMBO_ENTRIES 3
#define COMBO_COUNT 25
// RGB matrix support
#ifdef RGB_MATRIX_ENABLE
// RGB Matrix Animation modes. Explicitly enabled

File diff suppressed because it is too large Load Diff

View File

@ -1,15 +0,0 @@
// Copyright 2022 @geigeigeist
// SPDX-License-Identifier: GPL-2.0+
#pragma once
#define WINXP_SOUND W__NOTE(_DS6), Q__NOTE(_DS5), H__NOTE(_AS5), H__NOTE(_GS5), H__NOTE(_DS5), H__NOTE(_DS6), H__NOTE(_AS5)
#define MAC_SOUND S__NOTE(_CS5), B__NOTE(_C5)
#define CAPSON_SOUND Q__NOTE(_DS1)
#define CAPSOFF_SOUND Q__NOTE(_DS5)
float winxp_song[][2] = SONG(WINXP_SOUND);
float mac_song[][2] = SONG(MAC_SOUND);
float capson_song[][2] = SONG(CAPSON_SOUND);
float capsoff_song[][2] = SONG(CAPSOFF_SOUND);

View File

@ -13,11 +13,8 @@
```
# KLOR split keyboard
KLOR is 42 keys column-staggered split keyboard made by @geigeigeist. It supports a per key RGB matrix, encoders, OLED displays, haptic feedback, audio, a Pixart Paw3204 trackball and four different layouts, through brake off parts.
KLOR is 42 keys column-staggered split keyboard originaly made by @geigeigeist and forked by Lefuneste83 from Electronlab. It supports a per key RGB matrix, encoders, OLED displays, haptic feedback, audio, a Pixart Paw3204 trackball and four different layouts, through brake off parts.
It's schematics are based on the Sofle, while the layout is based on the Yacc46.
You can use this command to compile the firmware
`qmk compile -kb klor -km default`
and this command if you want to compile the firmware for a RP2040 based MCU
`qmk compile -kb klor/2040 -km default`
`qmk compile -kb electronlab/klor -km default -c`