From: Klas Lindfors Date: Wed, 5 Dec 2012 09:28:34 +0000 (+0100) Subject: update SCAN_MAP with ! X-Git-Tag: v1.10.0~8 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d19e8a8a9cf225dba72256704387626de45b005;p=yubikey-personalization update SCAN_MAP with ! --- 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"