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

Re: Bug with the Cube demo

From: Björn Stenberg <bjorn_at_haxx.se>
Date: Tue, 22 Oct 2002 23:31:41 +0200

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
Received on 2002-10-22

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy