summary refs log tree commit diff
path: root/keyboard.h
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2022-01-20 20:45:48 -0500
committerZach DeCook <zachdecook@librem.one>2022-01-20 20:45:48 -0500
commit7bcdc772c34b8e606d5355e8729e8a6236741dbe (patch)
treebd78f9c0625fcf889740ea99fbd3a43d20506d23 /keyboard.h
parent1ae1ac8ccd79716830f911fd97438d99d17998b2 (diff)
downloadsuggpicker-7bcdc772c34b8e606d5355e8729e8a6236741dbe.tar.gz
input event codes: don't use
Diffstat (limited to 'keyboard.h')
-rw-r--r--keyboard.h5
1 files changed, 0 insertions, 5 deletions
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 */