Crate rog_anime Copy item path Source error Base errors that are possible usb Provides const methods to create the USB HID control packets
Utils for writing to the AniMe USB device ActionIterator Iteractor helper for iterating over all the actions in Sequences AnimeDataBuffer The minimal serializable data that can be transferred over wire types.
Other data structures in rog_anime will convert to this. AnimeDiagonal Mostly intended to be used with ASUS gifs, but can be used for other purposes (like images) AnimeFrame AnimeGif A gif animation. This is a collection of frames from the gif, and a duration
that the animation should be shown for. AnimeGrid Helper structure for writing images. AnimeImage Container of Led, each of which specifies a position within the image
The main use of this is to position and sample colours for the final image
to show on AniMe AnimePowerStates Fade Fancy brightness control: fade in/out, show at brightness for n time Led A single LED position and brightness. The intention of this struct
is to be used to sample an image and set the LED brightness. Sequences An optimised precomputed set of actions that the user can cycle through Vec2 A 2-dimensional vector. ActionData All the possible AniMe actions that can be used. The enum is intended to be
used in a array allowing the user to cycle through a series of actions. ActionLoader All the possible AniMe actions that can be used. This enum is intended to be
a helper for loading up ActionData. AnimTime Defines the time or animation cycle count to use for a gif ANIME_DATA_LEN The length of usable data LED_IMAGE_POSITIONS Data starts at first index which means that when mapping this data to the final
USB packet it must start from index 8, not 7. VERSION run_animation This runs the animations as a blocking loop by using the callback to write data AnimePacketType The two packets to be written to USB