IsCapsLockEnabled
Syntax
bool isCapsLockEnabled()
Returns
Returns true if caps lock is toggled (on), false otherwise.
Example
function checkCaps()
iprint(isCapsLockEnabled(), getTickCount())
end
addCommandHandler("caps", checkCaps)
Requirements
This template will be deleted.
See Also
- addCommandHandler
- bindKey
- executeCommandHandler
- getCommandHandlers
- getFunctionsBoundToKey
- getKeyBoundToFunction
- isControlEnabled
- removeCommandHandler
- toggleAllControls
- toggleControl
- unbindKey