diff options
Diffstat (limited to 'marsond.c')
-rw-r--r-- | marsond.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -311,6 +311,10 @@ int main(int argc, char **argv) { } debug("UI_SET_KEYBIT OK"); + /* this is the old API. uinput.rst in the kernel sources shows + how to use the new API, then recommends using the old API + as a fallback for older kernels... I don't see a need to + even try the new API, if the old one works. */ memset(&dev, 0, sizeof(dev)); snprintf(dev.name, UINPUT_MAX_NAME_SIZE, "marsond virtual keyboard"); dev.id.bustype = BUS_USB; |