-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert mistake in V1.0.5 for _KeyMaps
- Loading branch information
Showing
3 changed files
with
6 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
@@ -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 }, | ||
|