Ajazz SDK 
Rust library for interacting with Ajazz Stream Docks.
Installation
Supported devices
- Ajazz AKP153
- Ajazz AKP153E
- Ajazz AKP153R
- Ajazz AKP815
- Ajazz AKP03
- Ajazz AKP03E
- Ajazz AKP03R
- Ajazz AKP03RV2
Features
- Reading events from the device.
- Setting a custom boot logo.
- Setting a custom button image.
Usage
use ;
// Create instance of HidApi
let hid = new_hidapi;
// List devices and unsafely take first one
let = list_devices.remove;
// Connect to the device
let mut device = connect
.expect;
// Print out some info from the device
println!;
// Set device brightness
device.set_brightness.unwrap;
// Use image-rs to load an image
let image = open.unwrap;
// Write it to the device
device.set_button_image.unwrap;
// Flush
device.flush.unwrap;
More examples can be found in the examples directory:
- pizza - Running pizza, that eats blue dots. Reacts on button presses and encoder twists. Uses async features.
- boot_logo - Setting a custom boot logo.
- events - Reading events from the device.
- screen_mirroring - Mirroring the screen of the computer to the screen of the device.
Trademarks
ajazz-sdk is an unofficial product and is not affiliated with Ajazz company.