Home / comp / gb.qt / key / state 
Key.State (gb.qt)
Syntax
STATIC PROPERTY READ State AS Integer
Returns the state of the special keys.

Use the Alt, Control, Shift and Meta properties instead.