aboutsummaryrefslogtreecommitdiff
path: root/maps/map_es.h
diff options
context:
space:
mode:
Diffstat (limited to 'maps/map_es.h')
-rw-r--r--maps/map_es.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/maps/map_es.h b/maps/map_es.h
index 1b0946f..b20f120 100644
--- a/maps/map_es.h
+++ b/maps/map_es.h
@@ -9,13 +9,13 @@
// Right Alt (ALTGR) map
#define EVS_ALTGR_ENABLED
-#define EVS_ALTGR_BIND(KEY, VALUE) khm_insert(ahm, (KEY), (VALUE))
+#define EVS_ALTGR_BIND(KEY, VALUE) kmap_insert(akm, (KEY), (VALUE))
-static struct khashmap *ahm;
+static struct kmap *akm;
static void init_altgrmap(void)
{
- ahm = khm_create();
+ akm = kmap_create();
EVS_ALTGR_BIND(KEY_1, "|");
EVS_ALTGR_BIND(KEY_2, "@");
EVS_ALTGR_BIND(KEY_3, "#");
@@ -41,17 +41,17 @@ static void init_altgrmap(void)
static inline void exit_altgrmap(void)
{
- khm_destroy(ahm);
+ kmap_destroy(akm);
}
// Shift map
-#define EVS_SHIFT_BIND(KEY, VALUE) khm_insert(shm, (KEY), (VALUE))
+#define EVS_SHIFT_BIND(KEY, VALUE) kmap_insert(skm, (KEY), (VALUE))
-static struct khashmap *shm;
+static struct kmap *skm;
static void init_shiftmap(void)
{
- shm = khm_create();
+ skm = kmap_create();
EVS_SHIFT_BIND(KEY_1, "!");
EVS_SHIFT_BIND(KEY_2, "\"");
EVS_SHIFT_BIND(KEY_4, "$");
@@ -75,7 +75,7 @@ static void init_shiftmap(void)
static inline void exit_shiftmap(void)
{
- khm_destroy(shm);
+ kmap_destroy(skm);
}
static char map[] = {