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:
notaz 2009-07-22 15:46:09 +00:00
parent 2f64d82211
commit d34a42f93f
11 changed files with 296 additions and 404 deletions

View file

@ -441,8 +441,8 @@ static const struct {
{ BTN_Y, 6 },
{ KEY_ENTER, 7 },
{ BTN_START, 7 },
{ BTN_TL, 27 }, /* save state */
{ BTN_TR, 28 }, /* load state */
{ BTN_TL, PEVB_STATE_LOAD },
{ BTN_TR, PEVB_STATE_SAVE },
};
#define DEF_BIND_COUNT (sizeof(in_evdev_def_binds) / sizeof(in_evdev_def_binds[0]))