# XWUIGameKeybindEditor

A control-remapping editor that lists `bindings` grouped under the configured `categories` (default movement, combat, ui) in an Action / Primary / Secondary table. Clicking a key button enters listening mode (`startListening`), captures the next keypress, and writes it to that binding's `primary` or `secondary` slot; when `showConflicts` is on it flags any other binding already using that key and highlights the conflicting row. With `showDefaults` enabled each row gets a Reset button and the footer a "Reset All to Defaults", both restoring `default` keys.

## Basic Usage

Shows a categorized keybind table with click-to-rebind and reset buttons.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: A keybind editor with primary/secondary columns, click-to-listen rebinding, conflict highlighting, and resets.
```

## Conflict Detection

A table where two actions share the F key and the clashing row is highlighted.

```example
file: examples/ConflictDetection.ts
html: examples/ConflictDetection.html
title: Conflict Detection
description: A keybind table with two actions bound to F and showConflicts on, highlighting the conflicting row.
```

## Read-Only Bindings

A view-only cheat sheet with the reset controls and defaults column removed.

```example
file: examples/ReadOnlyBindings.ts
html: examples/ReadOnlyBindings.html
title: Read-Only Bindings
description: A keybind sheet with showDefaults off, dropping the per-row Reset buttons and the Reset All footer.
```

```api
```
