aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/keyboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rootston/keyboard.h')
-rw-r--r--include/rootston/keyboard.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/include/rootston/keyboard.h b/include/rootston/keyboard.h
deleted file mode 100644
index 0140389a..00000000
--- a/include/rootston/keyboard.h
+++ /dev/null
@@ -1,34 +0,0 @@
-#ifndef ROOTSTON_KEYBOARD_H
-#define ROOTSTON_KEYBOARD_H
-
-#include <xkbcommon/xkbcommon.h>
-#include "rootston/input.h"
-
-#define ROOTS_KEYBOARD_PRESSED_KEYSYMS_CAP 32
-
-struct roots_keyboard {
- struct roots_input *input;
- struct roots_seat *seat;
- struct wlr_input_device *device;
- struct roots_keyboard_config *config;
- struct wl_list link;
-
- struct wl_listener device_destroy;
- struct wl_listener keyboard_key;
- struct wl_listener keyboard_modifiers;
-
- xkb_keysym_t pressed_keysyms_translated[ROOTS_KEYBOARD_PRESSED_KEYSYMS_CAP];
- xkb_keysym_t pressed_keysyms_raw[ROOTS_KEYBOARD_PRESSED_KEYSYMS_CAP];
-};
-
-struct roots_keyboard *roots_keyboard_create(struct wlr_input_device *device,
- struct roots_input *input);
-
-void roots_keyboard_destroy(struct roots_keyboard *keyboard);
-
-void roots_keyboard_handle_key(struct roots_keyboard *keyboard,
- struct wlr_event_keyboard_key *event);
-
-void roots_keyboard_handle_modifiers(struct roots_keyboard *r_keyboard);
-
-#endif