Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerroEngine/Perro
/ get
Method
get
perro_source/api_modules/perro_input_api/src/window.rs:473–475 ·
view source on GitHub ↗
(&self, index: usize)
Source
from the content-addressed store, hash-verified
471
#[inline]
472
pub fn position(&self) -> Vector2 {
473
self.ipt.mouse().position()
474
}
475
476
/// Return viewport size in pixels.
477
#[inline]
478
pub fn viewport_size(&self) -> Vector2 {
Callers
6
ensure_joycon_calibration
Method · 0.45
ensure_calibration
Method · 0.45
compute_action_down
Method · 0.45
compute_action_pressed
Method · 0.45
compute_action_released
Method · 0.45
test_bit
Function · 0.45
Calls
2
gamepads
Method · 0.80
joycons
Method · 0.80
Tested by
1
test_bit
Function · 0.36