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

Standard signal and trigger types. More...

Go to the source code of this file.

Classes

struct  mcr_standard
 

Functions

MCR_API int mcr_modifier_key (struct mcr_context *ctx, unsigned int modifiers)
 
MCR_API unsigned int mcr_key_modifier (struct mcr_context *ctx, int key)
 
MCR_API bool mcr_resembles_justified (const mcr_Dimensions first, const mcr_Dimensions second)
 
MCR_API bool mcr_resembles_absolute (const mcr_Dimensions first, const mcr_Dimensions second, const unsigned int measurementError)
 
MCR_API int mcr_HidEcho_send_member (struct mcr_HidEcho *dataPt, struct mcr_context *ctx)
 
MCR_API int mcr_Key_send_member (struct mcr_Key *dataPt, struct mcr_context *ctx)
 
MCR_API int mcr_MoveCursor_send_member (struct mcr_MoveCursor *dataPt, struct mcr_context *ctx)
 
MCR_API int mcr_Scroll_send_member (struct mcr_Scroll *dataPt, struct mcr_context *ctx)
 

Variables

MCR_API const struct mcr_MapElement *const mcr_key_modifier_defaults
 
MCR_API const size_t mcr_key_modifier_default_count
 
MCR_API const struct mcr_MapElement *const mcr_modifier_key_defaults
 
MCR_API const size_t mcr_modifier_key_default_count
 

Detailed Description

Standard signal and trigger types.

mcr_standard - Standard signal and trigger types module mcr_Signal data types: mcr_HidEcho, mcr_Key, mcr_Modifier, mcr_MoveCursor, mcr_NoOp, and mcr_Scroll
mcr_ISignal: mcr_iHidEcho, mcr_iKey, mcr_iMoveCursor, mcr_iNoOp, and mcr_iScroll

mcr_Trigger date types: mcr_Action
mcr_ITrigger: mcr_iAction

Definition in file standard.h.

Function Documentation

§ mcr_resembles_absolute()

MCR_API bool mcr_resembles_absolute ( const mcr_Dimensions  first,
const mcr_Dimensions  second,
const unsigned int  measurementError 
)

For both positions, the same coordinate array member must be valued within the measurementError.

§ mcr_resembles_justified()

MCR_API bool mcr_resembles_justified ( const mcr_Dimensions  first,
const mcr_Dimensions  second 
)

For both positions, either may be 0, or the same coordinate array member must either be both negative, or both positive.

Variable Documentation

§ mcr_key_modifier_default_count

MCR_API const size_t mcr_key_modifier_default_count

§ mcr_key_modifier_defaults

MCR_API const struct mcr_MapElement* const mcr_key_modifier_defaults

§ mcr_modifier_key_default_count

MCR_API const size_t mcr_modifier_key_default_count

§ mcr_modifier_key_defaults

MCR_API const struct mcr_MapElement* const mcr_modifier_key_defaults