Pin 12 reads LOW → button press detected. - LOW → button at (row, c) is pressed. - HIGH → button at (row, c) is not pressed. c. Set COL[c] back to INPUT (Hi-Z). 3. Repeat at scan interval (20 ms).
Only arduino pro micro have Gamepad native support, if you want to get it recognized as a controller within the game, make sure to use arduino pro micro. Otherwise only SimHub will see inputs Buttons ...