_LSHIFT returns the status of the left shift key on the keyboard:

 

value

key status

1

depressed

0

not depressed

 

See also _SHIFT and _RSHIFT.