summarylogtreecommitdiffstats
path: root/thinkfinger-uinput-hack.patch
diff options
context:
space:
mode:
Diffstat (limited to 'thinkfinger-uinput-hack.patch')
-rw-r--r--thinkfinger-uinput-hack.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/thinkfinger-uinput-hack.patch b/thinkfinger-uinput-hack.patch
new file mode 100644
index 000000000000..0ac153464808
--- /dev/null
+++ b/thinkfinger-uinput-hack.patch
@@ -0,0 +1,13 @@
+#Source: http://launchpadlibrarian.net/18515541/thinkfinger-uinput-hack.patch (26-12-2008)
+Index: pam/pam_thinkfinger-uinput.c
+===================================================================
+--- pam/pam_thinkfinger-uinput.c (revision 118)
++++ pam/pam_thinkfinger-uinput.c (working copy)
+@@ -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;