added is_key/mouse_down methods