diff --git a/src/gadgets/mouse.rs b/src/gadgets/mouse.rs index c78036d..d134813 100644 --- a/src/gadgets/mouse.rs +++ b/src/gadgets/mouse.rs @@ -184,6 +184,10 @@ pub fn check_mouses(mouse_inputs: &Vec, mouse_interfaces: &'static mut _ = write_feature(&mut mouse_interface, mouse_feature); + if let Some(poll_rate) = mouse_input.mouse_poll_rate { + _ = write_poll_rate(&mut mouse_interface, poll_rate); + } + mouse_interfaces.push(mouse_interface); } }