names.
</p>
<pre>
   {
      buttons: [
         {
            source: { type: "74hc165", chip: 0, port: "B" },
            action: { type: "key", key: "escape" },
         },
      ],
   }
</pre>
<p>
   To send a gamepad button press, set the action type to
   "<a href="JSONConfigRef.htm#buttons.action.type=gamepad">gamepad</a>",
   and set the <a href="JSONConfigRef.htm#buttons.action.type=gamepad.button">button</a>
   property to the button number, 1 to 32.
</p>
<pre>
   {
      buttons: [
         {
   