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

Function refresh_device_list

src/lib.rs:49–51  ·  view source on GitHub ↗

Actually refreshes the device list

(hidapi: &mut HidApi)

Source from the content-addressed store, hash-verified

47
48/// Actually refreshes the device list
49pub fn refresh_device_list(hidapi: &mut HidApi) -> HidResult<()> {
50 hidapi.refresh_devices()
51}
52
53/// Returns a list of devices as (Kind, Serial Number) that could be found using HidApi.
54///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected