forked from vial-kb/vial-qmk
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
81a1fa1
commit e594b6f
Showing
20 changed files
with
237 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,6 @@ | |
|
||
#define HAL_USE_SPI TRUE | ||
#define HAL_USE_PWM TRUE | ||
#define HAL_USE_I2C TRUE | ||
|
||
#include_next <halconf.h> |
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 was deleted.
Oops, something went wrong.
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,3 @@ | ||
VIAL_ENABLE = yes | ||
ENCODER_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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
keyboards/ergohaven/k03pro/43mm/info.json → ...ards/ergohaven/k03pro/rev1/43mm/info.json
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
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
keyboards/ergohaven/k03pro/65mm/info.json → ...ards/ergohaven/k03pro/rev1/65mm/info.json
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
File renamed without changes.
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
File renamed without changes.
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,77 @@ | ||
#pragma once | ||
|
||
#define BOOTMAGIC_LITE_ROW 0 | ||
#define BOOTMAGIC_LITE_COLUMN 5 | ||
#define BOOTMAGIC_LITE_ROW_RIGHT 5 | ||
#define BOOTMAGIC_LITE_COLUMN_RIGHT 5 | ||
|
||
/* Serial settings */ | ||
#define SERIAL_USART_FULL_DUPLEX | ||
#define SERIAL_USART_TX_PIN GP0 | ||
#define SERIAL_USART_RX_PIN GP1 | ||
#define SPLIT_HAND_PIN GP29 | ||
|
||
#define POINTING_DEVICE_RIGHT | ||
#define AZOTEQ_IQS5XX_REPORT_RATE 10 | ||
#define POINTING_DEVICE_TASK_THROTTLE_MS 10 | ||
#define AZOTEQ_IQS5XX_PRESS_AND_HOLD_ENABLE true | ||
#define AZOTEQ_IQS5XX_HOLD_TIME 200 | ||
#define AZOTEQ_IQS5XX_TAP_TIME 175 | ||
#define AZOTEQ_IQS5XX_TAP_DISTANCE 50 | ||
#define AZOTEQ_IQS5XX_ZOOM_ENABLE false | ||
|
||
#define I2C_DRIVER I2CD0 | ||
#define I2C1_SDA_PIN GP20 | ||
#define I2C1_SCL_PIN GP21 | ||
|
||
// SPI config for display | ||
#define K03_DISPLAY_LEFT | ||
#define SPI_DRIVER SPID0 | ||
#define SPI_SCK_PIN GP2 | ||
#define SPI_MOSI_PIN GP3 | ||
#define SPI_MISO_PIN GP4 | ||
|
||
// LCD config | ||
#define LCD_DC_PIN GP18 | ||
#define LCD_CS_PIN GP16 | ||
#define LCD_RST_PIN GP19 | ||
#define BACKLIGHT_PWM_DRIVER PWMD0 | ||
#define BACKLIGHT_PWM_CHANNEL RP2040_PWM_CHANNEL_B | ||
#define QUANTUM_PAINTER_LVGL_USE_CUSTOM_CONF | ||
#define QUANTUM_PAINTER_DISPLAY_TIMEOUT 0 | ||
#define QUANTUM_PAINTER_TASK_THROTTLE 50 | ||
|
||
/* split protocol settings */ | ||
#define SELECT_SOFT_SERIAL_SPEED 1 | ||
#define SPLIT_TRANSACTION_IDS_USER RPC_SYNC_TOUCH, RPC_SYNC_DISPLAY, RPC_SYNC_HID | ||
#define SPLIT_MODS_ENABLE | ||
#define SPLIT_ACTIVITY_ENABLE | ||
#define SPLIT_LED_STATE_ENABLE | ||
#define SPLIT_LAYER_STATE_ENABLE | ||
#define SPLIT_WATCHDOG_ENABLE | ||
#define SPLIT_POINTING_ENABLE | ||
|
||
#define RGBLIGHT_LED_COUNT 2 | ||
#define RGBLED_SPLIT {1, 1} | ||
#define RGBLIGHT_SLEEP | ||
#define RGBLIGHT_SPLIT | ||
#define RGBLIGHT_LAYERS | ||
#define RGBLIGHT_MAX_LAYERS 16 | ||
#define RGBLIGHT_LAYERS_RETAIN_VAL | ||
#define RGBLIGHT_DEFAULT_VAL 150 | ||
#define RGBLIGHT_LIMIT_VAL 150 | ||
#define RGBLIGHT_DEFAULT_SAT 0 | ||
|
||
#define TAP_CODE_DELAY 1 | ||
|
||
#define EH_HAS_DISPLAY | ||
#define EH_SHORT_PRODUCT_NAME "K:03 PRO" | ||
|
||
#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 3 | ||
#define VIA_EEPROM_LAYOUT_OPTIONS_DEFAULT 0x0000025d | ||
|
||
#define POINTING_DEVICE_AUTO_MOUSE_ENABLE | ||
#define EH_POINTING_KEYCODES | ||
|
||
#define AZOTEQ_IQS5XX_TPS65 | ||
#define AZOTEQ_IQS5XX_ROTATION_0 |
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,113 @@ | ||
{ | ||
"manufacturer": "Ergohaven", | ||
"keyboard_name": "K:03 PRO v2", | ||
"maintainer": "Ergohaven", | ||
"bootloader": "rp2040", | ||
"diode_direction": "COL2ROW", | ||
"matrix_pins": { | ||
"cols": ["GP10", "GP11", "GP12", "GP13", "GP14", "GP15"], | ||
"rows": ["GP5", "GP6", "GP7", "GP8", "GP9"] | ||
}, | ||
"processor": "RP2040", | ||
"url": "https://ergohaven.xyz", | ||
"usb": { | ||
"vid": "0xE126", | ||
"pid": "0x00A1", | ||
"device_version": "1.0.0" | ||
}, | ||
"backlight": { | ||
"pin": "GP17", | ||
"levels": 10, | ||
"breathing": false | ||
}, | ||
"encoder": { | ||
"rotary": [ | ||
{"pin_a": "GP27", "pin_b": "GP26", "resolution": 2}, | ||
{"pin_a": "GP25", "pin_b": "GP24", "resolution": 2}, | ||
{"pin_a": "GP23", "pin_b": "GP22", "resolution": 2} | ||
] | ||
}, | ||
"rgb_matrix": { | ||
"driver": "ws2812" | ||
}, | ||
"ws2812": { | ||
"pin": "GP28", | ||
"driver": "vendor" | ||
}, | ||
"layouts": { | ||
"LAYOUT": { | ||
"layout": [ | ||
|
||
{"matrix": [0, 5], "x": 0, "y": 0.5, "label": "Esc"}, | ||
{"matrix": [0, 4], "x": 1, "y": 0.3, "label": "1"}, | ||
{"matrix": [0, 3], "x": 2, "y": 0.15, "label": "2"}, | ||
{"matrix": [0, 2], "x": 3, "y": 0, "label": "3"}, | ||
{"matrix": [0, 1], "x": 4, "y": 0.15, "label": "4"}, | ||
{"matrix": [0, 0], "x": 5, "y": 0.3, "label": "5"}, | ||
|
||
{"matrix": [5, 0], "x": 9.25, "y": 0.3, "label": "6"}, | ||
{"matrix": [5, 1], "x": 10.25, "y": 0.15, "label": "7"}, | ||
{"matrix": [5, 2], "x": 11.25, "y": 0, "label": "8"}, | ||
{"matrix": [5, 3], "x": 12.25, "y": 0.15, "label": "9"}, | ||
{"matrix": [5, 4], "x": 13.25, "y": 0.3, "label": "0"}, | ||
{"matrix": [5, 5], "x": 14.25, "y": 0.5, "label": "-"}, | ||
|
||
{"matrix": [1, 5], "x": 0, "y": 1.5, "label": "Tab"}, | ||
{"matrix": [1, 4], "x": 1, "y": 1.3, "label": "Q"}, | ||
{"matrix": [1, 3], "x": 2, "y": 1.15, "label": "W"}, | ||
{"matrix": [1, 2], "x": 3, "y": 1, "label": "E"}, | ||
{"matrix": [1, 1], "x": 4, "y": 1.15, "label": "R"}, | ||
{"matrix": [1, 0], "x": 5, "y": 1.3, "label": "T"}, | ||
|
||
{"matrix": [6, 0], "x": 9.25, "y": 1.3, "label": "Y"}, | ||
{"matrix": [6, 1], "x": 10.25, "y": 1.15, "label": "U"}, | ||
{"matrix": [6, 2], "x": 11.25, "y": 1, "label": "I"}, | ||
{"matrix": [6, 3], "x": 12.25, "y": 1.15, "label": "O"}, | ||
{"matrix": [6, 4], "x": 13.25, "y": 1.3, "label": "P"}, | ||
{"matrix": [6, 5], "x": 14.25, "y": 1.5, "label": "="}, | ||
|
||
{"matrix": [2, 5], "x": 0, "y": 2.5, "label": "Shift"}, | ||
{"matrix": [2, 4], "x": 1, "y": 2.3, "label": "A"}, | ||
{"matrix": [2, 3], "x": 2, "y": 2.15, "label": "S"}, | ||
{"matrix": [2, 2], "x": 3, "y": 2, "label": "D"}, | ||
{"matrix": [2, 1], "x": 4, "y": 2.15, "label": "F"}, | ||
{"matrix": [2, 0], "x": 5, "y": 2.3, "label": "G"}, | ||
|
||
{"matrix": [7, 0], "x": 9.25, "y": 2.3, "label": "H"}, | ||
{"matrix": [7, 1], "x": 10.25, "y": 2.15, "label": "J"}, | ||
{"matrix": [7, 2], "x": 11.25, "y": 2, "label": "K"}, | ||
{"matrix": [7, 3], "x": 12.25, "y": 2.15, "label": "L"}, | ||
{"matrix": [7, 4], "x": 13.25, "y": 2.3, "label": ";"}, | ||
{"matrix": [7, 5], "x": 14.25, "y": 2.5, "label": "'"}, | ||
|
||
{"matrix": [3, 5], "x": 0, "y": 3.5, "label": "Ctrl"}, | ||
{"matrix": [3, 4], "x": 1, "y": 3.3, "label": "Z"}, | ||
{"matrix": [3, 3], "x": 2, "y": 3.15, "label": "X"}, | ||
{"matrix": [3, 2], "x": 3, "y": 3, "label": "C"}, | ||
{"matrix": [3, 1], "x": 4, "y": 3.15, "label": "V"}, | ||
{"matrix": [3, 0], "x": 5, "y": 3.3, "label": "B"}, | ||
|
||
{"matrix": [8, 0], "x": 9.25, "y": 3.3, "label": "N"}, | ||
{"matrix": [8, 1], "x": 10.25, "y": 3.15, "label": "M"}, | ||
{"matrix": [8, 2], "x": 11.25, "y": 3, "label": ","}, | ||
{"matrix": [8, 3], "x": 12.25, "y": 3.15, "label": "."}, | ||
{"matrix": [8, 4], "x": 13.25, "y": 3.3, "label": "/"}, | ||
{"matrix": [8, 5], "x": 14.25, "y": 3.5, "label": "\\"}, | ||
|
||
{"matrix": [4, 5], "x": 2, "y": 4.15, "label": "Super"}, | ||
{"matrix": [4, 4], "x": 3, "y": 4, "label": "Alt"}, | ||
{"matrix": [4, 3], "x": 4, "y": 4.25, "label": "Ctrl"}, | ||
{"matrix": [4, 2], "x": 5, "y": 4.4, "label": "Lower"}, | ||
{"matrix": [4, 1], "x": 5, "y": 4.4, "label": "Space"}, | ||
{"matrix": [4, 0], "x": 6, "y": 4.8, "label": "["}, | ||
|
||
{"matrix": [9, 0], "x": 8.25, "y": 4.8, "label": "]"}, | ||
{"matrix": [9, 1], "x": 9.25, "y": 4.4, "label": "Enter"}, | ||
{"matrix": [9, 2], "x": 10.25, "y": 4.25, "label": "Raise"}, | ||
{"matrix": [9, 3], "x": 11.25, "y": 4, "label": "Ctrl"}, | ||
{"matrix": [9, 4], "x": 12.25, "y": 4.15, "label": "Alt"}, | ||
{"matrix": [9, 5], "x": 12.25, "y": 4.15, "label": "Super"} | ||
] | ||
} | ||
} | ||
} |
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,12 @@ | ||
#pragma once | ||
|
||
#include_next <mcuconf.h> | ||
|
||
#undef RP_SPI_USE_SPI0 | ||
#define RP_SPI_USE_SPI0 TRUE | ||
|
||
#undef RP_PWM_USE_PWM0 | ||
#define RP_PWM_USE_PWM0 TRUE | ||
|
||
#undef RP_I2C_USE_I2C0 | ||
#define RP_I2C_USE_I2C0 TRUE |
Empty file.