diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2017-09-10 21:55:35 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2017-09-17 00:03:02 +0200 |
commit | ac57f96838b53e574477d13bf41bc54711a70c21 (patch) | |
tree | dcd4c1d96593458c59375c2160c3ffaeb27329e5 /firmware/export/config/sonynwza860.h | |
parent | f22ccabac339925dbb004bd035307480fca9d2f7 (diff) | |
download | rockbox-ac57f96838b53e574477d13bf41bc54711a70c21.tar.gz rockbox-ac57f96838b53e574477d13bf41bc54711a70c21.zip |
Add support for the NWZ-A860
Change-Id: Ibf0c5168ac31d4ba2aeaa86cbeca37a1011b75fa
Diffstat (limited to 'firmware/export/config/sonynwza860.h')
-rw-r--r-- | firmware/export/config/sonynwza860.h | 24 |
1 files changed, 24 insertions, 0 deletions
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 | ||