/* arch-tag: 312d6f09-ba63-4b6b-be70-9e7aeadcac43 */
#ifndef MOD_H
#define MOD_H

#include <X11/Xlib.h>

struct key {
        char *name;
        unsigned int keysym;
        unsigned int state;
};

extern unsigned int ignored_mask;

int parse_key(const char *name, struct key *key);
int xevent_match_key(XEvent *ev, struct key *key);
int xevent_to_key(XEvent *ev, struct key *key);

#endif

