mirror of
https://github.com/OpenActionAPI/rust-elgato-streamdeck.git
synced 2026-10-28 09:44:56 +00:00
Bump version to 0.10.1 with minor fix
This commit is contained in:
1 parent
76477f62c1
commit
a5049deaba
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -2,7 +2,7 @@
|
||||
name = "elgato-streamdeck"
|
||||
description = "HidApi driver for Elgato Stream Decks"
|
||||
authors = ["TheJebForge"]
|
||||
version = "0.10.0"
|
||||
version = "0.10.1"
|
||||
edition = "2021"
|
||||
readme = "README.md"
|
||||
homepage = "https://github.com/streamduck-org"
|
||||
|
||||
+2
-2
@@ -23,8 +23,8 @@ pub fn refresh_device_list_async(hidapi: &mut HidApi) -> HidResult<()> {
|
||||
/// can be safely ran inside [multi_thread](tokio::runtime::Builder::new_multi_thread) runtime
|
||||
///
|
||||
/// **WARNING:** To refresh the list, use [refresh_device_list]
|
||||
pub fn list_devices_async(hidapi: &HidApi) -> Vec<(Kind, String)> {
|
||||
block_in_place(move || list_devices(hidapi))
|
||||
pub fn list_devices_async(hidapi: &HidApi, only_elgato: bool) -> Vec<(Kind, String)> {
|
||||
block_in_place(move || list_devices(hidapi, only_elgato))
|
||||
}
|
||||
|
||||
/// Stream Deck interface suitable to be used in async, uses [block_in_place](block_in_place)
|
||||
|
||||
Reference in new issue
Block a user