Crate rog_anime[−][src]
Modules
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 |
Structs
ActionIterator | Iteractor helper for iterating over all the actions in |
AnimeDataBuffer | The minimal serializable data that can be transferred over wire types.
Other data structures in |
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 | 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. |
Enums
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. |
AnimTime | Defines the time or animation cycle count to use for a gif |
AnimeAction | All the possible AniMe actions that can be used. This enum is intended to be
a helper for loading up |
Constants
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. |
Type Definitions
AnimePacketType | The two packets to be written to USB |