aboutsummaryrefslogtreecommitdiff
path: root/input.h
blob: c1c14f7cb5cee459622b609e5ac6190f67ee8dce (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 seat *seat, uint32_t key);

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