From dce5e215c804efc4cd58c2e98d87be7da9f610b4 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Thu, 3 Sep 2020 21:54:10 +0100 Subject: [PATCH] Explain the gamepad button limit --- src/Input.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Input.h b/src/Input.h index 6f733486..895c8950 100644 --- a/src/Input.h +++ b/src/Input.h @@ -8,7 +8,7 @@ struct DIRECTINPUTSTATUS BOOL bRight; BOOL bUp; BOOL bDown; - BOOL bButton[32]; + BOOL bButton[32]; // 32 is the number of buttons in DirectInput's `DIJOYSTATE` struct }; void ReleaseDirectInput(void);