r/Keychron • u/dzordzLong • Jan 14 '24
Use wired and BT without switching physical switch?
Is this possible?
I come from Logitech G613 that has button for this and button for that. Switch is immediate because keyboard is always connected to both devices and there is no lag. I would like to have my Keychron K10 Pro connected via cable to one computer and BT to another and just with keypress ... switch, not fiddle with physical key that is not easily accesible. I switch between computer at least 3-4x a minute, so physical switch will die, at best, till week end. BT reconnect takes sooooo long from one computer to another. Its not seamless. Keyboard itself is all i wanted, but this is what i have wanted to use it for. I have 2 keyboards already, i want to reduce that, not add steps. Trust me when you do 5 things in your head at same time, its really easy to start using wrong keyboard or wrong mouse.
2
u/PeterMortensenBlog V Jan 15 '24 edited Jan 22 '24
Re "Keychron K10 Pro ... just with keypress ... switch, not fiddle with physical key": I don't think it would be that difficult.
I think the physical DIP switch (BT/Cable/Off - probably only BT vs. Cable for this) is checked in
void bluetooth_pre_task(void), in /keychron/k10_pro/k10_pro.c, with the information about the state of the physical DIP switch byreadPin(USB_BT_MODE_SELECT_PIN).bluetooth_pre_task()appears to be the only place whereUSB_BT_MODE_SELECT_PINis used.If that is the case, the check of the state of the physical DIP switch could be replaced by a check of a (Boolean) variable that is changed as a result of some key action on the keyboard (could be thought of as macros that do nothing, with side effects of changing the variable).
This should be a fairly easy hack to test out.
1
u/Ldejavul Jan 14 '24 edited May 29 '26
reddit again and again
1
u/timeltdme Jan 14 '24
this is what Symless Synergy is for
1
u/PeterMortensenBlog V Jan 22 '24 edited Jan 22 '24
It is possible! Though it is a hack. I have now tested the simple solution described near "I don't think it would be that difficult" on this page, and it works.
I have demonstrated it by the keyboard (a K10 Pro) being connected to a Windows computer wired (by the USB cable). By using a key mapped to a (QMK) macro to toggle the desired state (wired / wireless):
I could (without touching the switch at the back):
Thus it is possible to switch between two computers, with one connected directly with the USB cable. And without using the switch at the back at all.
Some implementation details will follow. Though it is essentially the described idea.
1
u/Dangerous_Oven_8133 Apr 08 '25
I need help!, I broke the switch by mistake, I have a Keychron K2V2, I don't know if it was in the off mode or bluetooth, but the keyboard shows a green light when I connect it via USB, is there a way to put it in cable mode without having to buy another switch?
1
u/tmountain Sep 21 '26
I was able to accomplish this by having Claude help me build custom firmware. After I flashed, I can switch between wired (fn-5) and 2.4 ghz (fn-6) as well as Mac (fn-7) and Windows (fn-8) layouts. It took about 20 minutes to get it working, but now I'm free from constantly flipping brittle little switches that seem like they'll break over time.