Alternatives to key event from /dev/input/eventX
Hi,
There is a plethora of keyloggers for Windows since 1990s, but not so many for Linux. cat /dev/input/...keyboardevent... does not print sthg human. Alternatives: (1) There is keylogger from google code, Forget this one, it rather sucks http://code.google.com/p/logkeys/wik...n#Usage_how-to (2) also keyevent: 'keyevent' is a little tool derived from evtest.c to report keys being pressed or released on a selectable hardware device. It uses the Linux kernel's event interface, so be sure to load the evdev kernel module (modprobe evdev) before using keyevent. (3) what else ... Unspawn, ... craigevil, ... help |
Forget all those stuffs and crap above, which never work well... though compiling works fairly well.
That wont be your greatest innovative option. Do this Get:1 http://ftp.at.debian.org/debian/ squeeze/main inputlirc i386 16-1 [14.9 kB Quote:
45 0 KEY_NUMLOCK usb- -event-kbd 4f 0 KEY_KP1 usb- -event-kbd 45 0 KEY_NUMLOCK usb- -event-kbd 45 0 KEY_NUMLOCK usb- -event-kbd 4b 0 KEY_KP4 usb- -event-kbd 45 0 KEY_NUMLOCK usb- Please make sure before to set correctly your new rules.d for hotplug to make the events for users |
All times are GMT -5. The time now is 06:39 PM. |