Rockbox mail archiveSubject: Plug-in USB behaviour
Plug-in USB behaviour
From: Malcolm Tyrrell <malcoh0l_at_yahoo.ie>
Date: Tue, 08 Apr 2008 22:05:16 +0100
I read from:
"Some button handling, and a check for USB being plugged in while the
plugin is running. The default_handler() call on unhandled events should
be put in all code that handles button input."
OK, so a plug-in should call default_handler(). But what should it do if
SYS_USB_CONNECTED is returned? I observe that most plug-ins exit. Is
there a policy that they should do so? Is is necessary or recommended?
Received on 2008-04-08