From 3d7e9425c7c8eea3da7e96f6d56eb8ab60abeaf4 Mon Sep 17 00:00:00 2001 From: crazyiop Date: Sat, 10 Feb 2018 12:08:47 +0100 Subject: [PATCH] quantum: keympa_extra: add sendstring_bepo.h --- quantum/keymap_extras/sendstring_bepo.h | 41 +++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 quantum/keymap_extras/sendstring_bepo.h diff --git a/quantum/keymap_extras/sendstring_bepo.h b/quantum/keymap_extras/sendstring_bepo.h new file mode 100644 index 0000000000..c7377e077d --- /dev/null +++ b/quantum/keymap_extras/sendstring_bepo.h @@ -0,0 +1,41 @@ +/* Copyright 2018 Jonathan Nifenecker + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +/* Sendstring definitions for the bépo layout */ +#ifndef SENDSTRING_BEPO +#define SENDSTRING_BEPO + +#include "keymap_bepo.h" + +const uint8_t ascii_to_keycode_lut[0x80] PROGMEM = { + 0, 0, 0, 0, 0, 0, 0, 0, + KC_BSPC, KC_TAB, KC_ENT, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, KC_ESC, 0, 0, 0, 0, + KC_SPC, BP_DCRC, BP_DQOT, BP_DOLLAR, BP_DOLLAR, BP_PERCENT, BP_P, BP_APOS, + BP_LPRN, BP_RPRN, BP_ASTR, BP_PLUS, BP_COMM, BP_MINUS, BP_DOT, BP_SLSH, + KC_0, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, + KC_8, KC_9, BP_DOT, BP_DOT, KC_2, BP_EQUAL, KC_2, BP_APOS, + BP_AT, BP_A, BP_B, BP_C, BP_D, BP_E, BP_F, BP_G, + BP_H, BP_I, BP_J, BP_K, BP_L, BP_M, BP_N, BP_O, + BP_P, BP_Q, BP_R, BP_S, BP_T, BP_U, BP_V, BP_W, + BP_X, BP_Y, BP_Z, KC_4, BP_AGRV, KC_5, KC_5, KC_MINS, + KC_2, BP_A, BP_B, BP_C, BP_D, BP_E, BP_F, BP_G, + BP_H, BP_I, BP_J, BP_K, BP_L, BP_M, BP_N, BP_O, + BP_P, BP_Q, BP_R, BP_S, BP_T, BP_U, BP_V, BP_W, + BP_X, BP_Y, BP_Z, BP_Y, BP_B, BP_X, BP_K, KC_DEL, +}; + +#endif