winconsole::input
pub fn get_num_mouse_buttons() -> WinResult<u32>
Returns the number of mouse buttons available for the console.
let num = input::get_num_mouse_buttons().unwrap(); println!("Mouse buttons available: {}", num);
IoError