Realm

oa::input::press

Return whether button went down since the last update. Remains valid until clear_for_next_frame.

FnRust public API

Function Documentation

pub fn press( button: Button ) -> bool
Return whether button went down since the last update. Remains valid until clear_for_next_frame.