fixed ps2_get_keys()
added timer