From 7bcdc772c34b8e606d5355e8729e8a6236741dbe Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Thu, 20 Jan 2022 20:45:48 -0500 Subject: input event codes: don't use --- keyboard.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'keyboard.h') diff --git a/keyboard.h b/keyboard.h index 82a3763..7d61bee 100644 --- a/keyboard.h +++ b/keyboard.h @@ -61,11 +61,6 @@ struct key { const double width; // relative width (1.0) const enum key_type type; - const uint32_t - code; /* code: key scancode or modifier name (see - * `/usr/include/linux/input-event-codes.h` for scancode names, and - * `keyboard.h` for modifiers) - * XKB keycodes are +8 */ struct layout *layout; // pointer back to the parent layout that holds this // key const uint32_t code_mod; /* modifier to force when this key is pressed */ -- cgit 1.4.1