mirror of
https://github.com/swaywm/sway.git
synced 2025-11-19 06:59:52 -05:00
basic configuration
This commit is contained in:
parent
c173d30b92
commit
92fef27eaa
15 changed files with 543 additions and 174 deletions
|
|
@ -1,15 +1,18 @@
|
|||
#include "sway/input/seat.h"
|
||||
|
||||
struct sway_keyboard {
|
||||
struct sway_seat *seat;
|
||||
struct sway_input_device *device;
|
||||
struct sway_seat_device *seat_device;
|
||||
struct wl_list link; // sway_seat::keyboards
|
||||
|
||||
struct xkb_keymap *keymap;
|
||||
|
||||
struct wl_listener keyboard_key;
|
||||
struct wl_listener keyboard_modifiers;
|
||||
};
|
||||
|
||||
struct sway_keyboard *sway_keyboard_create(struct sway_seat *seat,
|
||||
struct sway_input_device *device);
|
||||
struct sway_seat_device *device);
|
||||
|
||||
void sway_keyboard_configure(struct sway_keyboard *keyboard);
|
||||
|
||||
void sway_keyboard_destroy(struct sway_keyboard *keyboard);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue