summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/sansa-fuze
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525/sansa-fuze')
-rw-r--r--firmware/target/arm/as3525/sansa-fuze/button-target.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/sansa-fuze/button-target.h b/firmware/target/arm/as3525/sansa-fuze/button-target.h
index 6dcd37460a..2cee93723e 100644
--- a/firmware/target/arm/as3525/sansa-fuze/button-target.h
+++ b/firmware/target/arm/as3525/sansa-fuze/button-target.h
@@ -31,6 +31,13 @@ void button_init_device(void);
31bool button_hold(void); 31bool button_hold(void);
32int button_read_device(void); 32int button_read_device(void);
33unsigned short button_read_dbop(void); 33unsigned short button_read_dbop(void);
34#define get_scrollwheel button_read_dbop
35
36#define WHEEL_REPEAT_INTERVAL (HZ/5)
37#define WHEEL_COUNTER_DIV 4
38#define ACCEL_INCREMENT 2
39#define ACCEL_SHIFT 2
40
34/* Sandisk Sansa Fuze button codes */ 41/* Sandisk Sansa Fuze button codes */
35 42
36/* Main unit's buttons */ 43/* Main unit's buttons */