summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-07-22 22:10:25 +0000
committerThomas Martitz <kugel@rockbox.org>2009-07-22 22:10:25 +0000
commit5c9fe52629f2f0f68e25efe658281b2fa42bab84 (patch)
treeb0823e6b48173a84dc5dfc84ada7295ebbbd7d38 /firmware
parent962faf12732b8e62dd2930c42e00111fc5d4f7ed (diff)
downloadrockbox-5c9fe52629f2f0f68e25efe658281b2fa42bab84.tar.gz
rockbox-5c9fe52629f2f0f68e25efe658281b2fa42bab84.tar.bz2
rockbox-5c9fe52629f2f0f68e25efe658281b2fa42bab84.zip
Commit part of FS#9873 - Utilise buttons for playlisting
It adds a shortcut (combo or button) to directly go from the wps to the playlist viewer. The combos could possibly be improved on some targets, but I tried to keep a tad bit of consistency (was hardly possible). I also added a corresponding touchscreen region and adapted cabbiev2. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22003 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/samsung/adc-target.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/target/arm/samsung/adc-target.h b/firmware/target/arm/samsung/adc-target.h
index e84fc23ef8..a95bcd2e99 100644
--- a/firmware/target/arm/samsung/adc-target.h
+++ b/firmware/target/arm/samsung/adc-target.h
@@ -28,8 +28,15 @@
#define ADC_CHANNEL_2 2
#define ADC_CHANNEL_3 3
+#define ADC_BATTERY ADC_CHANNEL_0
+/*
+#define ADC_UNKNOWN_1 1
+#define ADC_REMOTE 2
+#define ADC_SCROLLPAD 3
+*/
#define ADC_UNREG_POWER ADC_BATTERY /* For compatibility */
+
/* Force a scan now */
unsigned short adc_scan(int channel);