working with hardcoded devnode. need to change

This commit is contained in:
Luke D Jones
2020-08-02 21:38:48 +12:00
parent a879907bc3
commit d757a936e8
6 changed files with 44 additions and 186 deletions

View File

@@ -23,6 +23,12 @@ pub mod anime_matrix;
pub mod error;
// static LED_INIT1: [u8; 2] = [0x5d, 0xb9];
// static LED_INIT2: &str = "]ASUS Tech.Inc."; // ] == 0x5d
// static LED_INIT3: [u8; 6] = [0x5d, 0x05, 0x20, 0x31, 0, 0x08];
// static LED_INIT4: &str = "^ASUS Tech.Inc."; // ^ == 0x5e
// static LED_INIT5: [u8; 6] = [0x5e, 0x05, 0x20, 0x31, 0, 0x08];
/// Writes aout the correct byte string for brightness
///
/// The HID descriptor looks like: