You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-auth/thinkfinger/files/0.3-carriagereturn.patch

11 lines
409 B

--- pam/pam_thinkfinger-uinput.c 2007-02-27 17:52:50.000000000 +0100
+++ pam/pam_thinkfinger-uinput.c 2009-02-17 13:56:02.013033249 +0100
@@ -95,6 +95,7 @@
/* our single key keyboard */
i = ioctl (*fd, UI_SET_EVBIT, EV_KEY) < 0;
i |= ioctl (*fd, UI_SET_KEYBIT, KEY_ENTER) < 0;
+ i |= ioctl (*fd, UI_SET_KEYBIT, KEY_A) < 0;
if (write (*fd, &device, device_size) != device_size) {
retval = errno;