KeybindFieldComponent
Rebinds one key or mouse button. Escape unbinds, and a clash with another binding turns it red.
Java
Inside a PanelComponent constructor. The same call draws in every family and chroma.
Java
add(new KeybindFieldComponent(at(new Box("zoom", 12, 30, 200, 20)), words,
MinuitKeys.binding(ZOOM_KEY))
.onChange(this::saveKeys));States
Click a field, then press a key.
