diff options
author | Arda Kılıçdağı <ardakilicdagi@gmail.com> | 2017-12-19 17:24:39 +0300 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-12-19 09:24:39 -0500 |
commit | b8f08d936d25ff081cfdd5dfbf8ed156dca2bba8 (patch) | |
tree | f5b936536433c8c64710c142edfa2b56a4e30388 | |
parent | dd3724537307a1ecfcf9f14ada484ce38f6d9e4f (diff) | |
download | qmk_firmware-b8f08d936d25ff081cfdd5dfbf8ed156dca2bba8.tar.gz qmk_firmware-b8f08d936d25ff081cfdd5dfbf8ed156dca2bba8.zip |
Added Ardakilic keymap for Tada68 (#2174)
* Added Ardakilic keymap
more key fixes
* power key instead of eject
-rwxr-xr-x | keyboards/tada68/keymaps/ardakilic/keymap.c | 57 | ||||
-rwxr-xr-x | keyboards/tada68/keymaps/ardakilic/readme.md | 15 | ||||
-rw-r--r-- | keyboards/tada68/keymaps/ardakilic/rules.mk | 21 |
3 files changed, 93 insertions, 0 deletions
diff --git a/keyboards/tada68/keymaps/ardakilic/keymap.c b/keyboards/tada68/keymaps/ardakilic/keymap.c new file mode 100755 index 000000000..8e23aeccf --- /dev/null +++ b/keyboards/tada68/keymaps/ardakilic/keymap.c | |||
@@ -0,0 +1,57 @@ | |||
1 | #include "tada68.h" | ||
2 | |||
3 | //KC_NONUS_BSLASH (\|) is equivalent to ["é] key in Turkish keyboards. | ||
4 | //KC_GRV (~ `) is equivalent to [<>|] key in Turkish keyboards. | ||
5 | //I've put grave to bottom, and nonUS backslash to top to make it more similar to Turkish layout. ["é] key is more above than [<>|] key. | ||
6 | //Default top right button was KC_GRV (~ `) (Grave key) even if it looks like Tilde key. | ||
7 | |||
8 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | ||
9 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. | ||
10 | // Layer names don't all need to be of the same length, obviously, and you can also skip them | ||
11 | // entirely and just use numbers. | ||
12 | #define _BL 0 | ||
13 | #define _FL 1 | ||
14 | |||
15 | #define _______ KC_TRNS | ||
16 | |||
17 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
18 | /* Keymap _BL: (Base Layer) Default Layer | ||
19 | * ,----------------------------------------------------------------. | ||
20 | * |Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |PWR | | ||
21 | * |----------------------------------------------------------------| | ||
22 | * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ |Del | | ||
23 | * |----------------------------------------------------------------| | ||
24 | * |CAPS | A| S| D| F| G| H| J| K| L| ;| '|Return |\ | | | ||
25 | * |----------------------------------------------------------------| | ||
26 | * |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift | Up|~ ` | | ||
27 | * |----------------------------------------------------------------| | ||
28 | * |Ctrl|Alt |CMD | Space |CMD |FN |Alt|Lef|Dow|Rig | | ||
29 | * `----------------------------------------------------------------' | ||
30 | */ | ||
31 | [_BL] = KEYMAP_ANSI( | ||
32 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,KC_POWER, \ | ||
33 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC,KC_BSLS,KC_DEL, \ | ||
34 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN,KC_QUOT, KC_ENT,KC_NONUS_BSLASH, \ | ||
35 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT,KC_UP,KC_GRV, \ | ||
36 | KC_LCTL, KC_LALT,KC_LGUI, KC_SPC, KC_RGUI,MO(_FL),KC_RALT, KC_LEFT,KC_DOWN,KC_RGHT), | ||
37 | |||
38 | /* Keymap _FL: Function Layer | ||
39 | * ,----------------------------------------------------------------. | ||
40 | * | | F1|F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|Del |Ins | | ||
41 | * |----------------------------------------------------------------| | ||
42 | * | | | | | | | | | | | | | | |Hme | | ||
43 | * |----------------------------------------------------------------| | ||
44 | * | | | | | | | | PP|PLA|PN | | | |End | | ||
45 | * |----------------------------------------------------------------| | ||
46 | * | | | |Bl-|BL |BL+| |MUT|VU-|VU+| | | | | | ||
47 | * |----------------------------------------------------------------| | ||
48 | * | | | | | | | | | | | | ||
49 | * `----------------------------------------------------------------' | ||
50 | */ | ||
51 | [_FL] = KEYMAP_ANSI( | ||
52 | _______, KC_F1 ,KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_INS , \ | ||
53 | _______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______,_______,_______, _______,KC_HOME, \ | ||
54 | _______,_______,_______,_______,_______,_______,_______,KC_MPRV,KC_MPLY,KC_MNXT,_______,_______, _______,KC_END, \ | ||
55 | _______,_______,_______,BL_DEC, BL_TOGG,BL_INC, _______,KC_MUTE,KC_VOLD,KC_VOLU,_______,_______,_______,_______, \ | ||
56 | _______,_______,_______, _______, _______,_______,_______,_______,_______,_______), | ||
57 | }; | ||
diff --git a/keyboards/tada68/keymaps/ardakilic/readme.md b/keyboards/tada68/keymaps/ardakilic/readme.md new file mode 100755 index 000000000..f81c400ce --- /dev/null +++ b/keyboards/tada68/keymaps/ardakilic/readme.md | |||
@@ -0,0 +1,15 @@ | |||
1 | # Ardakilic's TADA68 layout | ||
2 | |||
3 | This layout aims to use Ansi keyboard for my needs in ease, especially to work on macOS, and to have a layout more similar to Apple keyboards. | ||
4 | |||
5 | This layout aims to have a similar layout to Apple keyboards while using ISO layouts with the ANSI keymap. The layout is directly considered using Turkish Qwerty keyboards. | ||
6 | |||
7 | The changes that were applied over default layout: | ||
8 | |||
9 | * Make Win/cmd keys right next to space bar just like Apple keyboards. | ||
10 | * Adding a power (`KC_POWER`) key, so the lock screen shortcut works. | ||
11 | * Re-use the page up and page down keys to make ["é] (`KC_NONUS_BSLASH`) and [<>|] (`KC_GRAVE`) keys more accessible. | ||
12 | * Optimize the function layer, by removing the mouse movement combinations and adding additional media keys. | ||
13 | * Swap the positions of volume up and volume down and mute buttons on function layer, so these keys are actually with the same order as Apple keyboard layout. | ||
14 | |||
15 | I'm re-purposing page up and page down keys in this layout, because in macOS alt/option + arrow keys, in Windows and Linux, space bar/shift spacebar combinations already cover their work, and is more accessible if you'd ask me. | ||
diff --git a/keyboards/tada68/keymaps/ardakilic/rules.mk b/keyboards/tada68/keymaps/ardakilic/rules.mk new file mode 100644 index 000000000..2a7ff2779 --- /dev/null +++ b/keyboards/tada68/keymaps/ardakilic/rules.mk | |||
@@ -0,0 +1,21 @@ | |||
1 | # Build Options | ||
2 | # change to "no" to disable the options, or define them in the Makefile in | ||
3 | # the appropriate keymap folder that will get included automatically | ||
4 | # | ||
5 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
6 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
7 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
8 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
9 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
10 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
11 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
12 | MIDI_ENABLE = no # MIDI controls | ||
13 | AUDIO_ENABLE = no # Audio output on port C6 | ||
14 | UNICODE_ENABLE = no # Unicode | ||
15 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
16 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | ||
17 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
18 | |||
19 | ifndef QUANTUM_DIR | ||
20 | include ../../../../Makefile | ||
21 | endif | ||