From b86b1c08576aaf5703304555ac40f026bafdbe1b Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Fri, 21 Jan 2022 10:49:26 -0500 Subject: remove landscape layers (among other things) --- keyboard.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'keyboard.h') 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, -- cgit 1.4.1