keybinds
This commit is contained in:
+15
-1
@@ -33,7 +33,8 @@
|
||||
(L).notify = (C); \
|
||||
wl_signal_add(&(E), &(L)); \
|
||||
} while (0);
|
||||
#define UNUSED(X) (void)(X)
|
||||
#define UNUSED(X) (void)(X)
|
||||
#define CLEANMASK(M) (M & ~WLR_MODIFIER_CAPS)
|
||||
|
||||
/* cursor mode */
|
||||
enum {
|
||||
@@ -224,4 +225,17 @@ typedef struct {
|
||||
struct wl_listener destroy;
|
||||
} absn_keyboard;
|
||||
|
||||
typedef struct {
|
||||
int i;
|
||||
float f;
|
||||
const void *v;
|
||||
} absn_arg;
|
||||
|
||||
typedef struct {
|
||||
uint32_t mods;
|
||||
xkb_keysym_t keysym;
|
||||
void (*cb)(absn_server *, const absn_arg *);
|
||||
const absn_arg arg;
|
||||
} absn_keybind;
|
||||
|
||||
#endif /* __TYPES_H_ */
|
||||
|
||||
Reference in New Issue
Block a user