Device.numLockState

bool numLockState() @property nothrow

Get numLockState property.

Returns

Whether Num Lock is on.

This is only relevant for keyboard devices.