aboutsummaryrefslogtreecommitdiff
path: root/maps.h
diff options
context:
space:
mode:
authorGuillermo Ramos2011-09-16 17:25:25 +0200
committerGuillermo Ramos2011-09-16 17:25:25 +0200
commit5f78bdac09842192ad1cae0f0e516e9020619ac7 (patch)
treecafa120ed1090f9794e37dfe93e7df36c57216ba /maps.h
parent0daea8c7cce5108d36313e608d63e30eb6c34c9b (diff)
downloadevspy-5f78bdac09842192ad1cae0f0e516e9020619ac7.tar.gz
First functional version of khaskmap
Diffstat (limited to 'maps.h')
-rw-r--r--maps.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/maps.h b/maps.h
index 91531aa..8bac175 100644
--- a/maps.h
+++ b/maps.h
@@ -7,9 +7,21 @@
*
* By the moment, evspy does not support non-ascii characters.
*
- * Select your map with EVS_MAP macro in evspy.h
+ * Select your map with EVS_MAP macro in evspy-core.h
*/
+#ifndef __MAPS
+#define __MAPS
+
+#define EVS_KLAY_EN 0 // English standard layout
+#define EVS_KLAY_ES 1 // Spanish standard layout
+
+#ifndef EVS_KLAY
+#define EVS_KLAY EVS_KLAY_EN // In case it is not defined in evspy-core.h
+#endif // EVS_KEYBOARD
+
+#if EVS_KLAY == EVS_KLAY_ES
+
// Spanish
static char map_es[] = {
'.', '.', '1', '2', '3', //0 // 1:ESC
@@ -35,3 +47,6 @@ static char map_es[] = {
'.', '.', '.', '.', '.', //100 // 100:ALTGR 103:up_arrow
'.', '.', '.', '.', '.', //105 // 105:l_arrow 106:r_arrow 108:dwn_arrow
};
+
+#endif // EVS_KLAY == es
+#endif // __MAPS