#sysfs #led #alienware

alienware

API to control the lights on an Alienware Alpha R1/R2

12 releases (7 stable)

new 1.0.6 Jan 30, 2023
1.0.5 Jan 29, 2023
1.0.2 Apr 14, 2022
1.0.1 Mar 11, 2022
0.1.4 Feb 25, 2022

#155 in Unix APIs

Download history 2/week @ 2022-10-13 4/week @ 2022-10-20 6/week @ 2022-10-27 37/week @ 2022-11-03 6/week @ 2022-11-10 11/week @ 2022-11-17 2/week @ 2022-11-24 4/week @ 2022-12-01 20/week @ 2022-12-08 6/week @ 2022-12-15 14/week @ 2022-12-22 5/week @ 2022-12-29 6/week @ 2023-01-05 13/week @ 2023-01-12 57/week @ 2023-01-19 71/week @ 2023-01-26

149 downloads per month
Used in alienware_cli

Apache-2.0

20KB
463 lines

alienware

Crates.io Crates.io Build Status docs.rs

The alienware crate provides a Rust API access to the Linux sysfs platform api for control of the lights on an Alienware Alpha desktop machine. The API is based on the alienware_wmi_control.sh script that used to come with the SteamOS distribution of Linux for Alienware machines.

You might also want to check out a python project to control the same lights AlienFX.

Install/Use

To use the alienware api, first add this to your Cargo.toml:

[dependencies]
alienware = "1.0.1"

and then, add this to your crate root:

use alienware;

Disclaimer and License

If you use this software, you use it AT YOUR OWN RISK.

This software is licenced under the Apache-2.0 licence.

Dependencies

~1–1.3MB
~37K SLoC