![]() |
Libmacro
0.2
Libmacro is an extensible macro and hotkey library.
|
Standard signal and trigger types. More...
#include "mcr/base/base.h"#include "mcr/standard/hid_echo.h"#include "mcr/standard/key.h"#include "mcr/standard/modifier.h"#include "mcr/standard/move_cursor.h"#include "mcr/standard/noop.h"#include "mcr/standard/scroll.h"#include "mcr/standard/action.h"#include "mcr/standard/abs_key_dispatcher.h"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 |
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.
| 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_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.
| MCR_API const size_t mcr_key_modifier_default_count |
| MCR_API const struct mcr_MapElement* const mcr_key_modifier_defaults |
| MCR_API const size_t mcr_modifier_key_default_count |
| MCR_API const struct mcr_MapElement* const mcr_modifier_key_defaults |