Device.getNumLockState

Retrieves whether the Num Lock modifier of the keyboard is locked.

This is only relevant for keyboard devices.

class Device
bool
getNumLockState
()

Return Value

Type: bool

true if Num Lock is on for device