diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-05-23 17:30:58 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-07-13 22:01:33 +0100 |
commit | 4c60bc9e681865fcfc149775a1ed7ccd2613d5bf (patch) | |
tree | 99f8d91af2c171cf3843f0c14d41a20d9dc29c4f /apps/settings_list.c | |
parent | 3abb7c5dd5be2ec6744bfc0a80967b20f1b59e30 (diff) | |
download | rockbox-4c60bc9e681865fcfc149775a1ed7ccd2613d5bf.tar.gz rockbox-4c60bc9e681865fcfc149775a1ed7ccd2613d5bf.zip |
New port: Shanling Q1 native
- Audio playback works
- Touchscreen and buttons work
- Bootloader works and is capable of dual boot
- Plugins are working
- Cabbiev2 theme has been ported
- Stable for general usage
Thanks to Marc Aarts for porting Cabbiev2 and plugin bitmaps.
There's a few minor known issues:
- Bootloader must be installed manually using 'usbboot' as there is
no support in jztool yet.
- Keymaps may be lacking, need further testing and feedback.
- Some plugins may not be fully adapted to the screen size and could
benefit from further tweaking.
- LCD shows abnormal effects under some circumstances: for example,
after viewing a mostly black screen an afterimage appears briefly
when going back to a brightly-lit screen. Sudden power-off without
proper shutdown of the backlight causes a "dissolving" effect.
- CW2015 battery reporting driver is buggy, and disabled for now.
Battery reporting is currently voltage-based using the AXP192.
Change-Id: I635e83f02a880192c5a82cb0861ad3a61c137c3a
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r-- | apps/settings_list.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c index c13df734e6..1cdbc4115d 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c | |||
@@ -242,6 +242,9 @@ static const char graphic_numeric[] = "graphic,numeric"; | |||
242 | #define DEFAULT_FONT_HEIGHT 12 | 242 | #define DEFAULT_FONT_HEIGHT 12 |
243 | #elif LCD_HEIGHT <= 320 | 243 | #elif LCD_HEIGHT <= 320 |
244 | #define DEFAULT_FONT_HEIGHT 15 | 244 | #define DEFAULT_FONT_HEIGHT 15 |
245 | #elif defined(SHANLING_Q1) | ||
246 | /* 16pt font looks pretty aliased & ugly */ | ||
247 | #define DEFAULT_FONT_HEIGHT 18 | ||
245 | #elif LCD_HEIGHT <= 400 | 248 | #elif LCD_HEIGHT <= 400 |
246 | #define DEFAULT_FONT_HEIGHT 16 | 249 | #define DEFAULT_FONT_HEIGHT 16 |
247 | #elif LCD_HEIGHT <= 480 && LCD_WIDTH < 800 | 250 | #elif LCD_HEIGHT <= 480 && LCD_WIDTH < 800 |
@@ -261,7 +264,7 @@ static const char graphic_numeric[] = "graphic,numeric"; | |||
261 | #endif | 264 | #endif |
262 | 265 | ||
263 | #ifdef HAVE_LCD_COLOR | 266 | #ifdef HAVE_LCD_COLOR |
264 | #if DEFAULT_FONT_HEIGHT >= 31 | 267 | #if DEFAULT_FONT_HEIGHT >= 31 || defined(SHANLING_Q1) |
265 | #define DEFAULT_ICONSET "tango_icons.32x32" | 268 | #define DEFAULT_ICONSET "tango_icons.32x32" |
266 | #define DEFAULT_VIEWERS_ICONSET "tango_icons_viewers.32x32" | 269 | #define DEFAULT_VIEWERS_ICONSET "tango_icons_viewers.32x32" |
267 | #elif DEFAULT_FONT_HEIGHT >= 23 | 270 | #elif DEFAULT_FONT_HEIGHT >= 23 |
@@ -848,7 +851,11 @@ const struct settings_list settings[] = { | |||
848 | 851 | ||
849 | #ifdef AUDIOHW_HAVE_FILTER_ROLL_OFF | 852 | #ifdef AUDIOHW_HAVE_FILTER_ROLL_OFF |
850 | CHOICE_SETTING(F_SOUNDSETTING, roll_off, LANG_FILTER_ROLL_OFF, 0, | 853 | CHOICE_SETTING(F_SOUNDSETTING, roll_off, LANG_FILTER_ROLL_OFF, 0, |
851 | #if defined(AUDIOHW_HAVE_SHORT2_ROLL_OFF) | 854 | #if defined(AUDIOHW_HAVE_ES9218_ROLL_OFF) |
855 | "roll_off", "linear fast,linear slow,minimum fast,minimum slow,apodizing 1,apodizing 2,hybrid fast,brick wall", sound_set_filter_roll_off, | ||
856 | 8, ID2P(LANG_FILTER_LINEAR_FAST), ID2P(LANG_FILTER_LINEAR_SLOW), ID2P(LANG_FILTER_MINIMUM_FAST), ID2P(LANG_FILTER_MINIMUM_SLOW), | ||
857 | ID2P(LANG_FILTER_APODIZING_1), ID2P(LANG_FILTER_APODIZING_2), ID2P(LANG_FILTER_HYBRID_FAST), ID2P(LANG_FILTER_BRICK_WALL)), | ||
858 | #elif defined(AUDIOHW_HAVE_SHORT2_ROLL_OFF) | ||
852 | "roll_off", "sharp,slow,short sharp,short slow", sound_set_filter_roll_off, | 859 | "roll_off", "sharp,slow,short sharp,short slow", sound_set_filter_roll_off, |
853 | 4, ID2P(LANG_FILTER_SHARP), ID2P(LANG_FILTER_SLOW), ID2P(LANG_FILTER_SHORT_SHARP), ID2P(LANG_FILTER_SHORT_SLOW)), | 860 | 4, ID2P(LANG_FILTER_SHARP), ID2P(LANG_FILTER_SLOW), ID2P(LANG_FILTER_SHORT_SHARP), ID2P(LANG_FILTER_SHORT_SLOW)), |
854 | #elif defined(AUDIOHW_HAVE_SHORT_ROLL_OFF) | 861 | #elif defined(AUDIOHW_HAVE_SHORT_ROLL_OFF) |