keychron/c*_pro_v2: Migrate DIP_SWITCH_PINS (#24978)

This commit is contained in:
Joel Challis 2025-03-06 23:17:21 +00:00 committed by GitHub
parent 0302171fac
commit 3c6a691126
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 6 additions and 6 deletions

View File

@ -16,9 +16,6 @@
#pragma once
/* DIP switch */
#define DIP_SWITCH_PINS { D2 }
/* Increase I2C speed to 1000 KHz */
#define I2C1_CLOCK_SPEED 400000
#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2

View File

@ -20,6 +20,9 @@
"indicators": {
"caps_lock": "C9"
},
"dip_switch": {
"pins": ["D2"]
},
"matrix_pins": {
"cols": ["A0", "A1", "A2", "A3", "C0", "C1", "C2", "C3", "A8", "C12", "B9", "C6", "C7", "C4", "C5", "A15", "B10"],
"rows": ["B0", "B1", "B8", "B3", "B4", "B5"]

View File

@ -16,9 +16,6 @@
#pragma once
/* DIP switch */
#define DIP_SWITCH_PINS { D2 }
/* Indication led */
#define LED_MAC_OS_PIN C10
#define LED_WIN_OS_PIN C11

View File

@ -30,6 +30,9 @@
"caps_lock": "C9",
"num_lock": "C8"
},
"dip_switch": {
"pins": ["D2"]
},
"layouts": {
"LAYOUT_104_ansi": {
"layout": [