ref: dce5e215c804efc4cd58c2e98d87be7da9f610b4
parent: 9c63e5994b33fa2ba9455bc9fd44a34dbdd3e3bf
author: Clownacy <Clownacy@users.noreply.github.com>
date: Thu Sep 3 17:54:10 EDT 2020
Explain the gamepad button limit
--- a/src/Input.h
+++ b/src/Input.h
@@ -8,7 +8,7 @@
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);