mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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
This commit is contained in:
parent
3abb7c5dd5
commit
4c60bc9e68
110 changed files with 2843 additions and 15 deletions
|
@ -465,6 +465,9 @@
|
|||
#define ROCKBLOX_DROP BUTTON_PLAY
|
||||
#define ROCKBLOX_RESTART BUTTON_BACK
|
||||
|
||||
#elif CONFIG_KEYPAD == SHANLING_Q1_PAD
|
||||
/* use touchscreen */
|
||||
|
||||
#else
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
@ -534,6 +537,22 @@
|
|||
#define LEVEL_Y 142
|
||||
#define LINES_Y 218
|
||||
|
||||
#elif (LCD_WIDTH == 360) && (LCD_HEIGHT == 400)
|
||||
|
||||
#define BLOCK_WIDTH 19
|
||||
#define BLOCK_HEIGHT 19
|
||||
#define BOARD_X 27
|
||||
#define BOARD_Y 0
|
||||
#define LABEL_X 258
|
||||
#define SCORE_Y 40
|
||||
#define LEVEL_Y 92
|
||||
#define LINES_Y 140
|
||||
#define HIGH_LABEL_X 258
|
||||
#define HIGH_SCORE_Y 200
|
||||
#define HIGH_LEVEL_Y 258
|
||||
#define PREVIEW_X 258
|
||||
#define PREVIEW_Y 300
|
||||
|
||||
#elif (LCD_WIDTH == 320) && (LCD_HEIGHT == 240)
|
||||
|
||||
#define BLOCK_WIDTH 12
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue