mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
Move keyboard functions into input/keyboard.h
This commit is contained in:
parent
5e1562fae6
commit
b359b1560c
7 changed files with 38 additions and 14 deletions
19
include/input/keyboard.h
Normal file
19
include/input/keyboard.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
#ifndef LABWC_KEYBOARD_H
|
||||
#define LABWC_KEYBOARD_H
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
struct seat;
|
||||
struct keyboard;
|
||||
struct wlr_keyboard;
|
||||
|
||||
void keyboard_init(struct seat *seat);
|
||||
void keyboard_finish(struct seat *seat);
|
||||
|
||||
void keyboard_setup_handlers(struct keyboard *keyboard);
|
||||
void keyboard_set_numlock(struct wlr_keyboard *keyboard);
|
||||
void keyboard_cancel_keybind_repeat(struct keyboard *keyboard);
|
||||
bool keyboard_any_modifiers_pressed(struct wlr_keyboard *keyboard);
|
||||
|
||||
#endif /* LABWC_KEYBOARD_H */
|
Loading…
Add table
Add a link
Reference in a new issue