aboutsummaryrefslogtreecommitdiff
path: root/input.h
blob: 553a6249f74cbf36a772b5e9f74d74597790806a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include <stdint.h>
#include <wayland-client.h>

#include "wayland.h"

extern const struct wl_keyboard_listener keyboard_listener;
extern const struct wl_pointer_listener pointer_listener;

void input_repeat(struct wayland *wayl, uint32_t key);

bool input_parse_key_binding(struct xkb_keymap *keymap, const char *combos,
                             key_binding_list_t *bindings);