Skip to main content

Wallboard keyboard emulator

Please note, in order to use Sensors and Sensor events, Premium (ENTERPRISE) license is required.

Requirements

  • Android 4.0.6 application version
  • Windows 4.0.210 application version

Setup & Configuration

  • Navigate to Devices menu, then select the device where you want to use the sensors.
  • Open the device settings by clicking on the icon

OR

  • Click on the device card, then Select Settings tab
  • Find sensor settings, then create a configuration from the following:

Parameters

ParameterAndroidWindowsJS CoreDescriptionPossible values
eolIn progressEnd-of-line character that triggers sensor event (e.g., Enter key from barcode scanner)"\r"
defaultEventIn progressDefault event name used in sensor events when no regex group match"event"
defaultIdIn progressDefault sensor ID, used when idGroupIndex doesn't match"12"
targetIn progressDetermines key event consumption. If target == "displayer", the emulator returns true from handle(), consuming the key event and preventing it from reaching other handlers"displayer"
timeoutIn progressSets the maximum amount of time the device will wait for a new key press, if the timeout expires the received message will be sent to the target100
typeIn progressEmulator type, determines which emulator class handles events. usually if for example a barcode or NFC reader is used then the type has to be KEYBOARD"KEYBOARD" or "SENSOR" or "IR"
patternIn progressRegex pattern for extracting id/event/value from keyboard input"(.*)"
idGroupIndexIn progressRegex capture group index for extracting the sensor ID from matched input3
eventGroupIndexIn progressRegex capture group index for extracting the event name from matched input2
valueGroupIndexIn progresswhich value group the regex should use. Example regex "(.*)": than the value group I want is 1, because I have one group only1
ignoreModifiersIn progressWhen true, modifier-only keypresses (Shift, Ctrl, etc.) are ignored"false"

Example configs

Basic eol config

  • Example output: {"event":"scan","id":"default","value":"0004556990"}
{
"services": [
{
"uid": "Eol scanner",
"type": "KEYBOARD_EMULATOR",
"settings": {
"rules": [
{
"eol": "\r",
"type": "KEYBOARD",
"defaultId": "default",
"defaultEvent": "scan",
"ignoreModifiers": false
}
]
}
}
]
}

Regex config

  • Example output: {"event":"04","id":"00","value":"556990"}
{
"services": [
{
"uid": "Regex scanner",
"type": "KEYBOARD_EMULATOR",
"settings": {
"rules": [
{
"pattern": "^(\\d{2})(\\d{2})(\\d{6})\\s*$",
"idGroupIndex": 1,
"eventGroupIndex": 2,
"valueGroupIndex": 3
}
]
}
}
]
}