Binding buttons#
Keys and buttons#
A key is a physical thing on a tile. A key on its own does nothing.
A logical button is what the Driver Station sees. There are 32 of them, numbered 1 to 32, and they exist whether or not any key presses them.
Binding connects the two. Until a key has a button, pressing it registers nowhere.
Robot code refers to the button number, so it does not change when Button 7 moves to a different key, tile, or kind of tile.
Giving a key a button#
Choose Robot gamepad, then FRC or FTC. Click the key on the panel, or press it on the board, and pick its button on the right.
FRC shows the 32 numbers. The key’s own button is blue; grey ones belong to other keys.

FTC shows an Xbox pad instead, and you click the button on it. An Xbox pad has 16 buttons a key can press, so FTC uses only those.
No button takes the key’s button away. The panel marks every key with its button, and ? where it has none. Under the panel, In your robot code shows the line that reads the button.
Many keys at once#
The bar above the panel counts the keys that have a button, and offers:
- Give the rest a button — every key without one gets the lowest free button, tile by tile in the order they are plugged in.
- Whole panel at once — select many keys, then Number them in order or Take their buttons away.
- Teach by pressing — the next key without a button blinks orange on the panel. Press it, then choose what it should do: the next free button, The same as another key (press that key), or Leave it off for now.
Groups: several keys, one button#
Several keys can press the same button. The button is pressed while any of them is down. Use this for:
- The same action reachable from two ends of a wide panel.
- A driver and a co-driver who each need the same override.
- An arcade button and a keypad key that do the same job.
To add a key to a group, pick a grey number: the key becomes a second way to press it. The panel then lists the other keys under is also pressed by, and × takes one off. Up to 16 keys can share one button.
Combos: one key, several buttons#
One key can press several buttons at once, and releasing it releases them all together.
This is for FTC: the Driver Station assigns a pad to gamepad 1 when it sees Start+A, and to gamepad 2 on Start+B. Under FTC, Start + A and Start + B set those combos in one click.

For any other combo, press Combo: each button you click is then added to the key, or taken off it. Press Combo again to go back to picking one button.
The key shows every button it presses, for example A+Start. A combo does not take the buttons away from other keys: a key bound to Start+A and a separate key bound to Start both work.
The Driver Station sees every button in a combo change in the same instant, not Start first and then A. Whether the Driver Hub accepts simultaneous presses has not been tested on one yet. If it does not, bind Start and A to two separate keys.
Debounce#
The tile debounces every key. The default is 5 ms, or 20 ms on arc4.
To change it, open Your board and set Debounce, ms on the tile’s row, from 1 to 255. It applies to every key on that tile, and every press on that tile is delayed by the same amount. Save to keep it.

Raise it if a switch chatters, usually a worn arcade microswitch.
What happens when a tile disappears#
If a tile stops answering — cable pulled, board damaged — every button on it reads as released, immediately.
Its buttons are kept, not deleted, so a tile that is unplugged and plugged back in keeps them. Your board shows it as Lost while it is missing, then Not plugged in.
A tile that is not coming back can be forgotten: Forget this tile on Your board frees its address and drops its settings. Keys elsewhere keep their buttons.
Swapping and replacing tiles#
Buttons are stored against a tile’s position on the bus, and the board remembers which physical tile was in each position.
- Replace a broken tile with an identical one — the new tile takes the old one’s place and its buttons, automatically.
- Add another tile of the same kind — it is a new tile, and starts with no buttons.
When the board cannot tell those two cases apart, the new tile gets an address of its own, and starts with nothing set up. Your board then offers it on the old tile’s row: A … with nothing set up is on the bus, with It replaces this one. Press it and the new tile takes the old one’s address, its buttons, name and settings. Save to keep it. The old tile stays listed at the new tile’s former address, to forget if it is not coming back.
The same is replace <old> <new> on the serial channel. It needs main module firmware 0.5.1 or newer: before that, replace moved the old tile’s settings away with it.
Saving#
Buttons work as soon as they are set, but live in RAM until you save. Save to the board writes them to flash and reads them back to check.