key_pressed () and key_released () work