mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
update gp2x for input changes
This commit is contained in:
parent
99823d0f23
commit
9770f5316f
3 changed files with 4 additions and 4 deletions
|
@ -316,7 +316,7 @@ void gfx_start(unsigned int base)
|
||||||
/* make sure 2M mode is enabled */
|
/* make sure 2M mode is enabled */
|
||||||
if (!(Pico_mcd->s68k_regs[3] & 0x04))
|
if (!(Pico_mcd->s68k_regs[3] & 0x04))
|
||||||
{
|
{
|
||||||
uint32 mask;
|
uint32 mask = 0;
|
||||||
uint32 reg;
|
uint32 reg;
|
||||||
|
|
||||||
/* trace vector pointer */
|
/* trace vector pointer */
|
||||||
|
|
|
@ -95,8 +95,8 @@ static const struct menu_keymap key_pbtn_map[] =
|
||||||
{ KEY_RIGHTBRACE, PBTN_R },
|
{ KEY_RIGHTBRACE, PBTN_R },
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct in_evdev_pdata gp2x_evdev_pdata = {
|
static const struct in_pdata gp2x_evdev_pdata = {
|
||||||
.defbinds = in_gp2x_defbinds,
|
.defbinds = in_evdev_defbinds,
|
||||||
.key_map = key_pbtn_map,
|
.key_map = key_pbtn_map,
|
||||||
.kmap_size = sizeof(key_pbtn_map) / sizeof(key_pbtn_map[0]),
|
.kmap_size = sizeof(key_pbtn_map) / sizeof(key_pbtn_map[0]),
|
||||||
};
|
};
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit d685ce4625e9f3b25b0852d31960cb429da06a9d
|
Subproject commit 8b4363e302e6bbcf41321ec70f8c033efed5840d
|
Loading…
Add table
Add a link
Reference in a new issue