-
Notifications
You must be signed in to change notification settings - Fork 164
Add definitions for extra keys in national layouts #67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
src/Keyboard_de_DE.h
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* | ||
Keyboard_de_DE.h | ||
|
||
Copyright (c) 2022, Edgar Bonet | ||
|
||
This library is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU Lesser General Public | ||
License as published by the Free Software Foundation; either | ||
version 2.1 of the License, or (at your option) any later version. | ||
|
||
This library is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
Lesser General Public License for more details. | ||
|
||
You should have received a copy of the GNU Lesser General Public | ||
License along with this library; if not, write to the Free Software | ||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
*/ | ||
|
||
#ifndef KEYBOARD_DE_DE_h | ||
#define KEYBOARD_DE_DE_h | ||
|
||
#include "HID.h" | ||
|
||
#if !defined(_USING_HID) | ||
|
||
#warning "Using legacy HID core (non pluggable)" | ||
|
||
#else | ||
|
||
//================================================================================ | ||
//================================================================================ | ||
// Keyboard | ||
|
||
// de_DE keys | ||
#define KEY_CIRCUMFLEX (136+0x35) | ||
#define KEY_ESZETT (136+0x2d) | ||
#define KEY_ACUTE (136+0x2e) | ||
#define KEY_U_UMLAUT (136+0x2f) | ||
#define KEY_O_UMLAUT (136+0x33) | ||
#define KEY_A_UMLAUT (136+0x34) | ||
|
||
#endif | ||
#endif |
45 changes: 45 additions & 0 deletions
src/Keyboard_es_ES.h
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* | ||
Keyboard_es_ES.h | ||
|
||
Copyright (c) 2022, Edgar Bonet | ||
|
||
This library is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU Lesser General Public | ||
License as published by the Free Software Foundation; either | ||
version 2.1 of the License, or (at your option) any later version. | ||
|
||
This library is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
Lesser General Public License for more details. | ||
|
||
You should have received a copy of the GNU Lesser General Public | ||
License along with this library; if not, write to the Free Software | ||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
*/ | ||
|
||
#ifndef KEYBOARD_ES_ES_h | ||
#define KEYBOARD_ES_ES_h | ||
|
||
#include "HID.h" | ||
|
||
#if !defined(_USING_HID) | ||
|
||
#warning "Using legacy HID core (non pluggable)" | ||
|
||
#else | ||
|
||
//================================================================================ | ||
//================================================================================ | ||
// Keyboard | ||
|
||
// es_ES keys | ||
#define KEY_MASCULINE_ORDINAL (136+0x35) | ||
#define KEY_INVERTED_EXCLAMATION (136+0x2e) | ||
#define KEY_GRAVE (136+0x2f) | ||
#define KEY_N_TILDE (136+0x33) | ||
#define KEY_ACUTE (136+0x34) | ||
#define KEY_C_CEDILLA (136+0x31) | ||
|
||
#endif | ||
#endif |
46 changes: 46 additions & 0 deletions
src/Keyboard_fr_FR.h
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/* | ||
Keyboard_fr_FR.h | ||
|
||
Copyright (c) 2022, Edgar Bonet | ||
|
||
This library is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU Lesser General Public | ||
License as published by the Free Software Foundation; either | ||
version 2.1 of the License, or (at your option) any later version. | ||
|
||
This library is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
Lesser General Public License for more details. | ||
|
||
You should have received a copy of the GNU Lesser General Public | ||
License along with this library; if not, write to the Free Software | ||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
*/ | ||
|
||
#ifndef KEYBOARD_FR_FR_h | ||
#define KEYBOARD_FR_FR_h | ||
|
||
#include "HID.h" | ||
|
||
#if !defined(_USING_HID) | ||
|
||
#warning "Using legacy HID core (non pluggable)" | ||
|
||
#else | ||
|
||
//================================================================================ | ||
//================================================================================ | ||
// Keyboard | ||
|
||
// fr_FR keys | ||
#define KEY_SUPERSCRIPT_TWO (136+0x35) | ||
#define KEY_E_ACUTE (136+0x1f) | ||
#define KEY_E_GRAVE (136+0x24) | ||
#define KEY_C_CEDILLA (136+0x26) | ||
#define KEY_A_GRAVE (136+0x27) | ||
#define KEY_CIRCUMFLEX (136+0x2f) | ||
#define KEY_U_GRAVE (136+0x34) | ||
|
||
#endif | ||
#endif |
44 changes: 44 additions & 0 deletions
src/Keyboard_it_IT.h
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* | ||
Keyboard_it_IT.h | ||
|
||
Copyright (c) 2022, Edgar Bonet | ||
|
||
This library is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU Lesser General Public | ||
License as published by the Free Software Foundation; either | ||
version 2.1 of the License, or (at your option) any later version. | ||
|
||
This library is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
Lesser General Public License for more details. | ||
|
||
You should have received a copy of the GNU Lesser General Public | ||
License along with this library; if not, write to the Free Software | ||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
*/ | ||
|
||
#ifndef KEYBOARD_IT_IT_h | ||
#define KEYBOARD_IT_IT_h | ||
|
||
#include "HID.h" | ||
|
||
#if !defined(_USING_HID) | ||
|
||
#warning "Using legacy HID core (non pluggable)" | ||
|
||
#else | ||
|
||
//================================================================================ | ||
//================================================================================ | ||
// Keyboard | ||
|
||
// it_IT keys | ||
#define KEY_I_GRAVE (136+0x2e) | ||
#define KEY_E_GRAVE (136+0x2f) | ||
#define KEY_O_GRAVE (136+0x33) | ||
#define KEY_A_GRAVE (136+0x34) | ||
#define KEY_U_GRAVE (136+0x31) | ||
|
||
#endif | ||
#endif |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.