mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
22 lines
442 B
C
22 lines
442 B
C
#ifndef __LABWC_KEYBIND_H
|
|
#define __LABWC_KEYBIND_H
|
|
|
|
#include <wlr/types/wlr_keyboard.h>
|
|
#include <xkbcommon/xkbcommon.h>
|
|
|
|
struct keybind {
|
|
uint32_t modifiers;
|
|
xkb_keysym_t *keysyms;
|
|
size_t keysyms_len;
|
|
char *action;
|
|
char *command;
|
|
struct wl_list link;
|
|
};
|
|
|
|
/**
|
|
* keybind_create - parse keybind and add to linked list
|
|
* @keybind: key combination
|
|
*/
|
|
struct keybind *keybind_create(const char *keybind);
|
|
|
|
#endif /* __LABWC_KEYBIND_H */
|