diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-07-07 02:36:19 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-07-07 02:37:25 +0200 |
| commit | a0363cef8578c098de48e8863db98a35750fbaac (patch) | |
| tree | 72174fa97967fea0f4deddcaf6ead8b6e44df002 | |
| parent | 4f714af054ec1874e78a1f14957c68430623ed22 (diff) | |
button.c: fix wrong function call
| -rw-r--r-- | src/gui/src/button.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/src/button.c b/src/gui/src/button.c index c1a07ac..e16db31 100644 --- a/src/gui/src/button.c +++ b/src/gui/src/button.c @@ -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: |
