.hc HID config Command
Defines settings for HID.
Android | iOS | .NET |
---|---|---|
link coming soon | link coming soon | HidConfigurationCommand |
Parameters
Identifier | Values | Description |
---|---|---|
-cd | n | Sets the delay in ms between characters sent via HID |
-kb | rr/def | Sets the HID keyboard region (or default) |
-p | List the current parameter values | |
-tm | n | Trigger mode |
-x | Reset the parameters to defaults |
Parameter detail
-cd
Sets the delay in ms between characters sent via HID
Type | Numeric |
---|---|
Value | n |
Range | n=0..999 |
Order In Interpretation | 2 |
Default Value | 0 |
-kb
Sets the HID keyboard region (or default)
Option | Description |
rr | rr is a region code and expects a file kbd_rr.hid on the SD card |
def | Use the default region (us) |
Type | Enum |
---|---|
Value | rr/def |
Range | rr/def |
Order In Interpretation | 3 |
Default Value | def |
-p
List the current parameter values
Type | Switch |
---|---|
Value | |
Range | |
Order In Interpretation | 5 |
-tm
Trigger mode
Trigger mode
n = | Description |
0 | Single shot, trigger cancels after one operation. |
1 | Read until, trigger cancels on success or trigger release. |
2 | While pressed, trigger cancels only on trigger release. |
Type | Numeric |
---|---|
Value | n |
Range | |
Order In Interpretation | 4 |
Default Value | 1 |
-x
Reset the parameters to defaults
Type | Switch |
---|---|
Value | |
Range | |
Order In Interpretation | 1 |
Parameter Interpretation Order
-x, -cd, -kb, -tm, -p
Parameter Defaults
-cd 0, -kb def, -tm 1
Response Headers
Examples
Command | Response | Action |
.hc -x | CS: .hc -x
OK: | .sa defaults loaded |
.hc -p | CS: .hc -p
PR: -cd 0 –p -x OK: | None |
.hc –cd 100 | CS: .hc –cd 100
OK: | Set the inter-character delay to 100ms |