kmk_firmware
kmk_firmware copied to clipboard
About Bluetooth
How to switch between Bluetooth and wired models? Is it possible to use PEG in bluetooth mode.
How to switch between Bluetooth and wired models
When setting the keyboard.go()
function you can put secondary hid type like so:
if __name__ == '__main__':
keyboard.go(hid_type=HIDModes.USB, secondary_hid_type=HIDModes.BLE, ble_name='KMK')
This has it default to usb, but it can switch to bluetooth. The code for toggling is KC.HID
I don't know what PEG is, so somebody else will have to comment on your second question.
@Vertex-kb While peg supports kmk you will have to contact the maintainers of peg for your second question: https://github.com/boardsource/pegBoards/issues