         source: { type: "pca9555", chip: 1, port: "IO1_2" },
            action: { type: "gamepad", button: 3 },
         },
      ],
   }
</pre>
<p>
   The XBox controller buttons are similar to the gamepad buttons: set the action type to
   "<a href="JSONConfigRef.htm#buttons.action.type=xInput">xInput</a>",
   and set the <a href="JSONConfigRef.htm#buttons.action.type=xInput.button">button</a>
   property to a string naming the button.  See the 
   <a href="JSONConfigRef.htm#buttons.action.type=xInput.b