mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Support for remote on Samsung YH920/YH925.
Remote buttons are bound to the standard buttons in button-target.h, but they can have a separate buttonmap, if someone wants. Change-Id: Id8c78a3dfec0005bf588dc16416870b4c7c56836
This commit is contained in:
parent
228c47be4c
commit
86fa139eac
4 changed files with 75 additions and 7 deletions
|
|
@ -28,14 +28,10 @@
|
|||
#define ADC_CHANNEL_2 2
|
||||
#define ADC_CHANNEL_3 3
|
||||
|
||||
#define ADC_REMOTE ADC_CHANNEL_0
|
||||
#define ADC_BATTERY ADC_CHANNEL_1
|
||||
/*
|
||||
#define ADC_UNKNOWN_1 1
|
||||
#define ADC_REMOTE 2
|
||||
#define ADC_SCROLLPAD 3
|
||||
*/
|
||||
#define ADC_UNREG_POWER ADC_BATTERY /* For compatibility */
|
||||
|
||||
#define ADC_UNREG_POWER ADC_BATTERY /* For compatibility */
|
||||
|
||||
/* Force a scan now */
|
||||
unsigned short adc_scan(int channel);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue