mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-07 07:38:04 -04:00
fix gp2x build
This commit is contained in:
parent
af7e50060f
commit
8b4363e302
1 changed files with 3 additions and 3 deletions
|
@ -88,7 +88,7 @@ static int in_gp2x_get_wiz_bits(void)
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void in_gp2x_probe(void)
|
static void in_gp2x_probe(const in_drv_t *drv)
|
||||||
{
|
{
|
||||||
switch (gp2x_dev_id)
|
switch (gp2x_dev_id)
|
||||||
{
|
{
|
||||||
|
@ -121,7 +121,7 @@ static void in_gp2x_free(void *drv_data)
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char * const *
|
static const char * const *
|
||||||
in_gp2x_get_key_names(int *count)
|
in_gp2x_get_key_names(const in_drv_t *drv, int *count)
|
||||||
{
|
{
|
||||||
*count = IN_GP2X_NBUTTONS;
|
*count = IN_GP2X_NBUTTONS;
|
||||||
return in_gp2x_keys;
|
return in_gp2x_keys;
|
||||||
|
@ -303,6 +303,6 @@ void in_gp2x_init(const struct in_default_bind *defbinds)
|
||||||
|
|
||||||
in_gp2x_combo_keys = in_gp2x_combo_acts = 0;
|
in_gp2x_combo_keys = in_gp2x_combo_acts = 0;
|
||||||
|
|
||||||
in_register_driver(&in_gp2x_drv, defbinds);
|
in_register_driver(&in_gp2x_drv, defbinds, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue