The Joystick/Gamepad remote control lets you trigger remote control commands with the buttons of any game controller recognized by Windows.
This is not limited to actual joysticks: Many USB button boxes and encoder interfaces (often sold for arcade machines or flight simulators) register as game controllers, and are an inexpensive way to build custom button panels.
Configuration
In the configuration app or Control Panel, go to Remote Control and add an interface of type Joystick/Gamepad (USB category).
On the General tab, select the Device from the list of game controllers, or (First available device) to use the first one found.
In the table below, you can enter a command for each button, separately for when the button is Pressed and when it is Released. Click a cell to edit the command. Leave the cell empty if no command should be executed.