qmk_firmware/quantum/keymap_extras/keymap_french.h

155 lines
8 KiB
C
Raw Normal View History

/* Copyright 2015-2016 Jack Humbert
*
* 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/>.
*/
2015-10-25 17:50:46 +01:00
#pragma once
2015-10-25 17:50:46 +01:00
#include "keymap.h"
2015-10-25 17:50:46 +01:00
// clang-format off
2015-10-25 17:50:46 +01:00
/*
*
2021-07-01 08:41:51 +02:00
* ² & é " │ ' │ ( │ - │ è │ _ │ ç │ à │ ) │ = │ │
*
2021-07-01 08:41:51 +02:00
* A Z E R T Y U I O P ^ $
*
* Q S D F G H J K L M ù *
*
2021-07-01 08:41:51 +02:00
* < W X C V B N , ; : !
*
2021-07-01 08:41:51 +02:00
*
*
*/
// Row 1
#define FR_SUP2 KC_GRV // ²
#define FR_AMPR KC_1 // &
#define FR_EACU KC_2 // é
#define FR_DQUO KC_3 // "
#define FR_QUOT KC_4 // '
#define FR_LPRN KC_5 // (
#define FR_MINS KC_6 // -
#define FR_EGRV KC_7 // è
#define FR_UNDS KC_8 // _
#define FR_CCED KC_9 // ç
#define FR_AGRV KC_0 // à
#define FR_RPRN KC_MINS // )
#define FR_EQL KC_EQL // =
// Row 2
#define FR_A KC_Q // A
#define FR_Z KC_W // Z
#define FR_E KC_E // E
#define FR_R KC_R // R
#define FR_T KC_T // T
#define FR_Y KC_Y // Y
#define FR_U KC_U // U
#define FR_I KC_I // I
#define FR_O KC_O // O
#define FR_P KC_P // P
#define FR_CIRC KC_LBRC // ^ (dead)
#define FR_DLR KC_RBRC // $
// Row 3
#define FR_Q KC_A // Q
#define FR_S KC_S // S
#define FR_D KC_D // D
#define FR_F KC_F // F
#define FR_G KC_G // G
#define FR_H KC_H // H
#define FR_J KC_J // J
#define FR_K KC_K // K
#define FR_L KC_L // L
#define FR_M KC_SCLN // M
#define FR_UGRV KC_QUOT // ù
#define FR_ASTR KC_NUHS // *
// Row 4
#define FR_LABK KC_NUBS // <
#define FR_W KC_Z // W
#define FR_X KC_X // X
#define FR_C KC_C // C
#define FR_V KC_V // V
#define FR_B KC_B // B
#define FR_N KC_N // N
#define FR_COMM KC_M // ,
#define FR_SCLN KC_COMM // ;
#define FR_COLN KC_DOT // :
#define FR_EXLM KC_SLSH // !
2015-10-25 17:50:46 +01:00
/* Shifted symbols
*
2021-07-01 08:41:51 +02:00
* 1 2 3 4 5 6 7 8 9 0 ° +
*
2021-07-01 08:41:51 +02:00
* ¨ £
*
* % µ
*
2021-07-01 08:41:51 +02:00
* > ? . / §
*
2021-07-01 08:41:51 +02:00
*
*
*/
// Row 1
#define FR_1 S(FR_AMPR) // 1
#define FR_2 S(FR_EACU) // 2
#define FR_3 S(FR_DQUO) // 3
#define FR_4 S(FR_QUOT) // 4
#define FR_5 S(FR_LPRN) // 5
#define FR_6 S(FR_MINS) // 6
#define FR_7 S(FR_EGRV) // 7
#define FR_8 S(FR_UNDS) // 8
#define FR_9 S(FR_CCED) // 9
#define FR_0 S(FR_AGRV) // 0
#define FR_DEG S(FR_RPRN) // °
#define FR_PLUS S(FR_EQL) // +
// Row 2
#define FR_DIAE S(FR_CIRC) // ¨ (dead)
#define FR_PND S(FR_DLR) // £
// Row 3
#define FR_PERC S(FR_UGRV) // %
#define FR_MICR S(FR_ASTR) // µ
// Row 4
#define FR_RABK S(FR_LABK) // >
#define FR_QUES S(FR_COMM) // ?
#define FR_DOT S(FR_SCLN) // .
#define FR_SLSH S(FR_COLN) // /
#define FR_SECT S(FR_EXLM) // §
2015-10-25 17:50:46 +01:00
/* AltGr symbols
*
2021-07-01 08:41:51 +02:00
* ~ # { [ | ` \ @ ] }
*
2021-07-01 08:41:51 +02:00
* ¤
*
*
*
2021-07-01 08:41:51 +02:00
*
*
2021-07-01 08:41:51 +02:00
*
*
*/
// Row 1
#define FR_TILD ALGR(FR_EACU) // ~ (dead)
#define FR_HASH ALGR(FR_DQUO) // #
#define FR_LCBR ALGR(FR_QUOT) // {
#define FR_LBRC ALGR(FR_LPRN) // [
#define FR_PIPE ALGR(FR_MINS) // |
#define FR_GRV ALGR(FR_EGRV) // ` (dead)
#define FR_BSLS ALGR(FR_UNDS) // (backslash)
#define FR_AT ALGR(FR_AGRV) // @
#define FR_RBRC ALGR(FR_RPRN) // ]
#define FR_RCBR ALGR(FR_EQL) // }
// Row 2
#define FR_EURO ALGR(KC_E) // €
#define FR_CURR ALGR(FR_DLR) // ¤