mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
Mouse bindings can now include modifiers. They are specified in pretty much the same way as in keyboard bindings: Control+BTN_LEFT
17 lines
598 B
C
17 lines
598 B
C
#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);
|
|
bool input_parse_mouse_binding(struct xkb_keymap *keymap, const char *combos,
|
|
enum bind_action_normal action,
|
|
mouse_binding_list_t *bindings);
|