Skip to content

Commit

Permalink
Revert mistake in V1.0.5 for _KeyMaps
Browse files Browse the repository at this point in the history
  • Loading branch information
techpaul committed Apr 10, 2020
1 parent a0a11b9 commit 8a32d82
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
### Arduino PS2 keyboard International Keyboard mapping from PS2KeyAdvanced and return as UTF-8

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

V1.0.5 March 2020 Add Italian and Spanish keyboard layouts

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

You can select which map to use from your programme.

Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=PS2KeyMap
version=1.0.5
version=1.0.6
author=Paul Carpenter <[email protected]>
maintainer=Paul Carpenter <[email protected]>
sentence=PS2 keyboard codes from PS2KeyAdvanced to UTF-8 for any Latin language keyboard.
Expand Down
7 changes: 2 additions & 5 deletions src/PS2KeyData.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
/* Version V1.0.5
/* Version V1.0.6
PS2KeyMap.h - PS2KeyAdvanced library
Copyright (c) 2007 Free Software Foundation. All right reserved.
Written by Paul Carpenter, PC Services <[email protected]>
Created September 2014
Updated January 2016 - Paul Carpenter - add tested on Due and tidy ups for V1.5 Library Management
January 2020 - Paul Carpenter - extend library properties for V2.2 of Arduino Library Management
March 2020 - Paul Carpenter - add Spanish and Italian Mappings
April 2020 - Paul Carpenter - Correct _KeyMaps definition error in last version
PRIVATE to library data and key mapping tables
Expand Down Expand Up @@ -383,11 +384,7 @@ typedef struct {

// Actual map structure array ( 2 entries for GB and UK for same map
// Because many people don't know ISO code for UK is GB )
#if defined(PS2_REQUIRES_PROGMEM)
const PS2Advmap PROGMEM _KeyMaps[ ] = {
#else
const PS2Advmap _KeyMaps[ ] = {
#endif
{ "US", sizeof( _US_ASCII ) / ( 2 * sizeof( uint16_t ) ), (uint16_t *)_US_ASCII },
#ifdef FRENCH
{ "FR", sizeof( _FRmap ) / ( 2 * sizeof( uint16_t ) ), (uint16_t *)_FRmap },
Expand Down

0 comments on commit 8a32d82

Please sign in to comment.