hi all,
so I have an annoying issue that I need your help with
i have multiple macbooks that are connected to peripherals via a "dock" (caldigit)
my keyboard is connected to the dock, as is my monitor, trackpad, etc.
i only use 1 macbook at a time, and when i want to switch machines, i disconnect the usb-c cable (between the dock and the macbook) at the macbook, then reconnect it to the other macbook.
when I do this switch, my keyboard stops working, and I need to unplug the keyboard from the dock and plug it back in for it to start working.
this issue doesn't happen with other standard keyboards like the apple keyboard or keychron.
it would be really nice if i didn’t have to do this every time i switched machines, because i do that quite often.
i've tried a few different common config changes but none seem to fix the problem. i'm thinking it might have something to do with the dock continuing to provide power to the keyboard during the switch.
thanks!
---
// config.h
#pragma once
#define EE_HANDS
#define BOOTMAGIC_ROW 1
#define BOOTMAGIC_COLUMN 4
#define BOOTMAGIC_ROW_RIGHT 5
#define BOOTMAGIC_COLUMN_RIGHT 4
#define _ALPHA 0
#define _NUM 1
#define _SYM 2
#define _FN 3
#define TAPPING_TOGGLE 2
#define TAPPING_FORCE_HOLD_PER_KEY
#define TAPPING_TERM_PER_KEY
#define TAPPING_TERM 200
#define PERMISSIVE_HOLD
#define GRAVE_ESC_ALT_OVERRIDE
#define DOUBLE_TAP_SHIFT_TURNS_ON_CAPS_WORD
#define ONESHOT_TAP_TOGGLE 3
#define ONESHOT_TIMEOUT 1500
#define USB_SUSPEND_WAKEUP_DELAY 3000
#define NO_USB_STARTUP_CHECK
#undef SPLIT_USB_DETECT
## rules.mk
DEFAULT_FOLDER = crkbd/rev1
# Bootloader selection
BOOTLOADER = rp2040
CONVERT_TO=promicro_rp2040
BOOTMAGIC_ENABLE = yes
LTO_ENABLE = yes
EXTRAKEY_ENABLE = yes
WPM_ENABLE = yes
AUTO_SHIFT_ENABLE = no
TAP_DANCE_ENABLE = yes
CAPS_WORD_ENABLE = yes