From 86fa139eac0493893e08769a82e3a0eb6ed7bc90 Mon Sep 17 00:00:00 2001 From: Szymon Dziok Date: Mon, 28 Jul 2014 22:02:53 +0200 Subject: 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 --- firmware/target/arm/pp/system-pp502x.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firmware/target/arm/pp/system-pp502x.c') diff --git a/firmware/target/arm/pp/system-pp502x.c b/firmware/target/arm/pp/system-pp502x.c index 697b52cf51..99b536e132 100644 --- a/firmware/target/arm/pp/system-pp502x.c +++ b/firmware/target/arm/pp/system-pp502x.c @@ -154,6 +154,10 @@ void __attribute__((interrupt("IRQ"))) irq_handler(void) else if (CPU_HI_INT_STAT & GPIO0_MASK) { if (GPIOD_INT_STAT & 0x10) usb_insert_int(); +#if !defined(SAMSUNG_YH820) + if (GPIOD_INT_STAT & 0x01) + remote_int(); +#endif } /* end SAMSUNG_YHxxx */ #elif defined(PBELL_VIBE500) -- cgit v1.2.3