libgaminggear
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Typedefs | Functions
macro_threads.h File Reference

Macro threads. More...

Typedefs

typedef struct
_GaminggearMacroThreads 
GaminggearMacroThreads
 

Functions

GaminggearMacroThreadsgaminggear_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, GaminggearMacro const *macro)
 Play macro in a thread. More...
 

Detailed Description

Macro threads.

Typedef Documentation

typedef struct _GaminggearMacroThreads GaminggearMacroThreads

Function Documentation

void gaminggear_macro_threads_free ( GaminggearMacroThreads macro_threads)

Free array of macro threads.

Parameters
macro_threads
Since
1.0
GaminggearMacroThreads* gaminggear_macro_threads_new ( guint  size)

Create array of macro threads.

Parameters
sizeMostly count of physical buttons that are allowed to play macros.
Return values
arrayThat has to be freed with gaminggear_macro_threads_free().
Since
1.0
void gaminggear_play_macro_threaded ( GaminggearMacroThreads threads,
guint  index,
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.

Since
1.0