From 5f78bdac09842192ad1cae0f0e516e9020619ac7 Mon Sep 17 00:00:00 2001 From: Guillermo Ramos Date: Fri, 16 Sep 2011 17:25:25 +0200 Subject: First functional version of khaskmap --- maps.h | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'maps.h') 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 -- cgit v1.2.3