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:
Szymon Dziok 2014-07-28 22:02:53 +02:00
parent 228c47be4c
commit 86fa139eac
4 changed files with 75 additions and 7 deletions

View file

@ -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);