From 2efb5b2fbff8b887672190b395070356aa79409d Mon Sep 17 00:00:00 2001 From: iori kojima Date: Wed, 21 Feb 2024 16:20:11 +0900 Subject: [PATCH] fix: build error --- src/PrecisionFightingBoard.ino | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/PrecisionFightingBoard.ino b/src/PrecisionFightingBoard.ino index d8dc659..77d3cc9 100644 --- a/src/PrecisionFightingBoard.ino +++ b/src/PrecisionFightingBoard.ino @@ -25,6 +25,30 @@ const int Pin_ButtonXbox = 4; const int Pin_TriggerL = 14; const int Pin_TriggerR = 15; +Bounce debouncerA = Bounce(); +Bounce debouncerB = Bounce(); +Bounce debouncerX = Bounce(); +Bounce debouncerY = Bounce(); + +Bounce debouncerLB = Bounce(); +Bounce debouncerRB = Bounce(); + +Bounce debouncerBack = Bounce(); +Bounce debouncerStart = Bounce(); + +Bounce debouncerL3 = Bounce(); +Bounce debouncerR3 = Bounce(); + +Bounce debouncerDpadUp = Bounce(); +Bounce debouncerDpadDown = Bounce(); +Bounce debouncerDpadLeft = Bounce(); +Bounce debouncerDpadRight = Bounce(); + +Bounce debouncerTriggerL = Bounce(); +Bounce debouncerTriggerR = Bounce(); + +Bounce debouncerXbox = Bounce(); + void setup() { pinMode(Pin_ButtonA, INPUT_PULLUP);