Added Obsolete attribute to GetState overload in Keyboard class.