mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
zen{,xfi,mozaic,xfistyle,v}: switch to the new button driver
Change-Id: I206b16f6374f536ab6d84e84fefc8370a96ef759
This commit is contained in:
parent
82b86d4316
commit
a2bfbe9ebc
3 changed files with 106 additions and 130 deletions
|
|
@ -28,23 +28,6 @@ bool button_debug_screen(void);
|
|||
/* HOLD button */
|
||||
#if !defined(CREATIVE_ZENXFISTYLE)
|
||||
#define HAS_BUTTON_HOLD
|
||||
#define IMX233_BUTTON_LRADC_HOLD_DET BLH_ADC
|
||||
#endif
|
||||
|
||||
/* VDDIO value */
|
||||
#if defined(CREATIVE_ZENXFISTYLE)
|
||||
#define IMX233_BUTTON_LRADC_VDDIO 3660
|
||||
#elif defined(CREATIVE_ZEN)
|
||||
#define IMX233_BUTTON_LRADC_VDDIO 3480
|
||||
#elif defined(CREATIVE_ZENXFI)
|
||||
#define IMX233_BUTTON_LRADC_VDDIO 3500
|
||||
#endif
|
||||
|
||||
/* LRADC channel */
|
||||
#if defined(CREATIVE_ZENXFISTYLE)
|
||||
#define IMX233_BUTTON_LRADC_CHANNEL 2
|
||||
#else
|
||||
#define IMX233_BUTTON_LRADC_CHANNEL 0
|
||||
#endif
|
||||
|
||||
/* Main unit's buttons */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue