add one_pressed_keys for attack related event