Skip to content

Commit

Permalink
Migrate recently introduced sync items (qmk#22305)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr committed Oct 21, 2023
1 parent 87b4bc1 commit 3f1b3a5
Show file tree
Hide file tree
Showing 57 changed files with 195 additions and 111 deletions.
3 changes: 0 additions & 3 deletions keyboards/ai03/orbit/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ along with this program. If not, see <http:https://www.gnu.org/licenses/>.

#define SELECT_SOFT_SERIAL_SPEED 1

#define SPLIT_LED_STATE_ENABLE
#define SPLIT_LAYER_STATE_ENABLE

#define SPLIT_HAND_PIN D5

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
Expand Down
6 changes: 6 additions & 0 deletions keyboards/ai03/orbit/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
"cols": ["D4", "D6", "F1", "F0", "F4", "F5", "C6"],
"rows": ["B6", "B5", "B4", "D7", "E6"]
}
},
"transport":{
"sync" :{
"indicators": true,
"layer_state": true
}
}
},
"processor": "atmega32u4",
Expand Down
2 changes: 0 additions & 2 deletions keyboards/boardsource/unicorne/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET

#define SPLIT_LAYER_STATE_ENABLE

#define I2C_DRIVER I2CD1
#define I2C1_SDA_PIN GP22
#define I2C1_SCL_PIN GP23
Expand Down
7 changes: 6 additions & 1 deletion keyboards/boardsource/unicorne/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@
},
"split": {
"enabled": true,
"soft_serial_pin": "GP0"
"soft_serial_pin": "GP0",
"transport": {
"sync": {
"layer_state": true
}
}
},
"usb": {
"device_version": "1.0.0",
Expand Down
1 change: 0 additions & 1 deletion keyboards/buzzard/rev1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#ifdef OLED_ENABLE
#define OLED_DISPLAY_128X32
#define SPLIT_OLED_ENABLE
#endif

#ifdef PS2_DRIVER_INTERRUPT
Expand Down
7 changes: 6 additions & 1 deletion keyboards/buzzard/rev1/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@
},
"diode_direction": "COL2ROW",
"split": {
"soft_serial_pin": "D2"
"soft_serial_pin": "D2",
"transport": {
"sync": {
"oled": true
}
}
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
Expand Down
4 changes: 3 additions & 1 deletion keyboards/clickety_split/leeloo/rev2/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
},
"split": {
"transport": {
"sync_matrix_state": true
"sync" :{
"matrix_state": true
}
}
},
"rgblight": {
Expand Down
6 changes: 4 additions & 2 deletions keyboards/clickety_split/leeloo/rev3/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
"rgb_matrix": true
},
"split": {
"transport": {
"sync_matrix_state": true
"transport": {
"sync" :{
"matrix_state": true
}
}
},
"rgblight": {
"led_count": 58,
Expand Down
5 changes: 0 additions & 5 deletions keyboards/controllerworks/mini36/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@
#define RGB_MATRIX_SPLIT \
{ 24, 24 }

#define SPLIT_TRANSPORT_MIRROR
#define SPLIT_LAYER_STATE_ENABLE
#define SPLIT_LED_STATE_ENABLE
#define SPLIT_MODS_ENABLE

#define I2C_DRIVER I2CD0
#define I2C1_SCL_PIN GP25
#define I2C1_SDA_PIN GP24
8 changes: 7 additions & 1 deletion keyboards/controllerworks/mini36/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,13 @@
},
"soft_serial_pin": "GP1",
"transport": {
"protocol": "serial"
"protocol": "serial",
"sync": {
"indicators": true,
"layer_state": true,
"matrix_state": true,
"modifiers": true
}
}
},
"features": {
Expand Down
5 changes: 0 additions & 5 deletions keyboards/controllerworks/mini42/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@
#define WS2812_PIO_USE_PIO1
#define RGB_MATRIX_LED_COUNT 54

#define SPLIT_TRANSPORT_MIRROR
#define SPLIT_LAYER_STATE_ENABLE
#define SPLIT_LED_STATE_ENABLE
#define SPLIT_MODS_ENABLE

#undef I2C_DRIVER
#define I2C_DRIVER I2CD0
#undef I2C1_SCL_PIN
Expand Down
8 changes: 7 additions & 1 deletion keyboards/controllerworks/mini42/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,13 @@
},
"soft_serial_pin": "GP1",
"transport": {
"protocol": "serial"
"protocol": "serial",
"sync": {
"indicators": true,
"layer_state": true,
"matrix_state": true,
"modifiers": true
}
}
},
"features": {
Expand Down
3 changes: 0 additions & 3 deletions keyboards/handwired/tsubasa/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,3 @@ along with this program. If not, see <http:https://www.gnu.org/licenses/>.

#pragma once
#define MASTER_RIGHT

#define SPLIT_WPM_ENABLE
#define SPLIT_LAYER_STATE_ENABLE
6 changes: 6 additions & 0 deletions keyboards/handwired/tsubasa/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@
{"pin_a": "F4", "pin_b": "F5"}
]
}
},
"transport": {
"sync": {
"layer_state": true,
"wpm": true
}
}
},
"layouts": {
Expand Down
3 changes: 0 additions & 3 deletions keyboards/helix/rev2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ along with this program. If not, see <http:https://www.gnu.org/licenses/>.

#define QUICK_TAP_TERM 0

#define SPLIT_LAYER_STATE_ENABLE
#define SPLIT_LED_STATE_ENABLE

/* Select hand configuration */
#define MASTER_LEFT
// #define MASTER_RIGHT
Expand Down
8 changes: 7 additions & 1 deletion keyboards/helix/rev2/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@
},
"diode_direction": "COL2ROW",
"split": {
"soft_serial_pin": "D2"
"soft_serial_pin": "D2",
"transport": {
"sync": {
"indicators": true,
"layer_state": true
}
}
},
"tapping": {
"term": 100
Expand Down
5 changes: 0 additions & 5 deletions keyboards/hotdox76v2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
#define RGB_MATRIX_CENTER \
{ 112, 32 }

#define SPLIT_TRANSPORT_MIRROR
#define SPLIT_MODS_ENABLE
#define SPLIT_LAYER_STATE_ENABLE
#define SPLIT_LED_STATE_ENABLE
#define SPLIT_OLED_ENABLE
#define SPLIT_TRANSACTION_IDS_KB KEYBOARD_CURRENT_ALPA_SYNC

#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
Expand Down
11 changes: 10 additions & 1 deletion keyboards/hotdox76v2/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,16 @@
},
"split": {
"enabled": true,
"soft_serial_pin": "D2"
"soft_serial_pin": "D2",
"transport": {
"sync": {
"indicators": true,
"layer_state": true,
"matrix_state": true,
"modifiers": true,
"oled": true
}
}
},
"ws2812": {
"pin": "D3"
Expand Down
2 changes: 0 additions & 2 deletions keyboards/jorne/rev1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,3 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

#define SPLIT_LAYER_STATE_ENABLE
#define SPLIT_LED_STATE_ENABLE
8 changes: 7 additions & 1 deletion keyboards/jorne/rev1/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@
},
"diode_direction": "COL2ROW",
"split": {
"soft_serial_pin": "D2"
"soft_serial_pin": "D2",
"transport": {
"sync": {
"indicators": true,
"layer_state": true
}
}
},
"rgblight": {
"led_count": 56,
Expand Down
4 changes: 0 additions & 4 deletions keyboards/kapl/rev1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#define RGB_MATRIX_LED_COUNT 88
#define RGB_MATRIX_SPLIT { 44, 44 }
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
#define SPLIT_TRANSPORT_MIRROR

#ifdef RGB_MATRIX_ENABLE
// EFFECTS
Expand Down Expand Up @@ -41,6 +40,3 @@
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

#define SPLIT_LAYER_STATE_ENABLE
#define SPLIT_LED_STATE_ENABLE
9 changes: 8 additions & 1 deletion keyboards/kapl/rev1/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,14 @@
},
"diode_direction": "COL2ROW",
"split": {
"soft_serial_pin": "D2"
"soft_serial_pin": "D2",
"transport": {
"sync": {
"indicators": true,
"layer_state": true,
"matrix_state": true
}
}
},
"processor": "atmega32u4",
"bootloader": "caterina",
Expand Down
4 changes: 3 additions & 1 deletion keyboards/keebio/iris/rev8/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
}
},
"transport": {
"sync_matrix_state": true
"sync" :{
"matrix_state": true
}
}
},
"processor": "RP2040",
Expand Down
4 changes: 3 additions & 1 deletion keyboards/keebio/nyquist/rev4/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
}
},
"transport": {
"sync_matrix_state": true
"sync" :{
"matrix_state": true
}
}
},
"matrix_pins": {
Expand Down
2 changes: 0 additions & 2 deletions keyboards/keebio/sinc/rev1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ along with this program. If not, see <http:https://www.gnu.org/licenses/>.
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/* Synchronize Caps Lock LED across halves */
#define SPLIT_LED_STATE_ENABLE

#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)

Expand Down
5 changes: 4 additions & 1 deletion keyboards/keebio/sinc/rev1/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
"enabled": true,
"soft_serial_pin": "D0",
"transport": {
"protocol": "serial"
"protocol": "serial",
"sync" :{
"indicators": true
}
},
"encoder": {
"right": {
Expand Down
2 changes: 0 additions & 2 deletions keyboards/keebio/sinc/rev2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ along with this program. If not, see <http:https://www.gnu.org/licenses/>.
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/* Synchronize Caps Lock LED across halves */
#define SPLIT_LED_STATE_ENABLE

#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)

Expand Down
5 changes: 4 additions & 1 deletion keyboards/keebio/sinc/rev2/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
"enabled": true,
"soft_serial_pin": "D0",
"transport": {
"protocol": "serial"
"protocol": "serial",
"sync" :{
"indicators": true
}
},
"encoder": {
"right": {
Expand Down
4 changes: 3 additions & 1 deletion keyboards/keychron/q11/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@
},
"transport": {
"protocol": "serial_usart",
"sync_matrix_state": true
"sync" :{
"matrix_state": true
}
},
"bootmagic": {
"matrix": [6, 7]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/lime/rev1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,3 @@
#endif

#define SPLIT_USB_DETECT

#ifdef WPM_ENABLE
# define SPLIT_WPM_ENABLE
#endif

5 changes: 5 additions & 0 deletions keyboards/lime/rev1/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
{"pin_a": "F4", "pin_b": "F5", "resolution": 2}
]
}
},
"transport": {
"sync": {
"wpm": true
}
}
},
"tapping": {
Expand Down
4 changes: 0 additions & 4 deletions keyboards/mechwild/mokulua/mirrored/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@

#define MASTER_LEFT
//#define MASTER_RIGHT
#define SPLIT_LAYER_STATE_ENABLE
#define SPLIT_LED_STATE_ENABLE
#define SPLIT_MODS_ENABLE
#define SPLIT_OLED_ENABLE

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
Expand Down
10 changes: 9 additions & 1 deletion keyboards/mechwild/mokulua/mirrored/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,15 @@
"tap_keycode_delay": 10
},
"split": {
"soft_serial_pin": "D3"
"soft_serial_pin": "D3",
"transport": {
"sync": {
"indicators": true,
"layer_state": true,
"modifiers": true,
"oled": true
}
}
},
"rgblight": {
"saturation_steps": 8,
Expand Down
Loading

0 comments on commit 3f1b3a5

Please sign in to comment.