forked from len0rd/rockbox
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
|
@ -296,6 +296,9 @@ CONFIG_KEYPAD == MROBE500_PAD
|
|||
#define RIGHT BUTTON_RIGHT
|
||||
#define FIRE BUTTON_SELECT
|
||||
|
||||
#elif CONFIG_KEYPAD == SHANLING_Q1_PAD
|
||||
/* use touchscreen */
|
||||
|
||||
#else
|
||||
#error INVADROX: Unsupported keypad
|
||||
#endif
|
||||
|
@ -648,6 +651,23 @@ CONFIG_KEYPAD == MROBE500_PAD
|
|||
#define LIVES_X 8
|
||||
#define MAX_Y 15
|
||||
|
||||
#elif (LCD_WIDTH == 360) && (LCD_HEIGHT == 400)
|
||||
|
||||
/* Shanling Q1
|
||||
*/
|
||||
#define ARCADISH_GRAPHICS
|
||||
#define PLAYFIELD_X 32
|
||||
#define SHIP_Y (PLAYFIELD_Y - 3 * SHIP_HEIGHT)
|
||||
#define ALIEN_START_Y (UFO_Y + 3 * ALIEN_HEIGHT)
|
||||
/* Redefine SCORE_Y */
|
||||
#undef SCORE_Y
|
||||
#define SCORE_Y 80
|
||||
#define SCORENUM_X (PLAYFIELD_X + NUMBERS_WIDTH)
|
||||
#define SCORENUM_Y SCORE_Y + (2 * (FONT_HEIGHT + 1) + 1)
|
||||
#define HISCORENUM_X (LCD_WIDTH - PLAYFIELD_X - 1 - 6 * NUMBERS_WIDTH - 5 * NUM_SPACING)
|
||||
#define SHIELD_Y (PLAYFIELD_Y - 6 * SHIP_HEIGHT)
|
||||
#define LIVES_X 10
|
||||
#define MAX_Y 18
|
||||
|
||||
#else
|
||||
#error INVADROX: Unsupported LCD type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue