We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 397e644 commit dc248dbCopy full SHA for dc248db
Metro/Metro_RP2350_Match3/match3_game/code.py
@@ -266,9 +266,6 @@
266
+ f"endpoint_address: {hex(mouse_endpoint_address)}"
267
)
268
mouse_sync.append(0)
269
- except usb.core.USBError as e:
270
- # The mouse might have glitched and may not be detected but at least we don't crash
271
- print(e)
272
273
# detach kernel driver if needed
274
kernel_driver_active_flags.append(device.is_kernel_driver_active(0))
@@ -278,6 +275,9 @@
278
275
# set the mouse configuration so it can be used
279
276
device.set_configuration()
280
277
+ except usb.core.USBError as e:
+ # The mouse might have glitched and may not be detected but at least we don't crash
+ print(e)
281
282
def is_mouse1_left_clicked():
283
"""
0 commit comments