diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config.h | 3 | ||||
-rw-r--r-- | firmware/export/config/sonynwza860.h | 24 |
2 files changed, 27 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index f98ccbd853..abe815d70d 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -165,6 +165,7 @@ | |||
165 | #define SAMSUNG_YPR1_PAD 61 | 165 | #define SAMSUNG_YPR1_PAD 61 |
166 | #define SAMSUNG_YH92X_PAD 62 | 166 | #define SAMSUNG_YH92X_PAD 62 |
167 | #define DX50_PAD 63 | 167 | #define DX50_PAD 63 |
168 | #define SONY_NWZA860_PAD 64 /* The NWZ-A860 is too different (touchscreen) */ | ||
168 | 169 | ||
169 | /* CONFIG_REMOTE_KEYPAD */ | 170 | /* CONFIG_REMOTE_KEYPAD */ |
170 | #define H100_REMOTE 1 | 171 | #define H100_REMOTE 1 |
@@ -594,6 +595,8 @@ Lyre prototype 1 */ | |||
594 | #include "config/sonynwa20.h" | 595 | #include "config/sonynwa20.h" |
595 | #elif defined(SONY_NWZE470) | 596 | #elif defined(SONY_NWZE470) |
596 | #include "config/sonynwze470.h" | 597 | #include "config/sonynwze470.h" |
598 | #elif defined(SONY_NWZA860) | ||
599 | #include "config/sonynwza860.h" | ||
597 | #else | 600 | #else |
598 | /* no known platform */ | 601 | /* no known platform */ |
599 | #endif | 602 | #endif |
diff --git a/firmware/export/config/sonynwza860.h b/firmware/export/config/sonynwza860.h new file mode 100644 index 0000000000..f61dd7a4dd --- /dev/null +++ b/firmware/export/config/sonynwza860.h | |||
@@ -0,0 +1,24 @@ | |||
1 | /* | ||
2 | * This config file is for the Sony NWZ-A860 series | ||
3 | */ | ||
4 | |||
5 | /* For Rolo and boot loader */ | ||
6 | #define MODEL_NUMBER 107 | ||
7 | |||
8 | #define MODEL_NAME "Sony NWZ-A860 Series" | ||
9 | |||
10 | /* LCD dimensions */ | ||
11 | #define LCD_WIDTH 240 | ||
12 | #define LCD_HEIGHT 400 | ||
13 | /* sqrt(240^2 + 400^2) / 2.8 = 166 */ | ||
14 | #define LCD_DPI 166 | ||
15 | |||
16 | /* this device has a touchscreen */ | ||
17 | #define HAVE_TOUCHSCREEN | ||
18 | #define HAVE_BUTTON_DATA | ||
19 | |||
20 | #include "sonynwzlinux.h" | ||
21 | |||
22 | /* override keypad */ | ||
23 | #undef CONFIG_KEYPAD | ||
24 | #define CONFIG_KEYPAD SONY_NWZA860_PAD | ||