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 | 3f793166bdbd73a61c3a858d95e700b42ead602d (patch) | |
| tree | d152821db1d002eb6e2889380e776f8ed383e541 /src | |
| parent | 196a7501fe8391804de54aa2eb383b0ad4f221b9 (diff) | |
| download | jancity-3f793166bdbd73a61c3a858d95e700b42ead602d.tar.gz | |
button.c: fix wrong function call
Diffstat (limited to 'src')
| -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: |
