Skip to content

Commit 8a32d82

Browse files
committed
Revert mistake in V1.0.5 for _KeyMaps
1 parent a0a11b9 commit 8a32d82

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
### Arduino PS2 keyboard International Keyboard mapping from PS2KeyAdvanced and return as UTF-8
33

44
## This library requires PS2KeyAdvanced as well to work
5-
**V1.0.5** March 2020 Add Italian and Spanish keyboard layouts
5+
**V1.0.6** April 2020 Correct _KeyMaps definition error in V1.0.5
6+
7+
V1.0.5 March 2020 Add Italian and Spanish keyboard layouts
68

79
V1.0.4 January 2020 Work better with new library manager spec and better
810
additional platform possibilities
@@ -57,8 +59,6 @@ Current Country mappings included (other contributions welcomed)
5759
* UK/GB
5860
* DE - German
5961
* FR - French
60-
* IT - Italian
61-
* ES - Spanish
6262

6363
You can select which map to use from your programme.
6464

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=PS2KeyMap
2-
version=1.0.5
2+
version=1.0.6
33
author=Paul Carpenter <[email protected]>
44
maintainer=Paul Carpenter <[email protected]>
55
sentence=PS2 keyboard codes from PS2KeyAdvanced to UTF-8 for any Latin language keyboard.

src/PS2KeyData.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
/* Version V1.0.5
1+
/* Version V1.0.6
22
PS2KeyMap.h - PS2KeyAdvanced library
33
Copyright (c) 2007 Free Software Foundation. All right reserved.
44
Written by Paul Carpenter, PC Services <[email protected]>
55
Created September 2014
66
Updated January 2016 - Paul Carpenter - add tested on Due and tidy ups for V1.5 Library Management
77
January 2020 - Paul Carpenter - extend library properties for V2.2 of Arduino Library Management
88
March 2020 - Paul Carpenter - add Spanish and Italian Mappings
9+
April 2020 - Paul Carpenter - Correct _KeyMaps definition error in last version
910
1011
PRIVATE to library data and key mapping tables
1112
@@ -383,11 +384,7 @@ typedef struct {
383384

384385
// Actual map structure array ( 2 entries for GB and UK for same map
385386
// Because many people don't know ISO code for UK is GB )
386-
#if defined(PS2_REQUIRES_PROGMEM)
387-
const PS2Advmap PROGMEM _KeyMaps[ ] = {
388-
#else
389387
const PS2Advmap _KeyMaps[ ] = {
390-
#endif
391388
{ "US", sizeof( _US_ASCII ) / ( 2 * sizeof( uint16_t ) ), (uint16_t *)_US_ASCII },
392389
#ifdef FRENCH
393390
{ "FR", sizeof( _FRmap ) / ( 2 * sizeof( uint16_t ) ), (uint16_t *)_FRmap },

0 commit comments

Comments
 (0)