Render request/response in XAP docs

This commit is contained in:
zvecr
2022-05-26 18:22:54 +01:00
parent 32404cbb77
commit f727692fd1
9 changed files with 79 additions and 67 deletions
-2
View File
@@ -223,8 +223,6 @@
* Returns the BCD-encoded version in the format of XX.YY.ZZZZ => `0xXXYYZZZZ`
* e.g. 3.2.115 will match `0x03020115`, or bytes {0x15,0x01,0x02,0x03}.
* Response:
* `u32` value.
'''
return_type: u32
return_purpose: bcd-version
-2
View File
@@ -226,8 +226,6 @@
* Returns the BCD-encoded version in the format of XX.YY.ZZZZ => `0xXXYYZZZZ`
* e.g. 3.2.115 will match `0x03020115`, or bytes {0x15,0x01,0x02,0x03}.
* Response:
* `u32` value.
'''
return_type: u32
return_purpose: bcd-version
+5 -5
View File
@@ -28,7 +28,7 @@
type: command
name: Get Layer Count
define: GET_LAYER_COUNT
description: TODO
description: Query maximum number of layers that can be addressed within the keymap.
return_type: u8
return_constant: DYNAMIC_KEYMAP_LAYER_COUNT
}
@@ -36,7 +36,7 @@
type: command
name: Get Keycode
define: GET_KEYMAP_KEYCODE
description: TODO
description: Query the Keycode at the requested location.
request_type: struct
request_struct_length: 3
request_struct_members: [
@@ -60,7 +60,7 @@
type: command
name: Set Keycode
define: SET_KEYMAP_KEYCODE
description: TODO
description: Modify the Keycode at the requested location.
permissions: secure
request_type: struct
request_struct_length: 5
@@ -113,7 +113,7 @@
type: command
name: Get Keycode
define: GET_ENCODER_KEYCODE
description: TODO
description: Query the Keycode at the requested location.
request_type: struct
request_struct_length: 3
request_struct_members: [
@@ -138,7 +138,7 @@
name: Set Keycode
define: SET_ENCODER_KEYCODE
permissions: secure
description: TODO
description: Modify the Keycode at the requested location.
request_type: struct
request_struct_length: 5
request_struct_members: [