From 7466bcacff19627996d40e0e426717050dd6dd41 Mon Sep 17 00:00:00 2001 From: Alexander Klein Date: Sun, 10 Dec 2023 17:47:41 +0100 Subject: [PATCH] remove wrong const --- include/gamepad.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gamepad.h b/include/gamepad.h index 45b099e..5bf493c 100644 --- a/include/gamepad.h +++ b/include/gamepad.h @@ -25,7 +25,7 @@ class Gamepad{ bool isPressed(Button button); bool isPressedLast(Button button) const; - uint16_t getState() const; + uint16_t getState(); uint16_t getLastState() const { return this->lastState; } static bool isPressed(uint16_t input, Button button);