bool numLockEnabled(bool? enable = null)
Gets or sets num lock key state
Security
Trust Level Required: Low Trust
Parameters
Name | Description |
enable |
(Optional) bool? Enables or disables the num lock key if specified. Defaults to null, which does not change the num lock state. |
Return
True if num lock is enabled, false otherwise
Examples
setInterval(function() {
if (!KioUtils.numLockEnabled())
KioUtils.numLockEnabled(true);
}, 500);
Requirements
KioWare OS (Linux®) version 1.0 or greater.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.