Showing with 382 additions and 0 deletions.
  1. +2 −0 keyboard/ergodox/Makefile.lufa
  2. +4 −0 keyboard/ergodox/keymap.c
  3. +376 −0 keyboard/ergodox/keymap_azerty.h
2 changes: 2 additions & 0 deletions keyboard/ergodox/Makefile.lufa
Expand Up @@ -137,4 +137,6 @@ micro: all
cub: OPT_DEFS += -DKEYMAP_CUB
cub: all

azerty: OPT_DEFS += -DKEYMAP_AZERTY
azerty: all

4 changes: 4 additions & 0 deletions keyboard/ergodox/keymap.c
Expand Up @@ -85,6 +85,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "keymap_micro.h"
#elif defined(KEYMAP_CUB)
#include "keymap_cub.h"
#elif defined(KEYMAP_AZERTY)
#include "keymap_azerty.h"
#else

static const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
Expand Down Expand Up @@ -219,7 +221,9 @@ uint8_t keymap_key_to_keycode(uint8_t layer, keypos_t key)
}

#if defined(KEYMAP_CUB)
// function keymap_fn_to_action will be defined in keymap_cub.h

#elif defined(KEYMAP_AZERTY)
// function keymap_fn_to_action will be defined in keymap_cub.h

#else
Expand Down