Skip to main content

get_button_count

Function get_button_count 

Source
pub fn get_button_count(fd: RawFd) -> Result<u8>
Expand description

Retrieve number of buttons present. Calls JSIOCGBUTTONS ioctl.