![]() |
Public API Reference |
Go to the source code of this file.
Defines | |
#define | CSAXIS_X -1 |
Use in `int button' for csevXXXMove events with the backward compatible funcs. More... | |
#define | CSAXIS_Y -2 |
Use in `int button' for csevXXXMove events with the backward compatible funcs. More... | |
Functions | |
bool | csParseInputDef (const char *name, iEvent *ev, bool use_shift=true) |
Convert a free-format string into an input event as understood by the csinput library ("Ctrl+a", "alt+shift+mouse1" and so on). More... | |
bool | csParseInputDef (const char *name, csEvent &ev, bool use_shift=true) |
bool | csParseKeyDef (const char *name, int &key, int &shift, bool use_shift=true) |
Convert a free-format string into an input event as understood by the csinput library ("Ctrl+a", "alt+shift+mouse1" and so on). More... | |
bool | csParseMouseDef (const char *name, int &button, int &shift, bool use_shift=true) |
Convert a free-format string into an input event as understood by the csinput library ("Ctrl+a", "alt+shift+mouse1" and so on). More... | |
bool | csParseJoystickDef (const char *name, int &button, int &shift, bool use_shift=true) |
Convert a free-format string into an input event as understood by the csinput library ("Ctrl+a", "alt+shift+mouse1" and so on). More... | |
bool | csGetInputDesc (iEvent *ev, char *buf, bool use_shift=true) |
Given an event object this routine will copy a string describing the input combination in human-understandable format. More... | |
bool | csGetInputDesc (csEvent &ev, char *buf, bool use_shift=true) |
bool | csGetKeyDesc (int key, int shift, char *buf, bool use_shift=true) |
Given an event object this routine will copy a string describing the input combination in human-understandable format. More... | |
bool | csGetMouseDesc (int button, int shift, char *buf, bool use_shift=true) |
Given an event object this routine will copy a string describing the input combination in human-understandable format. More... | |
bool | csGetJoyDesc (int button, int shift, char *buf, bool use_shift=true) |
Given an event object this routine will copy a string describing the input combination in human-understandable format. More... |
Definition in file inpnames.h.
|
Use in `int button' for csevXXXMove events with the backward compatible funcs.
Definition at line 32 of file inpnames.h. |
|
Use in `int button' for csevXXXMove events with the backward compatible funcs.
Definition at line 37 of file inpnames.h. |
|
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. |
|
Given an event object this routine will copy a string describing the input combination in human-understandable format.
|
|
Given an event object this routine will copy a string describing the input combination in human-understandable format.
|
|
Given an event object this routine will copy a string describing the input combination in human-understandable format.
|
|
Given an event object this routine will copy a string describing the input combination in human-understandable format.
|
|
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. |
|
Convert a free-format string into an input event as understood by the csinput library ("Ctrl+a", "alt+shift+mouse1" and so on). Handy for supporting user-defined hot-keys, keyboard accelerators and so on. |
|
Convert a free-format string into an input event as understood by the csinput library ("Ctrl+a", "alt+shift+mouse1" and so on). Handy for supporting user-defined hot-keys, keyboard accelerators and so on. |
|
Convert a free-format string into an input event as understood by the csinput library ("Ctrl+a", "alt+shift+mouse1" and so on). Handy for supporting user-defined hot-keys, keyboard accelerators and so on. |
|
Convert a free-format string into an input event as understood by the csinput library ("Ctrl+a", "alt+shift+mouse1" and so on). Handy for supporting user-defined hot-keys, keyboard accelerators and so on. |