_NUMLOCK reports the current state of the Num Lock key:

 

value

toggled status

1

ON

0

OFF