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: half-idea for #ifdef and key deifnition hell...

Re: half-idea for #ifdef and key deifnition hell...

From: Björn Stenberg <bjorn_at_haxx.se>
Date: 2006-03-23

Brandon Low wrote:
> I think that button processing can't be going through lists like that,
> too slow.

I'm not so sure. Buttons are pressed rather rarely (from a system/cpu point of view) and the lag cause by looping through a few dozen entries will probably not be measurable, let alone noticeable.

The case for using variable button mapping is mainly driven by the fact that irivers can have several different remote controls, and change between then in runtime. Handling that requires more flexibility than #defines can provide.

-- 
Björn
Received on Thu Mar 23 14:45:21 2006

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