change key constants
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-04-20 00:18:04 +09:00
commit d3eb93a30a
Signed by: nishi
GPG key ID: 27EF69B208EB9343
8 changed files with 73 additions and 73 deletions

View file

@ -177,24 +177,6 @@ union _MwLLPixmap {
#define MwLLDispatch(x, y, z) \
if(x->common.handler != NULL && x->common.handler->y != NULL) x->common.handler->y(x, z)
#define MwLLKeyMask (1 << 31)
enum MwLLKeyEnum {
MwLLKeyBackSpace = MwLLKeyMask | 1,
MwLLKeyLeft,
MwLLKeyRight,
MwLLKeyUp,
MwLLKeyDown,
MwLLKeyEnter,
MwLLKeyEscape,
MwLLKeyLeftShift,
MwLLKeyRightShift,
MwLLKeyAlt,
MwLLKeyControl
};
#define MwLLControlMask MwLLKeyMask | (1 << 30)
#define MwLLAltMask MwLLKeyMask | (1 << 29)
struct _MwLLHandler {
void (*draw)(MwLL handle, void* data);
void (*up)(MwLL handle, void* data);