Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About Bluetooth #747

Open
Vertex-kb opened this issue Mar 16, 2023 · 2 comments
Open

About Bluetooth #747

Vertex-kb opened this issue Mar 16, 2023 · 2 comments

Comments

@Vertex-kb
Copy link

How to switch between Bluetooth and wired models? Is it possible to use PEG in bluetooth mode.

@lukeallister
Copy link

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.

@grasegger
Copy link
Contributor

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants