Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/17cupsofcoffee/nova
/ has_moved
Method
has_moved
src/input.rs:261–263 ·
view source on GitHub ↗
(&self, player: usize, axis: GamepadAxis)
Source
from the content-addressed store, hash-verified
259
}
260
261
fn has_moved(&self, player: usize, axis: GamepadAxis) -> bool {
262
self.curr.get(&(player, axis)) != self.prev.get(&(player, axis))
263
}
264
}
Callers
2
has_gamepad_axis_moved
Method · 0.80
has_gamepad_stick_moved
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected