mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-06 07:18:03 -04:00
bugfixes, new config system and messed code for it
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@393 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
3e85ebdd85
commit
367b6f1f93
10 changed files with 286 additions and 126 deletions
|
@ -30,6 +30,24 @@
|
|||
|
||||
char menuErrorMsg[64] = { 0, };
|
||||
|
||||
// PicoPad[] format: MXYZ SACB RLDU
|
||||
me_bind_action me_ctrl_actions[12] =
|
||||
{
|
||||
{ "UP ", 0x001 },
|
||||
{ "DOWN ", 0x002 },
|
||||
{ "LEFT ", 0x004 },
|
||||
{ "RIGHT ", 0x008 },
|
||||
{ "A ", 0x040 },
|
||||
{ "B ", 0x010 },
|
||||
{ "C ", 0x020 },
|
||||
{ "START ", 0x080 },
|
||||
{ "MODE ", 0x800 },
|
||||
{ "X ", 0x400 },
|
||||
{ "Y ", 0x200 },
|
||||
{ "Z ", 0x100 }
|
||||
};
|
||||
|
||||
|
||||
static unsigned char menu_font_data[10240];
|
||||
static int menu_text_color = 0xffff; // default to white
|
||||
static int menu_sel_color = -1; // disabled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue