File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Metro/Metro_RP2350_Match3/match3_game Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 267267 )
268268 mouse_sync .append (0 )
269269
270- # detach kernel driver if needed
271- kernel_driver_active_flags .append (device .is_kernel_driver_active (0 ))
272- if device .is_kernel_driver_active (0 ):
273- device .detach_kernel_driver (0 )
270+ # detach kernel driver if needed
271+ kernel_driver_active_flags .append (device .is_kernel_driver_active (0 ))
272+ if device .is_kernel_driver_active (0 ):
273+ device .detach_kernel_driver (0 )
274274
275- # set the mouse configuration so it can be used
276- device .set_configuration ()
275+ # set the mouse configuration so it can be used
276+ device .set_configuration ()
277277
278278 except usb .core .USBError as e :
279279 # The mouse might have glitched and may not be detected but at least we don't crash
You can’t perform that action at this time.
0 commit comments