button.c: fix wrong function call
This commit is contained in:
parent
4f714af054
commit
a0363cef85
|
@ -110,7 +110,7 @@ static bool pressed(const struct gui_button *const b,
|
|||
switch (p->common.type)
|
||||
{
|
||||
case PERIPHERAL_TYPE_PAD:
|
||||
check = pad_pressed(&p->pad.pad, PAD_KEY_A);
|
||||
check = pad_justpressed(&p->pad.pad, PAD_KEY_A);
|
||||
break;
|
||||
|
||||
case PERIPHERAL_TYPE_KEYBOARD_MOUSE:
|
||||
|
|
Loading…
Reference in New Issue