Module rog_anime::usb [−][src]
Expand description
Provides const methods to create the USB HID control packets Utils for writing to the AniMe USB device
Use of the device requires a few steps:
- Initialise the device by writing the two packets from
get_init_packets()
- Write data from
AnimePacketType
- Write the packet from
get_flush_packet()
, which tells the device to display the data from step 2
Step 1 need to applied only on fresh system boot.
Constants
Functions
Packet required to apply a device setting
Should be written to the device after writing the two main data packets that make up the display data packet
Get the packet required for setting the device to on, on boot. Requires pkt_for_apply()` to be written after.
Get the packet required for setting the device to on. Requires pkt_for_apply()
to be written after.
Get the two device initialization packets. These are required for device start after the laptop boots.