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
341 B

--- a/pam/pam_thinkfinger-uinput.c
+++ b/pam/pam_thinkfinger-uinput.c
@@ -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;