Function firefly_rust::read_buttons
source · pub fn read_buttons(player: Player) -> ButtonsExpand description
Get the currently pressed buttons.
In singleplayer game, the player ID doesn’t matter.
pub fn read_buttons(player: Player) -> ButtonsGet the currently pressed buttons.
In singleplayer game, the player ID doesn’t matter.