From e6de3e98dc4682683b75ce8c0cc9ee2d275710e3 Mon Sep 17 00:00:00 2001 From: dbisu Date: Fri, 18 Mar 2022 15:58:47 -0500 Subject: [PATCH] Only present as a keyboard and not both keyboard and mouse --- boot.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/boot.py b/boot.py index dbf2b1e..a05ba27 100644 --- a/boot.py +++ b/boot.py @@ -1,6 +1,10 @@ from board import * import digitalio import storage +import usb_hid + +usb_hid.disable() +usb_hid.enable((usb_hid.Device.KEYBOARD,)) noStorageStatus = False noStoragePin = digitalio.DigitalInOut(GP15)