_RSHIFT returns the status of the right Shift key on the keyboard:

 

value

key status

1

depressed

0

not depressed

 

See also _SHIFT and _LSHIFT.