diff options
author | knolax <1339802534.kk@gmail.com> | 2017-12-13 21:46:01 -0500 |
---|---|---|
committer | knolax <1339802534.kk@gmail.com> | 2017-12-13 21:46:01 -0500 |
commit | 8204f087fb816414efa07710de78f37b4864c06f (patch) | |
tree | 9ef3912973215c5fa8e07276089b0e69d4efaee6 /skey.c | |
parent | b610bc48841769c957a150a608e766eec0f10039 (diff) |
confirmed that adding the metadata allows X11 to autodetect skey_dev
Diffstat (limited to 'skey.c')
-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 |