From 8d19e8a8a9cf225dba72256704387626de45b005 Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Wed, 5 Dec 2012 10:28:34 +0100 Subject: [PATCH] update SCAN_MAP with ! --- ykcore/ykdef.h | 2 +- ykpers-args.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ykcore/ykdef.h b/ykcore/ykdef.h index b9657af..f12e98d 100644 --- a/ykcore/ykdef.h +++ b/ykcore/ykdef.h @@ -230,7 +230,7 @@ struct device_config_st { /* Scancode mapping (version 3.0) */ -#define SCAN_MAP "cbdefghijklnrtuvCBDEFGHIJKLNRTUV0123456789\t\r" +#define SCAN_MAP "cbdefghijklnrtuvCBDEFGHIJKLNRTUV0123456789!\t\r" #define SHIFT_FLAG 0x80 /* Flag for shifted scan codes */ /* Status block */ diff --git a/ykpers-args.c b/ykpers-args.c index b5d106a..f74d2c4 100644 --- a/ykpers-args.c +++ b/ykpers-args.c @@ -77,7 +77,7 @@ const char *usage = " 1 CCID device only.\n" " 2 HID/CCID composite device.\n" " Add 80 to set MODE_FLAG_EJECT, for example: 81\n" -"-S0605.. Set the scanmap to use with the YubiKey NEO. Must be 44 unique bytes,\n" +"-S0605.. Set the scanmap to use with the YubiKey NEO. Must be 45 unique bytes,\n" " in hex. Use with no argument to reset to the default.\n" "-oOPTION change configuration option. Possible OPTION arguments are:\n" " salt=ssssssss Salt to be used when deriving key from a\n" -- 2.39.5