From f1ee740f2b48c8a2da5fa1d33e033a9067fe3843 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Fri, 11 Nov 2011 19:40:32 +0000 Subject: Finally submit GUI boost (FS#8668). With this change the CPU is boosted (with a 1 second timeout) on scrollwheel activity in the list, main menu, tree and std context. For now GUI boost is only enabled on scrollwheel targets. The code can easily be enhanced to work with other targets as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30967 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config/ipod1g2g.h | 3 +++ firmware/export/config/ipod3g.h | 3 +++ firmware/export/config/ipod4g.h | 3 +++ firmware/export/config/ipod6g.h | 3 +++ firmware/export/config/ipodcolor.h | 3 +++ firmware/export/config/ipodmini1g.h | 3 +++ firmware/export/config/ipodmini2g.h | 3 +++ firmware/export/config/ipodnano1g.h | 3 +++ firmware/export/config/ipodnano2g.h | 3 +++ firmware/export/config/ipodvideo.h | 3 +++ firmware/export/config/sansae200.h | 3 +++ firmware/export/config/sansae200v2.h | 3 +++ firmware/export/config/sansafuze.h | 3 +++ firmware/export/config/sansafuzev2.h | 3 +++ firmware/export/config/sansaview.h | 3 +++ 15 files changed, 45 insertions(+) (limited to 'firmware/export') diff --git a/firmware/export/config/ipod1g2g.h b/firmware/export/config/ipod1g2g.h index f4e6c19456..0ce5d45590 100644 --- a/firmware/export/config/ipod1g2g.h +++ b/firmware/export/config/ipod1g2g.h @@ -78,6 +78,9 @@ #define CONFIG_KEYPAD IPOD_1G2G_PAD +/* Define this to have CPU boosted while scrolling in the UI */ +#define HAVE_GUI_BOOST + /* define this if the unit uses a scrollwheel for navigation */ #define HAVE_SCROLLWHEEL /* define to activate advanced wheel acceleration code */ diff --git a/firmware/export/config/ipod3g.h b/firmware/export/config/ipod3g.h index ee59a1bc76..e7d8bff53b 100644 --- a/firmware/export/config/ipod3g.h +++ b/firmware/export/config/ipod3g.h @@ -79,6 +79,9 @@ #define CONFIG_KEYPAD IPOD_3G_PAD +/* Define this to have CPU boosted while scrolling in the UI */ +#define HAVE_GUI_BOOST + /* define this if the unit uses a scrollwheel for navigation */ #define HAVE_SCROLLWHEEL /* define to activate advanced wheel acceleration code */ diff --git a/firmware/export/config/ipod4g.h b/firmware/export/config/ipod4g.h index 56d0599799..165f5967b4 100644 --- a/firmware/export/config/ipod4g.h +++ b/firmware/export/config/ipod4g.h @@ -79,6 +79,9 @@ #define CONFIG_KEYPAD IPOD_4G_PAD +/* Define this to have CPU boosted while scrolling in the UI */ +#define HAVE_GUI_BOOST + /* Define this to enable morse code input */ #define HAVE_MORSE_INPUT diff --git a/firmware/export/config/ipod6g.h b/firmware/export/config/ipod6g.h index dae9340d5a..0dac46cd8e 100644 --- a/firmware/export/config/ipod6g.h +++ b/firmware/export/config/ipod6g.h @@ -100,6 +100,9 @@ #define CONFIG_KEYPAD IPOD_4G_PAD +/* Define this to have CPU boosted while scrolling in the UI */ +#define HAVE_GUI_BOOST + //#define AB_REPEAT_ENABLE //#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE diff --git a/firmware/export/config/ipodcolor.h b/firmware/export/config/ipodcolor.h index ec3d2c6cdf..645e20041c 100644 --- a/firmware/export/config/ipodcolor.h +++ b/firmware/export/config/ipodcolor.h @@ -66,6 +66,9 @@ #define CONFIG_KEYPAD IPOD_4G_PAD +/* Define this to have CPU boosted while scrolling in the UI */ +#define HAVE_GUI_BOOST + /* Define this to enable morse code input */ #define HAVE_MORSE_INPUT diff --git a/firmware/export/config/ipodmini1g.h b/firmware/export/config/ipodmini1g.h index 55b78de752..777dc6f9a2 100644 --- a/firmware/export/config/ipodmini1g.h +++ b/firmware/export/config/ipodmini1g.h @@ -78,6 +78,9 @@ #define CONFIG_KEYPAD IPOD_4G_PAD +/* Define this to have CPU boosted while scrolling in the UI */ +#define HAVE_GUI_BOOST + #define HAVE_SCROLLWHEEL /* define to activate advanced wheel acceleration code */ #define HAVE_WHEEL_ACCELERATION diff --git a/firmware/export/config/ipodmini2g.h b/firmware/export/config/ipodmini2g.h index fd332c0a03..c401170459 100644 --- a/firmware/export/config/ipodmini2g.h +++ b/firmware/export/config/ipodmini2g.h @@ -78,6 +78,9 @@ #define CONFIG_KEYPAD IPOD_4G_PAD +/* Define this to have CPU boosted while scrolling in the UI */ +#define HAVE_GUI_BOOST + /* Define this to enable morse code input */ #define HAVE_MORSE_INPUT diff --git a/firmware/export/config/ipodnano1g.h b/firmware/export/config/ipodnano1g.h index 9dba533744..388ba34447 100644 --- a/firmware/export/config/ipodnano1g.h +++ b/firmware/export/config/ipodnano1g.h @@ -69,6 +69,9 @@ #define CONFIG_KEYPAD IPOD_4G_PAD +/* Define this to have CPU boosted while scrolling in the UI */ +#define HAVE_GUI_BOOST + /* Define this to enable morse code input */ #define HAVE_MORSE_INPUT diff --git a/firmware/export/config/ipodnano2g.h b/firmware/export/config/ipodnano2g.h index a85cd61436..37a21b33ba 100644 --- a/firmware/export/config/ipodnano2g.h +++ b/firmware/export/config/ipodnano2g.h @@ -104,6 +104,9 @@ #define CONFIG_KEYPAD IPOD_4G_PAD +/* Define this to have CPU boosted while scrolling in the UI */ +#define HAVE_GUI_BOOST + #define AB_REPEAT_ENABLE #define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE diff --git a/firmware/export/config/ipodvideo.h b/firmware/export/config/ipodvideo.h index dd21bb518a..1dd7d48e30 100644 --- a/firmware/export/config/ipodvideo.h +++ b/firmware/export/config/ipodvideo.h @@ -65,6 +65,9 @@ #define CONFIG_KEYPAD IPOD_4G_PAD +/* Define this to have CPU boosted while scrolling in the UI */ +#define HAVE_GUI_BOOST + /* Define this to enable morse code input */ #define HAVE_MORSE_INPUT diff --git a/firmware/export/config/sansae200.h b/firmware/export/config/sansae200.h index a6f4e5416d..dd5747a9ca 100644 --- a/firmware/export/config/sansae200.h +++ b/firmware/export/config/sansae200.h @@ -78,6 +78,9 @@ #define CONFIG_KEYPAD SANSA_E200_PAD +/* Define this to have CPU boosted while scrolling in the UI */ +#define HAVE_GUI_BOOST + /* Define this to enable morse code input */ #define HAVE_MORSE_INPUT diff --git a/firmware/export/config/sansae200v2.h b/firmware/export/config/sansae200v2.h index 03711990a9..34c2cd98ad 100644 --- a/firmware/export/config/sansae200v2.h +++ b/firmware/export/config/sansae200v2.h @@ -76,6 +76,9 @@ /* Define this to enable morse code input */ #define HAVE_MORSE_INPUT +/* Define this to have CPU boosted while scrolling in the UI */ +#define HAVE_GUI_BOOST + /* Define this if you do software codec */ #define CONFIG_CODEC SWCODEC diff --git a/firmware/export/config/sansafuze.h b/firmware/export/config/sansafuze.h index 2f0073fc53..8563664cb8 100644 --- a/firmware/export/config/sansafuze.h +++ b/firmware/export/config/sansafuze.h @@ -77,6 +77,9 @@ #define CONFIG_KEYPAD SANSA_FUZE_PAD +/* Define this to have CPU boosted while scrolling in the UI */ +#define HAVE_GUI_BOOST + /* Define this to enable morse code input */ #define HAVE_MORSE_INPUT diff --git a/firmware/export/config/sansafuzev2.h b/firmware/export/config/sansafuzev2.h index ff88aa9146..1c0f8a99dc 100644 --- a/firmware/export/config/sansafuzev2.h +++ b/firmware/export/config/sansafuzev2.h @@ -88,6 +88,9 @@ #define CONFIG_KEYPAD SANSA_FUZE_PAD +/* Define this to have CPU boosted while scrolling in the UI */ +#define HAVE_GUI_BOOST + /* Define this to enable morse code input */ #define HAVE_MORSE_INPUT diff --git a/firmware/export/config/sansaview.h b/firmware/export/config/sansaview.h index b0317f3e0d..829f67ab3e 100644 --- a/firmware/export/config/sansaview.h +++ b/firmware/export/config/sansaview.h @@ -74,6 +74,9 @@ /* The only difference is that the power/hold is on the left instead of right on Fuze */ #define CONFIG_KEYPAD SANSA_FUZE_PAD +/* Define this to have CPU boosted while scrolling in the UI */ +#define HAVE_GUI_BOOST + /* Define this to enable morse code input */ #define HAVE_MORSE_INPUT -- cgit v1.2.3