Crate kll_macros

source ·

Macros

Takes data in the following format and turns it into a byte array. The trigger count is automatically calculated. Triggers are u16, all the other fields are u8.
Takes a list of sequences of combos of Capabilities and turns it into a u8 array that can be stored in memory as a contiguous piece of data. This is necessary to store the result guide independently of rust compilation.
Takes a list of sequences of combos and turns it into a u8 array that can be stored in memory as a contiguous piece of data. This is necessary to store the trigger guide independently of rust compilation.