Hi all. I read from: http://www.rockbox.org/twiki/bin/view/Main/HowtoWritePlugins that: "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? Thanks, Malcolm
