diff options
Diffstat (limited to 'firmware/target/arm/philips/sa9200/button-sa9200.c')
-rwxr-xr-x | firmware/target/arm/philips/sa9200/button-sa9200.c | 8 |
1 files changed, 4 insertions, 4 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) | |||
51 | if (val == MEP_BUTTON_HEADER) | 51 | if (val == MEP_BUTTON_HEADER) |
52 | { | 52 | { |
53 | /* Buttons packet */ | 53 | /* Buttons packet */ |
54 | if (data[1] & 0x1) int_btn |= BUTTON_FFWD; | 54 | if (data[1] & 0x1) int_btn |= BUTTON_RIGHT; |
55 | if (data[1] & 0x2) int_btn |= BUTTON_RIGHT; | 55 | if (data[1] & 0x2) int_btn |= BUTTON_NEXT; |
56 | if (data[1] & 0x4) int_btn |= BUTTON_LEFT; | 56 | if (data[1] & 0x4) int_btn |= BUTTON_PREV; |
57 | if (data[1] & 0x8) int_btn |= BUTTON_REW; | 57 | if (data[1] & 0x8) int_btn |= BUTTON_LEFT; |
58 | if (data[2] & 0x1) int_btn |= BUTTON_MENU; | 58 | if (data[2] & 0x1) int_btn |= BUTTON_MENU; |
59 | } | 59 | } |
60 | else if (val == MEP_ABSOLUTE_HEADER) | 60 | else if (val == MEP_ABSOLUTE_HEADER) |