MCPcopy Create free account
hub / github.com/PerroEngine/Perro / set_rumble

Method set_rumble

perro_source/api_modules/perro_input_api/src/window.rs:479–486  ·  view source on GitHub ↗
(&self, index: usize, low_frequency: f32, high_frequency: f32)

Source from the content-addressed store, hash-verified

477 /// Create a mouse-state module around an input API borrow.
478 pub fn new(ipt: &'ipt IP) -> Self {
479 Self { ipt }
480 }
481
482 /// Return full mouse state.
483 #[inline]
484 pub fn state(&self) -> &'ipt MouseState {
485 self.ipt.mouse()
486 }
487
488 /// Return `true` while the button is held.
489 #[inline]

Callers

nothing calls this directly

Calls 2

command_bufferMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected