parent
d9b045a6fe
commit
a9468f385e
@ -0,0 +1,4 @@ |
||||
{%- for id, message in xap.broadcast_messages.messages | dictsort %} |
||||
### {{ message.name }} - `{{ id }}` |
||||
{{ message.description }} |
||||
{%- endfor %} |
@ -0,0 +1,12 @@ |
||||
{%- for id, route in xap.routes | dictsort %} |
||||
### {{ route.name }} - `{{ id }}` |
||||
{{ route.description }} |
||||
|
||||
{% if route.routes %} |
||||
| Name | Route | Definition | |
||||
| -- | -- | -- | |
||||
{%- for subid, subroute in route.routes | dictsort %} |
||||
| {{ subroute.name }} | `{{ id }} {{ subid }}` | {{ subroute.description.split('\n')[0] }} | |
||||
{%- endfor %} |
||||
{% endif %} |
||||
{%- endfor %} |
@ -0,0 +1,89 @@ |
||||
# XAP |
||||
|
||||
XAP (“extensible application protocol”) API intends to provide access to various QMK subsystems. |
||||
|
||||
## Overview |
||||
|
||||
TODO |
||||
|
||||
## Protocol Reference |
||||
|
||||
[protocol_versions](xap_protocol.md ':include') |
||||
|
||||
## Clients |
||||
|
||||
TODO |
||||
|
||||
## CLI |
||||
|
||||
The QMK CLI provides a few XAP specific commands for diagnosis purposes. |
||||
|
||||
### List Connected Devices |
||||
Simple |
||||
``` |
||||
$ qmk xap --list |
||||
Ψ Available devices: |
||||
Ψ 7844:8450 KPrepublic XD84 Pro [API:0.2.0] LOCKED |
||||
``` |
||||
|
||||
Verbose |
||||
``` |
||||
$ qmk --verbose xap --list |
||||
Ψ Available devices: |
||||
Ψ 7844:8450 KPrepublic XD84 Pro [API:0.2.0] LOCKED |
||||
_id: 553831323538150A2113000000000000 |
||||
backlight.pin: F5 |
||||
bootloader: atmel-dfu |
||||
community_layouts: 75_ansi, 75_iso |
||||
debounce: 5 |
||||
diode_direction: COL2ROW |
||||
features.audio: False |
||||
features.backlight: True |
||||
features.bootmagic: True |
||||
features.command: False |
||||
features.console: False |
||||
features.extrakey: True |
||||
features.mousekey: False |
||||
features.nkro: True |
||||
features.rgblight: True |
||||
indicators.caps_lock: B2 |
||||
keyboard_folder: xiudi/xd84pro |
||||
keyboard_name: XD84 Pro |
||||
layouts: LAYOUT_75_ansi, LAYOUT_75_iso, LAYOUT_all |
||||
maintainer: qmk |
||||
manufacturer: KPrepublic |
||||
matrix_pins.cols: B1, B3, B4, B5, B6, B7, C6, C7, D4, D6, D7, E6, F0, F1, F7 |
||||
matrix_pins.rows: D0, D1, D2, D3, D5, F4 |
||||
matrix_pins.unused: B0, E2 |
||||
matrix_size.cols: 15 |
||||
matrix_size.rows: 6 |
||||
mouse_key.enabled: False |
||||
platform: unknown |
||||
processor: atmega32u4 |
||||
processor_type: avr |
||||
protocol: LUFA |
||||
rgblight.animations.all: False |
||||
rgblight.led_count: 12 |
||||
rgblight.pin: F6 |
||||
rgblight.sleep: False |
||||
url: |
||||
usb.device_ver: 0x0001 |
||||
usb.device_version: 0.0.1 |
||||
usb.pid: 0x8450 |
||||
usb.vid: 0x7844 |
||||
``` |
||||
|
||||
### Interactive shell |
||||
``` |
||||
$ qmk xap -i |
||||
Ψ Connected to:7844:8450 KPrepublic XD84 Pro |
||||
Welcome to the XAP shell. Type help or ? to list commands. |
||||
|
||||
Ψ> help |
||||
|
||||
Documented commands (type help <topic>): |
||||
======================================== |
||||
EOF about exit help keycode keymap layer listen unlock |
||||
|
||||
Ψ> |
||||
``` |
@ -1,5 +1,4 @@ |
||||
# XAP Protocol Reference |
||||
|
||||
<!-- This file is generated --> |
||||
* [XAP Version 0.2.0](xap_0.2.0.md) |
||||
* [XAP Version 0.1.0](xap_0.1.0.md) |
||||
* [XAP Version 0.0.1](xap_0.0.1.md) |
||||
|
Loading…
Reference in new issue