mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-12 00:47:49 -04:00
New port: Anbernic RG Nano
A bit of context, this device is a clone of the FunKey-S with a different form factor, hardware is mostly identical, the relevant difference is it has audio out (via usb-c, adapter to 3.5mm is included), this is the reason why the FunKey-SDK is needed for bulding. This port is based on the old SDL 1.2 code because the device doesn't have SDL2 support. Alongside what was supported in the SDL 1.2 builds this port supports battery level, charging status and backlight control. Change-Id: I7fcb85be62748644b667c0efebabf59d6e9c5ade
This commit is contained in:
parent
9d3e286454
commit
48392bab94
94 changed files with 1517 additions and 29 deletions
|
|
@ -432,6 +432,17 @@
|
|||
#define CALENDAR_NEXT_MONTH BUTTON_MENU
|
||||
#define CALENDAR_PREV_MONTH BUTTON_BACK
|
||||
|
||||
#elif CONFIG_KEYPAD == RG_NANO_PAD
|
||||
#define CALENDAR_QUIT BUTTON_START
|
||||
#define CALENDAR_SELECT BUTTON_A
|
||||
#define CALENDAR_NEXT_WEEK BUTTON_DOWN
|
||||
#define CALENDAR_PREV_WEEK BUTTON_UP
|
||||
#define CALENDAR_NEXT_DAY BUTTON_RIGHT
|
||||
#define CALENDAR_PREV_DAY BUTTON_LEFT
|
||||
#define CALENDAR_NEXT_MONTH BUTTON_R
|
||||
#define CALENDAR_PREV_MONTH BUTTON_L
|
||||
#define CALENDAR_EVENT_MENU_NAME "A"
|
||||
|
||||
#else
|
||||
#error "No keypad setting."
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue