Macro threads. More...
Typedefs | |
typedef struct _GaminggearMacroThreads | GaminggearMacroThreads |
Functions | |
GaminggearMacroThreads * | gaminggear_macro_threads_new (guint size) |
Create array of macro threads. More... | |
void | gaminggear_macro_threads_free (GaminggearMacroThreads *macro_threads) |
Free array of macro threads. More... | |
void | gaminggear_play_macro_threaded (GaminggearMacroThreads *threads, guint index, int kbd_file, int mouse_file, GaminggearMacro const *macro) |
Play macro in a thread. More... | |
Macro threads.
typedef struct _GaminggearMacroThreads GaminggearMacroThreads |
void gaminggear_macro_threads_free | ( | GaminggearMacroThreads * | macro_threads | ) |
Free array of macro threads.
macro_threads |
GaminggearMacroThreads* gaminggear_macro_threads_new | ( | guint | size | ) |
Create array of macro threads.
size | Mostly count of physical buttons that are allowed to play macros. |
array | That has to be freed with gaminggear_macro_threads_free(). |
void gaminggear_play_macro_threaded | ( | GaminggearMacroThreads * | threads, |
guint | index, | ||
int | kbd_file, | ||
int | mouse_file, | ||
GaminggearMacro const * | macro | ||
) |
Play macro in a thread.
If a macro is still playing, execution of that running macro is stopped instead of execution of new macro.