Crate ajazz_rs

Source
Expand description

Ajazz library

Library for interacting with Ajazz devices through hidapi.

Re-exports§

pub use asynchronous::AsyncAjazz;async

Modules§

asynchronousasync
Async Ajazz Code from this module is using block_in_place, and so they cannot be used in current_thread runtimes
images
Image processing functions
info
Various information about Ajazz devices
util
Utility functions for working with Ajazz devices

Structs§

Ajazz
Interface for an Ajazz device
DeviceStateReader
Button reader that keeps state of the Ajazz and returns events instead of full states

Enums§

AjazzError
Errors that can occur while working with Ajazz devices
AjazzInput
Type of input that the device produced
DeviceStateUpdate
Tells what changed in button states

Functions§

list_devices
Returns a list of devices as (Kind, Serial Number) that could be found using HidApi.
new_hidapi
Creates an instance of the HidApi
refresh_device_list
Actually refreshes the device list