mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-16 00:22:29 -05:00
xworld: support diagonal buttons on Zen X-Fi
Change-Id: Ia738ecd2a39c0c0772d6f939d549dd5d0eda055e
This commit is contained in:
parent
bb55fceb70
commit
23e7d0ef19
4 changed files with 19 additions and 6 deletions
|
|
@ -64,12 +64,14 @@ struct keymapping_t {
|
|||
int down;
|
||||
int left;
|
||||
int right;
|
||||
#if (CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD)
|
||||
|
||||
/* These aren't conditional, even if they aren't used (this is to
|
||||
* prevent headers and source from having varying defintions of
|
||||
* this structure, leading to memory corruption */
|
||||
int upleft;
|
||||
int upright;
|
||||
int downleft;
|
||||
int downright;
|
||||
#endif
|
||||
};
|
||||
|
||||
typedef void (*AudioCallback)(void *param, uint8_t *stream, int len);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue