about summary refs log tree commit diff
path: root/keyboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard.h')
-rw-r--r--keyboard.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/keyboard.h b/keyboard.h
index 84e6b8c..876172d 100644
--- a/keyboard.h
+++ b/keyboard.h
@@ -5,8 +5,6 @@
 
 #define MAX_LAYERS 25
 
-enum key_type;
-enum key_modifier_type;
 struct clr_scheme;
 struct key;
 struct layout;
@@ -39,8 +37,6 @@ struct key {
 
 struct layout {
 	struct key *keys;
-	const char *keymap_name;
-	const char *name;
 	uint32_t keyheight; // absolute height (pixels)
 };
 
@@ -49,23 +45,18 @@ struct kbd {
 
 	struct layout *layout;
 	struct clr_scheme scheme;
-	struct clr_scheme scheme1;
 
 	uint32_t w, h, s;
 	bool landscape;
 	uint8_t mods;
 	uint8_t compose;
 	struct key *last_press;
-	struct key *last_swipe;
-	struct layout *prevlayout;
 	size_t layer_index;
 
 	struct layout *layouts;
 	enum layout_id *layers;
-	enum layout_id *landscape_layers;
 
 	struct drwsurf *surf;
-	struct zwp_virtual_keyboard_v1 *vkbd;
 };
 
 void draw_inset(struct drwsurf *ds, uint32_t x, uint32_t y, uint32_t width,