mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-12 00:47:49 -04:00
rgnano: Use proper lcd depth and pixelformat
According to screen driver this device screen is actually 16 bit RGB565 (https://github.com/DrUm78/linux/blob/FunKey_S/drivers/staging/fbtft/fb_st7789v.c#L137). This also fixes the color banding issues we had before and boomshine doesn't segfault anymore. Also building rockpaint now that's possible. Change-Id: Icee49c347fbfabc79e0040314ec148cb77ca6325
This commit is contained in:
parent
e6ddf94fbd
commit
69f27d4c66
6 changed files with 21 additions and 6 deletions
|
|
@ -429,6 +429,17 @@
|
|||
#define ROCKPAINT_LEFT BUTTON_LEFT
|
||||
#define ROCKPAINT_RIGHT BUTTON_RIGHT
|
||||
|
||||
#elif CONFIG_KEYPAD == RG_NANO_PAD
|
||||
#define ROCKPAINT_QUIT BUTTON_START
|
||||
#define ROCKPAINT_DRAW BUTTON_A
|
||||
#define ROCKPAINT_MENU BUTTON_B
|
||||
#define ROCKPAINT_TOOLBAR BUTTON_X
|
||||
#define ROCKPAINT_TOOLBAR2 BUTTON_Y
|
||||
#define ROCKPAINT_UP BUTTON_UP
|
||||
#define ROCKPAINT_DOWN BUTTON_DOWN
|
||||
#define ROCKPAINT_LEFT BUTTON_LEFT
|
||||
#define ROCKPAINT_RIGHT BUTTON_RIGHT
|
||||
|
||||
#else
|
||||
#error "Please define keys for this keypad"
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue