Skip to content

Commit

Permalink
Rename keymap_extras headers for consistency (#16939)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored May 15, 2022
1 parent f090881 commit 4a8bd7b
Show file tree
Hide file tree
Showing 131 changed files with 151 additions and 151 deletions.
50 changes: 25 additions & 25 deletions docs/reference_keymap_extras.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,29 +36,29 @@ These headers are located in [`quantum/keymap_extras/`](https://github.com/qmk/q
|French (AFNOR) |`keymap_french_afnor.h` |`sendstring_french_afnor.h` |
|French (BÉPO) |`keymap_bepo.h` |`sendstring_bepo.h` |
|French (Belgium) |`keymap_belgian.h` |`sendstring_belgian.h` |
|French (Switzerland) |`keymap_fr_ch.h` |`sendstring_fr_ch.h` |
|French (macOS, ISO) |`keymap_french_osx.h` |`sendstring_french_osx.h` |
|French (Switzerland) |`keymap_swiss_fr.h` |`sendstring_swiss_fr.h` |
|French (macOS, ISO) |`keymap_french_mac_iso.h` |`sendstring_french_mac_iso.h` |
|German |`keymap_german.h` |`sendstring_german.h` |
|German (Switzerland) |`keymap_german_ch.h` |`sendstring_german_ch.h` |
|German (macOS) |`keymap_german_osx.h` |`sendstring_german_osx.h` |
|German (Switzerland) |`keymap_swiss_de.h` |`sendstring_swiss_de.h` |
|German (macOS) |`keymap_german_mac_iso.h` |`sendstring_german_mac_iso.h` |
|German (Neo2) |`keymap_neo2.h` | |
|Greek |`keymap_greek.h` | |
|Hebrew |`keymap_hebrew.h` | |
|Hungarian |`keymap_hungarian.h` |`sendstring_hungarian.h` |
|Icelandic |`keymap_icelandic.h` |`sendstring_icelandic.h` |
|Italian |`keymap_italian.h` |`sendstring_italian.h` |
|Italian (macOS, ANSI) |`keymap_italian_osx_ansi.h` |`sendstring_italian_osx_ansi.h` |
|Italian (macOS, ISO) |`keymap_italian_osx_iso.h` |`sendstring_italian_osx_iso.h` |
|Japanese |`keymap_jp.h` |`sendstring_jis.h` |
|Italian (macOS, ANSI) |`keymap_italian_mac_ansi.h` |`sendstring_italian_mac_ansi.h` |
|Italian (macOS, ISO) |`keymap_italian_mac_iso.h` |`sendstring_italian_mac_iso.h` |
|Japanese |`keymap_japanese.h` |`sendstring_japanese.h` |
|Korean |`keymap_korean.h` | |
|Latvian |`keymap_latvian.h` |`sendstring_latvian.h` |
|Lithuanian (ĄŽERTY) |`keymap_lithuanian_azerty.h` |`sendstring_lithuanian_azerty.h` |
|Lithuanian (QWERTY) |`keymap_lithuanian_qwerty.h` |`sendstring_lithuanian_qwerty.h` |
|Norwegian |`keymap_norwegian.h` |`sendstring_norwegian.h` |
|Polish |`keymap_polish.h` | |
|Portuguese |`keymap_portuguese.h` |`sendstring_portuguese.h` |
|Portuguese (macOS, ISO) |`keymap_portuguese_osx_iso.h` |`sendstring_portuguese_osx_iso.h` |
|Portuguese (Brazil) |`keymap_br_abnt2.h` |`sendstring_br_abnt2.h` |
|Portuguese (macOS, ISO) |`keymap_portuguese_mac_iso.h` |`sendstring_portuguese_mac_iso.h` |
|Portuguese (Brazil) |`keymap_brazilian_abnt2.h` |`sendstring_brazilian_abnt2.h` |
|Romanian |`keymap_romanian.h` |`sendstring_romanian.h` |
|Russian |`keymap_russian.h` | |
|Serbian |`keymap_serbian.h` | |
Expand All @@ -68,25 +68,25 @@ These headers are located in [`quantum/keymap_extras/`](https://github.com/qmk/q
|Spanish |`keymap_spanish.h` |`sendstring_spanish.h` |
|Spanish (Dvorak) |`keymap_spanish_dvorak.h` |`sendstring_spanish_dvorak.h` |
|Swedish |`keymap_swedish.h` |`sendstring_swedish.h` |
|Swedish (macOS, ANSI) |`keymap_swedish_osx_ansi.h` | |
|Swedish (macOS, ISO) |`keymap_swedish_osx_iso.h` | |
|Swedish Pro (macOS, ANSI) |`keymap_swedish_pro_osx_ansi.h` | |
|Swedish Pro (macOS, ISO) |`keymap_swedish_pro_osx_iso.h` | |
|Swedish (macOS, ANSI) |`keymap_swedish_mac_ansi.h` | |
|Swedish (macOS, ISO) |`keymap_swedish_mac_iso.h` | |
|Swedish Pro (macOS, ANSI) |`keymap_swedish_pro_mac_ansi.h` | |
|Swedish Pro (macOS, ISO) |`keymap_swedish_pro_mac_iso.h` | |
|Turkish (F) |`keymap_turkish_f.h` |`sendstring_turkish_f.h` |
|Turkish (Q) |`keymap_turkish_q.h` |`sendstring_turkish_q.h` |
|Ukrainian |`keymap_ukrainian.h` | |

There are also a few which are not quite language-specific, but useful if you are not using a QWERTY layout:

|Layout |Keycodes Header |Sendstring LUT Header |
|-------------------|------------------------|----------------------------|
|Colemak |`keymap_colemak.h` |`sendstring_colemak.h` |
|Dvorak |`keymap_dvorak.h` |`sendstring_dvorak.h` |
|Dvorak (French) |`keymap_dvorak_fr.h` |`sendstring_dvorak_fr.h` |
|Dvorak (Programmer)|`keymap_dvp.h` |`sendstring_dvp.h` |
|Norman |`keymap_norman.h` |`sendstring_norman.h` |
|Plover |`keymap_plover.h` | |
|Plover (Dvorak) |`keymap_plover_dvorak.h`| |
|Steno |`keymap_steno.h` | |
|Workman |`keymap_workman.h` |`sendstring_workman.h` |
|Workman (ZXCVM) |`keymap_workman_zxcvm.h`|`sendstring_workman_zxcvm.h`|
|Layout |Keycodes Header |Sendstring LUT Header |
|-------------------|----------------------------|--------------------------------|
|Colemak |`keymap_colemak.h` |`sendstring_colemak.h` |
|Dvorak |`keymap_dvorak.h` |`sendstring_dvorak.h` |
|Dvorak (French) |`keymap_dvorak_fr.h` |`sendstring_dvorak_fr.h` |
|Dvorak (Programmer)|`keymap_dvorak_programmer.h`|`sendstring_dvorak_programmer.h`|
|Norman |`keymap_norman.h` |`sendstring_norman.h` |
|Plover |`keymap_plover.h` | |
|Plover (Dvorak) |`keymap_plover_dvorak.h` | |
|Steno |`keymap_steno.h` | |
|Workman |`keymap_workman.h` |`sendstring_workman.h` |
|Workman (ZXCVM) |`keymap_workman_zxcvm.h` |`sendstring_workman_zxcvm.h` |
2 changes: 1 addition & 1 deletion keyboards/ai03/jp60/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
#include "keymap_jp.h"
#include "keymap_japanese.h"

// Defines names for use in layer keycodes and the keymap
enum layer_names {
Expand Down
2 changes: 1 addition & 1 deletion keyboards/ai03/jp60/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
#include "keymap_jp.h"
#include "keymap_japanese.h"

// Defines names for use in layer keycodes and the keymap
enum layer_names {
Expand Down
2 changes: 1 addition & 1 deletion keyboards/aozora/keymaps/default_all/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

#include QMK_KEYBOARD_H
#include "sendstring_jis.h" // macro sendstring for jis keyboard マクロ文字列送信時に日本語キーボード設定での文字化け回避
#include "sendstring_japanese.h" // macro sendstring for jis keyboard マクロ文字列送信時に日本語キーボード設定での文字化け回避

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_all(
Expand Down
2 changes: 1 addition & 1 deletion keyboards/aozora/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

#include QMK_KEYBOARD_H
#include "sendstring_jis.h" // macro sendstring for jis keyboard マクロ文字列送信時に日本語キーボード設定での文字化け回避
#include "sendstring_japanese.h" // macro sendstring for jis keyboard マクロ文字列送信時に日本語キーボード設定での文字化け回避

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_all(
Expand Down
2 changes: 1 addition & 1 deletion keyboards/barracuda/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

#include QMK_KEYBOARD_H
#include "keymap_jp.h"
#include "keymap_japanese.h"

/* keymap layers */
enum _layers {
Expand Down
2 changes: 1 addition & 1 deletion keyboards/barracuda/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

#include QMK_KEYBOARD_H
#include "keymap_jp.h"
#include "keymap_japanese.h"

/* keymap layers */
enum _layers {
Expand Down
2 changes: 1 addition & 1 deletion keyboards/basekeys/slice/rev1/keymaps/2moons/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
#include "keymap_jp.h"
#include "keymap_japanese.h"

#ifdef RGBLIGHT_ENABLE
//Following line allows macro to read current RGB settings
Expand Down
2 changes: 1 addition & 1 deletion keyboards/basekeys/slice/rev1/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
#include "keymap_jp.h"
#include "keymap_japanese.h"
// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
// Layer names don't all need to be of the same length, obviously, and you can also skip them
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
#include "keymap_jp.h"
#include "keymap_japanese.h"
#include "split_util.h"
// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
Expand Down
4 changes: 2 additions & 2 deletions keyboards/biacco42/ergo42/keymaps/biacco-winjp/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// hdbx から2行コピーさせて頂きました。

#include QMK_KEYBOARD_H
#include "keymap_jp.h" // qmk_firmware-master/quantum/keymap_extras/keymap_jp.h 日本語キーボード設定用
#include "keymap_japanese.h" // qmk_firmware-master/quantum/keymap_extras/keymap_japanese.h 日本語キーボード設定用
// マクロが必要になったらコメントインすること
// #include <sendstring_jis.h> // macro sendstring for jis keyboard マクロ文字列送信時に日本語キーボード設定での文字化け回避>
// #include "sendstring_japanese.h" // macro sendstring for jis keyboard マクロ文字列送信時に日本語キーボード設定での文字化け回避>

extern keymap_config_t keymap_config;

Expand Down
4 changes: 2 additions & 2 deletions keyboards/biacco42/ergo42/keymaps/hdbx/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// @leopard_gecko さんがPlanck用に作成されたキーマップをかなり参考にしています。

#include QMK_KEYBOARD_H
#include "keymap_jp.h" // qmk_firmware-master/quantum/keymap_extras/keymap_jp.h 日本語キーボード設定用
#include <sendstring_jis.h> // macro sendstring for jis keyboard マクロ文字列送信時に日本語キーボード設定での文字化け回避
#include "keymap_japanese.h" // qmk_firmware-master/quantum/keymap_extras/keymap_japanese.h 日本語キーボード設定用
#include "sendstring_japanese.h" // macro sendstring for jis keyboard マクロ文字列送信時に日本語キーボード設定での文字化け回避

extern keymap_config_t keymap_config;

Expand Down
2 changes: 1 addition & 1 deletion keyboards/biacco42/ergo42/keymaps/koba/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

#include QMK_KEYBOARD_H
#include "keymap_jp.h"
#include "keymap_japanese.h"

enum {
_WIN,
Expand Down
2 changes: 1 addition & 1 deletion keyboards/buzzard/keymaps/crehmann/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H
#include "keymap_german_ch.h"
#include "keymap_swiss_de.h"
#include "features/haptic_utils.h"

#ifdef PS2_MOUSE_ENABLE
Expand Down
2 changes: 1 addition & 1 deletion keyboards/crkbd/keymaps/vayashiko/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include QMK_KEYBOARD_H
#include "keymap_jp.h"
#include "keymap_japanese.h"

enum custom_layers {
_QWERTY,
Expand Down
2 changes: 1 addition & 1 deletion keyboards/dz60/keymaps/default_abnt2/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

#include QMK_KEYBOARD_H
#include "keymap_br_abnt2.h"
#include "keymap_brazilian_abnt2.h"

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* _______ can be used in place of KC_TRNS (transparent) *
Expand Down
6 changes: 3 additions & 3 deletions keyboards/ergodox_ez/keymaps/nathanvercaemert/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
#include "keymap_spanish.h"
#include "keymap_hungarian.h"
#include "keymap_swedish.h"
#include "keymap_br_abnt2.h"
#include "keymap_brazilian_abnt2.h"
#include "keymap_canadian_multilingual.h"
#include "keymap_german_ch.h"
#include "keymap_jp.h"
#include "keymap_swiss_de.h"
#include "keymap_japanese.h"
#include "keymap_bepo.h"

#define KC_MAC_UNDO LGUI(KC_Z)
Expand Down
2 changes: 1 addition & 1 deletion keyboards/gh60/revc/keymaps/default_abnt2/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


#include QMK_KEYBOARD_H
#include "keymap_br_abnt2.h"
#include "keymap_brazilian_abnt2.h"

enum layer_names {
_BL,
Expand Down
2 changes: 1 addition & 1 deletion keyboards/gl516/a52gl/keymaps/salicylic/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include QMK_KEYBOARD_H
#include "keymap_jp.h"
#include "keymap_japanese.h"
// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
// Layer names don't all need to be of the same length, obviously, and you can also skip them
Expand Down
2 changes: 1 addition & 1 deletion keyboards/gl516/j73gl/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include QMK_KEYBOARD_H
#include "keymap_jp.h"
#include "keymap_japanese.h"
// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
// Layer names don't all need to be of the same length, obviously, and you can also skip them
Expand Down
2 changes: 1 addition & 1 deletion keyboards/gl516/j73gl/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include QMK_KEYBOARD_H
#include "keymap_jp.h"
#include "keymap_japanese.h"

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
Expand Down
2 changes: 1 addition & 1 deletion keyboards/gl516/j73gl/keymaps/via_rgb_matrix/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include QMK_KEYBOARD_H
#include "keymap_jp.h"
#include "keymap_japanese.h"

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
Expand Down
2 changes: 1 addition & 1 deletion keyboards/gl516/n51gl/keymaps/salicylic/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include QMK_KEYBOARD_H
#include "keymap_jp.h"
#include "keymap_japanese.h"


// Each layer gets a name for readability, which is then used in the keymap matrix below.
Expand Down
2 changes: 1 addition & 1 deletion keyboards/halfcliff/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
#include "keymap_jp.h"
#include "keymap_japanese.h"

// Defines names for use in layer keycodes and the keymap
enum layer_names {
Expand Down
2 changes: 1 addition & 1 deletion keyboards/halfcliff/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
#include "keymap_jp.h"
#include "keymap_japanese.h"

#define RAISE FN_MO13
#define LOWER FN_MO23
Expand Down
2 changes: 1 addition & 1 deletion keyboards/handwired/baredev/rev1/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
#include QMK_KEYBOARD_H

#include "keymap_br_abnt2.h"
#include "keymap_brazilian_abnt2.h"

enum {
LAYER_BASE,
Expand Down
4 changes: 2 additions & 2 deletions keyboards/handwired/baredev/rev1/keymaps/manoshu/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
*/
#include QMK_KEYBOARD_H

#include "keymap_br_abnt2.h"
#include "sendstring_br_abnt2.h"
#include "keymap_brazilian_abnt2.h"
#include "sendstring_brazilian_abnt2.h"

enum {
LAYER_BASE,
Expand Down
2 changes: 1 addition & 1 deletion keyboards/handwired/baredev/rev1/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
#include QMK_KEYBOARD_H

#include "keymap_br_abnt2.h"
#include "keymap_brazilian_abnt2.h"

enum {
LAYER_BASE,
Expand Down
2 changes: 1 addition & 1 deletion keyboards/helix/rev2/keymaps/five_rows_jis/keymap.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include QMK_KEYBOARD_H
#include "keymap_jp.h"
#include "keymap_japanese.h"
#include <stdio.h>
#include <string.h>
#ifdef SSD1306OLED
Expand Down
2 changes: 1 addition & 1 deletion keyboards/helix/rev2/keymaps/froggy_106/keymap.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include QMK_KEYBOARD_H
#include "keymap_jp.h"
#include "keymap_japanese.h"
#include <string.h>
#ifdef SSD1306OLED
#include "ssd1306.h"
Expand Down
2 changes: 1 addition & 1 deletion keyboards/hhkb/ansi/keymaps/shela/keymap_jis2us.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#pragma once

#include "keymap_jp.h"
#include "keymap_japanese.h"

// clang-format off
/* Keymap for converting JIS to US */
Expand Down
2 changes: 1 addition & 1 deletion keyboards/jones/v03/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
#include "keymap_jp.h"
#include "keymap_japanese.h"

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_all(
Expand Down
2 changes: 1 addition & 1 deletion keyboards/jones/v03/keymaps/default_jp/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
#include "keymap_jp.h"
#include "keymap_japanese.h"

// Defines names for use in layer keycodes and the keymap
enum layer_number {
Expand Down
2 changes: 1 addition & 1 deletion keyboards/jones/v03_1/keymaps/default_jp/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
#include "keymap_jp.h"
#include "keymap_japanese.h"

// Defines names for use in layer keycodes and the keymap
enum layer_number {
Expand Down
2 changes: 1 addition & 1 deletion keyboards/jones/v1/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
#include "keymap_jp.h"
#include "keymap_japanese.h"

// Defines names for use in layer keycodes and the keymap
enum layer_number {
Expand Down
Loading

0 comments on commit 4a8bd7b

Please sign in to comment.