mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
more unification; replace some magic bits to defines
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@708 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
2f64d82211
commit
d34a42f93f
11 changed files with 296 additions and 404 deletions
|
@ -16,6 +16,30 @@
|
|||
|
||||
#define PBTN_MENU (1 << 10)
|
||||
|
||||
/* ui events */
|
||||
#define PEVB_VOL_DOWN 30
|
||||
#define PEVB_VOL_UP 29
|
||||
#define PEVB_STATE_LOAD 28
|
||||
#define PEVB_STATE_SAVE 27
|
||||
#define PEVB_SWITCH_RND 26
|
||||
#define PEVB_SSLOT_PREV 25
|
||||
#define PEVB_SSLOT_NEXT 24
|
||||
#define PEVB_MENU 23
|
||||
#define PEVB_FF 22
|
||||
|
||||
#define PEV_VOL_DOWN (1 << PEVB_VOL_DOWN)
|
||||
#define PEV_VOL_UP (1 << PEVB_VOL_UP)
|
||||
#define PEV_STATE_LOAD (1 << PEVB_STATE_LOAD)
|
||||
#define PEV_STATE_SAVE (1 << PEVB_STATE_SAVE)
|
||||
#define PEV_SWITCH_RND (1 << PEVB_SWITCH_RND)
|
||||
#define PEV_SSLOT_PREV (1 << PEVB_SSLOT_PREV)
|
||||
#define PEV_SSLOT_NEXT (1 << PEVB_SSLOT_NEXT)
|
||||
#define PEV_MENU (1 << PEVB_MENU)
|
||||
#define PEV_FF (1 << PEVB_FF)
|
||||
|
||||
#define PEV_MASK 0x7fc00000
|
||||
|
||||
|
||||
enum {
|
||||
IN_DRVID_UNKNOWN = 0,
|
||||
IN_DRVID_GP2X,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue