longer rumble
This commit is contained in:
@@ -95,7 +95,7 @@ fn on_trigger_gun(
|
|||||||
for (e, _) in gamepads.iter() {
|
for (e, _) in gamepads.iter() {
|
||||||
rumble_requests.write(GamepadRumbleRequest::Add {
|
rumble_requests.write(GamepadRumbleRequest::Add {
|
||||||
gamepad: e,
|
gamepad: e,
|
||||||
duration: Duration::from_millis(100),
|
duration: Duration::from_secs_f32(0.5),
|
||||||
intensity: GamepadRumbleIntensity::MAX,
|
intensity: GamepadRumbleIntensity::MAX,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user