diff options
| author | Gaëtan Ark <gaetan.ark@gmail.com> | 2019-05-27 05:36:24 +0200 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-05-26 20:36:24 -0700 |
| commit | 6c7c178cd2b9d535e76a0cd9dd3d1293b8ba1ed2 (patch) | |
| tree | e8943c12328392b3680b5539f6226ca603afbd31 /keyboards/ergo42 | |
| parent | df73a81db8d21af8c2ac45229eb7873787312d6a (diff) | |
| download | qmk_firmware-6c7c178cd2b9d535e76a0cd9dd3d1293b8ba1ed2.tar.gz qmk_firmware-6c7c178cd2b9d535e76a0cd9dd3d1293b8ba1ed2.zip | |
[Keymap] Added french Bépo support on Ergo42 keeb (#5986)
* Added french Bépo support on Ergo42 keeb
* Fixed some typos
* Removed a unused include
Diffstat (limited to 'keyboards/ergo42')
| -rw-r--r-- | keyboards/ergo42/keymaps/shinze/config.h | 33 | ||||
| -rw-r--r-- | keyboards/ergo42/keymaps/shinze/keymap.c | 39 |
2 files changed, 72 insertions, 0 deletions
diff --git a/keyboards/ergo42/keymaps/shinze/config.h b/keyboards/ergo42/keymaps/shinze/config.h new file mode 100644 index 000000000..360d6a562 --- /dev/null +++ b/keyboards/ergo42/keymaps/shinze/config.h | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | /* | ||
| 2 | This is the c configuration file for the keymap | ||
| 3 | |||
| 4 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 5 | Copyright 2015 Jack Humbert | ||
| 6 | |||
| 7 | This program is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 2 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | This program is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 19 | */ | ||
| 20 | |||
| 21 | #pragma once | ||
| 22 | |||
| 23 | /* Use I2C or Serial, not both */ | ||
| 24 | |||
| 25 | #define USE_SERIAL | ||
| 26 | // #define USE_I2C | ||
| 27 | |||
| 28 | /* Select hand configuration */ | ||
| 29 | |||
| 30 | #define MASTER_LEFT | ||
| 31 | // #define MASTER_RIGHT | ||
| 32 | // #define EE_HANDS | ||
| 33 | |||
diff --git a/keyboards/ergo42/keymaps/shinze/keymap.c b/keyboards/ergo42/keymaps/shinze/keymap.c new file mode 100644 index 000000000..4f4247deb --- /dev/null +++ b/keyboards/ergo42/keymaps/shinze/keymap.c | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | #include "keymap_bepo.h" | ||
| 3 | #include "keymap_french.h" | ||
| 4 | |||
| 5 | extern keymap_config_t keymap_config; | ||
| 6 | |||
| 7 | #define BASE 0 | ||
| 8 | #define NUMB 1 | ||
| 9 | #define SHORT 2 | ||
| 10 | |||
| 11 | // Special keys | ||
| 12 | #define COPY RGUI(BP_C) | ||
| 13 | #define PASTE RGUI(BP_V) | ||
| 14 | |||
| 15 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 16 | |||
| 17 | [BASE] = LAYOUT( \ | ||
| 18 | KC_TAB, BP_B, BP_ECUT, BP_P, BP_O, BP_EGRV, KC_ESC, KC_BSPC, BP_DCRC, BP_V, BP_D, BP_L, BP_J, BP_Z, \ | ||
| 19 | BP_W, BP_A, BP_U, BP_I, BP_E, BP_COMM, _______, _______, BP_C, BP_T, BP_S, BP_R, BP_N, BP_M, \ | ||
| 20 | KC_LSFT, BP_AGRV, BP_Y, BP_X, BP_DOT, BP_K, _______, _______, BP_APOS, BP_Q, BP_G, BP_H, BP_F, BP_CCED, \ | ||
| 21 | MO(SHORT), KC_LCTL, _______, KC_LALT, KC_LGUI, KC_SPC, MO(NUMB), KC_RGUI, KC_RSFT, KC_SPC, _______, _______, _______, _______ \ | ||
| 22 | ), | ||
| 23 | |||
| 24 | [NUMB] = LAYOUT( \ | ||
| 25 | BP_HASH, BP_DQOT, BP_LDQT, BP_RDQT, BP_LPRN, BP_RPRN, BP_AT, BP_PLUS, BP_MINS, BP_SLSH, BP_ASTR, BP_EQL, BP_PERC, KC_BSPC, \ | ||
| 26 | BP_DLR, BP_1, BP_2, BP_3, BP_4, BP_5, KC_LBRC, KC_RBRC, BP_6, BP_7, BP_8, BP_9, BP_0, BP_DEGR, \ | ||
| 27 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | ||
| 28 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ \ | ||
| 29 | ), | ||
| 30 | |||
| 31 | [SHORT] = LAYOUT( \ | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET, \ | ||
| 33 | _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | ||
| 34 | _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | ||
| 35 | _______, _______, COPY, PASTE, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ \ | ||
| 36 | ) | ||
| 37 | |||
| 38 | }; | ||
| 39 | |||
