[][src]Function winconsole::input::get_num_mouse_buttons

pub fn get_num_mouse_buttons() -> WinResult<u32>

Returns the number of mouse buttons available for the console.

Examples

let num = input::get_num_mouse_buttons().unwrap();
println!("Mouse buttons available: {}", num);

Errors