External keyboards
JMobile HMI Runtime has been designed to work with external keyboards connected via USB.
USB Barcode readers that support keyboard emulation mode can be used.
Keyboards can be used for:
- data entry (default)
- execute actions mapped on specific keys
For example, the right arrow key OnClick event can be mapped to the LoadPage action.
Keyboard can be programmed at project level so that settings will be inherited by all the pages. In each page you can then choose which key setting will be inherited from the project and which one you will customize for the specific page.
Opening external keyboards
- In the Page Editor, click on the icon on the right of Keyboard/Script at the bottom of the workspace: the Keyboard/Script Editor is displayed.
- Select the Keyboard tab.
Each row in the Keyboard Editor corresponds to a key.
For each key, the following information is displayed:
Element |
Description |
---|---|
Label |
Key name |
Code |
Key code |
Enable |
Key enable status |
Inherits project actions |
Defines whether the key is inheriting the action programmed at the project level |
Here the possible configurations:
Enable |
Inherits project actions |
Editor appearance |
JMobile HMI Runtime behavior |
---|---|---|---|
Checked | Unchecked | Action lists show the page actions (or nothing if the list is empty) | Only the page actions (if any) will be executed. |
Checked | Checked | Action lists show the project actions only and cannot be edited | Only the configured project actions (if any) will be executed. |
Unchecked | Checked | Inherits project actions check box and all action lists are disabled. Action lists show the project actions only. | No page or project action will be executed. |
Unchecked | Unchecked | Inherits project actions check box and all action lists are disabled. Action lists show the project actions only. | No page or project action will be executed. |