Skip to content

Commit

Permalink
Prepare for release v1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
jarun committed Dec 12, 2017
1 parent 773c4b6 commit 9127628
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 6 deletions.
57 changes: 57 additions & 0 deletions CHANGELOG
@@ -0,0 +1,57 @@
keysniffer v1.6
2017-12-12

What's in?
- DKMS support
- Prepend Left (`L`) or Right (`R`) for Ctrl, Shift and Alt keys
- Replace `_ENTER_` with `\n`
- Append newline to keycodes (for param codes=1/2)
- Add targets install, load, unload, uninstall to Makefile

-------------------------------------------------------------------------------

keysniffer v1.5
2017-03-28

Modifications
- Add module param `codes` to support hex and decimal keycodes in output

-------------------------------------------------------------------------------

keysniffer v1.4
2016-10-03

Modifications
- Coding style and readability improvements

-------------------------------------------------------------------------------

keysniffer v1.2
2015-10-30

Modifications
- Added version information to module
- Better module description
- Changed the source file name to project name
- Fixed license issues, make GPL v2 (thanks @gregkh)
- Added output example to README.txt

-------------------------------------------------------------------------------

keysniffer v1.1
2015-10-12

Modifications
- Using a 16KB buffer to log keys in debugfs
- Using stricter permissions for debugfs log file (readable only by root)

-------------------------------------------------------------------------------

keysniffer v1.0
2015-10-11

Modifications
- Implement US keyboard grab support
- Share the keypress log via debugfs

-------------------------------------------------------------------------------
11 changes: 6 additions & 5 deletions README.md
Expand Up @@ -58,7 +58,8 @@ To view the pressed keys, run:
```
# cat /sys/kernel/debug/kisni/keys
modinfo kisni.ko
sudo cat /sys/kernel/debug/kisni/keys
cat /sys/kernel/debug/kisni/keys
#
```

To log generic hex keycodes in the format `keycode shift_mask`, run:
Expand Down Expand Up @@ -106,14 +107,14 @@ To check the module details:

```
# modinfo kisni.ko
filename: /home/vaio/GitHub/keysniffer/kisni.ko
filename: kisni.ko
description: Sniff and log keys pressed in the system to debugfs
version: 1.4
version: 1.6
author: Arun Prakash Jana <engineerarun@gmail.com>
license: GPL v2
srcversion: 08CA52B5D5B14E4B1C5BEB1
srcversion: 40AA880EE5017590B293170
depends:
vermagic: 4.4.0-98-generic SMP mod_unload modversions
vermagic: 4.4.0-103-generic SMP mod_unload modversions
parm: codes:log format (0:US keys (default), 1:hex keycodes, 2:dec keycodes) (int)
```

Expand Down
2 changes: 1 addition & 1 deletion keysniffer.c
Expand Up @@ -32,7 +32,7 @@
#define HEX 1 /* Type code for hexadecimal log */
#define DEC 2 /* Type code for decimal log */

#define KEYSNIFFER_VERSION "1.4"
#define KEYSNIFFER_VERSION "1.6"

static int codes; /* Log type module parameter */

Expand Down

0 comments on commit 9127628

Please sign in to comment.