bool capsLockEnabled(bool? enable = null)
Gets or sets the caps lock key state
Security
Trust Level Required: Low Trust
Parameters
Name | Description |
enable |
(Optional) bool? Enables or disables the caps lock key if specified. Defaults to null, which does not change the caps lock state. |
Return
True if caps lock is enabled, false otherwise
Examples
setInterval(function() {
if (!KioUtils.capsLockEnabled())
KioUtils.capsLockEnabled(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.