diff options
-rw-r--r-- | skey.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -149,6 +149,10 @@ static int __init skey_init (void) { set_bit(EV_KEY, skey_dev->evbit); set_bit(EV_REL, skey_dev->evbit); set_bit(KEY_CAPSLOCK, skey_dev->keybit); + /* + * skey_dev->name and skey_dev->id are metadata that are required for X11 + * and libinput to use skey_dev + */ //sets the name of skey_dev skey_dev->name = skey_name; //sets ids |