aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcrazyiop <crazyiop@gmail.com>2018-02-10 12:08:47 +0100
committerJack Humbert <jack.humb@gmail.com>2018-03-07 17:09:41 -0500
commit3d7e9425c7c8eea3da7e96f6d56eb8ab60abeaf4 (patch)
treecbf190767c8265dd4a168e344f77d532b3f8ed8a
parent483e3cd1cb8805ef9074d01fb1750e08a025f5ca (diff)
downloadfirmware-3d7e9425c7c8eea3da7e96f6d56eb8ab60abeaf4.tar.gz
firmware-3d7e9425c7c8eea3da7e96f6d56eb8ab60abeaf4.tar.bz2
firmware-3d7e9425c7c8eea3da7e96f6d56eb8ab60abeaf4.zip
quantum: keympa_extra: add sendstring_bepo.h
-rw-r--r--quantum/keymap_extras/sendstring_bepo.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/quantum/keymap_extras/sendstring_bepo.h b/quantum/keymap_extras/sendstring_bepo.h
new file mode 100644
index 000000000..c7377e077
--- /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 <http://www.gnu.org/licenses/>.
+ */
+/* 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