summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm')
-rwxr-xr-xfirmware/target/arm/philips/sa9200/button-sa9200.c8
-rwxr-xr-xfirmware/target/arm/philips/sa9200/button-target.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/firmware/target/arm/philips/sa9200/button-sa9200.c b/firmware/target/arm/philips/sa9200/button-sa9200.c
index be37111ecb..0be77c66c9 100755
--- a/firmware/target/arm/philips/sa9200/button-sa9200.c
+++ b/firmware/target/arm/philips/sa9200/button-sa9200.c
@@ -51,10 +51,10 @@ void button_int(void)
if (val == MEP_BUTTON_HEADER)
{
/* Buttons packet */
- if (data[1] & 0x1) int_btn |= BUTTON_FFWD;
- if (data[1] & 0x2) int_btn |= BUTTON_RIGHT;
- if (data[1] & 0x4) int_btn |= BUTTON_LEFT;
- if (data[1] & 0x8) int_btn |= BUTTON_REW;
+ if (data[1] & 0x1) int_btn |= BUTTON_RIGHT;
+ if (data[1] & 0x2) int_btn |= BUTTON_NEXT;
+ if (data[1] & 0x4) int_btn |= BUTTON_PREV;
+ if (data[1] & 0x8) int_btn |= BUTTON_LEFT;
if (data[2] & 0x1) int_btn |= BUTTON_MENU;
}
else if (val == MEP_ABSOLUTE_HEADER)
diff --git a/firmware/target/arm/philips/sa9200/button-target.h b/firmware/target/arm/philips/sa9200/button-target.h
index 6259aa0737..faed943208 100755
--- a/firmware/target/arm/philips/sa9200/button-target.h
+++ b/firmware/target/arm/philips/sa9200/button-target.h
@@ -43,10 +43,10 @@ void button_int(void);
#define BUTTON_POWER 0x00000001
#define BUTTON_PLAY 0x00000002
#define BUTTON_MENU 0x00000004
-#define BUTTON_LEFT 0x00000008
-#define BUTTON_RIGHT 0x00000010
-#define BUTTON_REW 0x00000020
-#define BUTTON_FFWD 0x00000040
+#define BUTTON_PREV 0x00000008
+#define BUTTON_NEXT 0x00000010
+#define BUTTON_LEFT 0x00000020
+#define BUTTON_RIGHT 0x00000040
#define BUTTON_UP 0x00000080
#define BUTTON_DOWN 0x00000100
#define BUTTON_VOL_UP 0x00000200