Libmacro  0.2
Libmacro is an extensible macro and hotkey library.
base.h File Reference

Base module implements mcr_base - Libmacro first module. More...

Go to the source code of this file.

Classes

struct  mcr_base
 

Functions

MCR_API int mcr_send (struct mcr_context *ctx, struct mcr_Signal *signalPt)
 
MCR_API unsigned int * mcr_modifiers (struct mcr_context *ctx)
 
MCR_API void mcr_add_modifiers (struct mcr_context *ctx, unsigned int addMods)
 
MCR_API void mcr_remove_modifiers (struct mcr_context *ctx, unsigned int remMods)
 

Detailed Description

Base module implements mcr_base - Libmacro first module.

Definition in file base.h.

Function Documentation

§ mcr_add_modifiers()

MCR_API void mcr_add_modifiers ( struct mcr_context ctx,
unsigned int  addMods 
)

Add modifiers to current

Parameters
addModsModifiers to add

§ mcr_modifiers()

MCR_API unsigned int* mcr_modifiers ( struct mcr_context ctx)

Reference to Libmacro internal modifiers.

§ mcr_remove_modifiers()

MCR_API void mcr_remove_modifiers ( struct mcr_context ctx,
unsigned int  remMods 
)

Remove modifiers from current

Parameters
remModsModifiers to remove

§ mcr_send()

MCR_API int mcr_send ( struct mcr_context ctx,
struct mcr_Signal signalPt 
)

Dispatch, and then call the signal interface send function.

If dispatch blocks, the interface send function will not be called.

Parameters
signalPtopt Signal to dispatch and send
Returns
reterr