forked from len0rd/rockbox
Plugin rework 6: (all) Now using the default event handler, standard placement is in switch() default case. (chessclock) Compile-time keyboard configuration, for Ondio adaption. Fixed remaining issues with bitmap lcd -> compile for all platforms, as originally intended.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5327 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4d8fb1f9fe
commit
957cffad8d
3 changed files with 130 additions and 108 deletions
|
|
@ -1967,9 +1967,10 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
|||
}
|
||||
break;
|
||||
|
||||
case SYS_USB_CONNECTED:
|
||||
rb->usb_screen();
|
||||
return PLUGIN_USB_CONNECTED;
|
||||
default:
|
||||
if (rb->default_event_handler(button) == SYS_USB_CONNECTED)
|
||||
return PLUGIN_USB_CONNECTED;
|
||||
break;
|
||||
}
|
||||
} while (button != BUTTON_PLAY &&
|
||||
button != BUTTON_OFF && button != BUTTON_ON);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue