MCPcopy Create free account
hub / github.com/17cupsofcoffee/nova / is_gamepad_button_up

Method is_gamepad_button_up

src/input.rs:147–149  ·  view source on GitHub ↗
(&self, player: usize, button: GamepadButton)

Source from the content-addressed store, hash-verified

145 }
146
147 pub fn is_gamepad_button_up(&self, player: usize, button: GamepadButton) -> bool {
148 self.gamepad_buttons.is_up((player, button))
149 }
150
151 pub fn is_gamepad_button_pressed(&self, player: usize, button: GamepadButton) -> bool {
152 self.gamepad_buttons.is_pressed((player, button))

Callers

nothing calls this directly

Calls 1

is_upMethod · 0.80

Tested by

no test coverage detected