Note: The tool only supports Google Chrome running on Windows
To help one of Paradox's game teams, I coded a tool that displays which buttons are being pressed on any gamepad connected to the computer:
Me trying out the gamepad viewer with Overwatch. The viewer can be added to your video recording software in under a minute and it works with all games.
1. Download this file (.html) (right-click, save as...)
2. Open the file using Google Chrome
3. Start using a gamepad that is connected to your computer
if you want to use this tool with OBS, I recommend that you disable Google Chrome's "Hardware acceleration" setting. Leaving it enabled might prevent OBS from displaying the tool.
The grey shapes of the viewer are inspired by Simon Wallner's Space Walk framework. Simon's work is great, you should check it out.