MCPcopy Create free account
hub / github.com/OpenActionAPI/rust-elgato-streamdeck / new_hidapi

Function new_hidapi

src/lib.rs:44–46  ·  view source on GitHub ↗

Creates an instance of the HidApi Can be used if you don't want to link hidapi crate into your project

()

Source from the content-addressed store, hash-verified

42///
43/// Can be used if you don't want to link hidapi crate into your project
44pub fn new_hidapi() -> HidResult<HidApi> {
45 HidApi::new()
46}
47
48/// Actually refreshes the device list
49pub fn refresh_device_list(hidapi: &mut HidApi) -> HidResult<()> {

Callers 2

mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected