# Keyboard Support Test

# Keyboard Support Test Page

### 📋 Configured Shortcuts (with HTMX options)

Simple keys:

- `a` - Simple key A (POST to /test/key-a)
- `esc` - Escape key (POST)

Simultaneous combinations with HTMX options:

- `Ctrl+S` - Save (POST with swap: innerHTML)
- `Ctrl+C` - Copy (POST with target: #result, swap: outerHTML)

Sequences with various configs:

- `A B` - Sequence (POST with extra values: {"extra": "data"})
- `A B C` - Triple sequence (GET request)
- `shift shift` - Press Shift twice in sequence

Complex:

- `Ctrl+C C` - Ctrl+C then C alone
- `Ctrl+C Ctrl+C` - Ctrl+C twice

Tip: Check the log to see how HTMX options (target, swap, extra values) are passed!

## Test Input (typing should work normally here)

## Test Element 1

Click me to focus, then try keyboard shortcuts

## Test Element 2 (also listens to ESC and Shift Shift)

This element also responds to ESC and Shift Shift

## Event Log