Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Bug with the Cube demo
From: Björn Stenberg (bjorn_at_haxx.se)
Date: 2002-10-22


Andreas Zwirtes wrote:
> But, how is it detected then? I'll have a look at
> tomorrows cube-code, but maybe someone can tell me the real truth....

A special USB message is posted to the button queue, so you simply add:

              case SYS_USB_CONNECTED:
                usb_screen();
                return true;

to your button handling code.

-- 
Björn



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa