diff options
| author | tw1t611 <daniel.schindler93@gmail.com> | 2019-02-20 17:33:53 +0100 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-02-20 08:33:53 -0800 |
| commit | b6e1e6aeeb2e2affce36a302ae0e14c07c8772c8 (patch) | |
| tree | ff4413720b82b95f96f1b7e609e19bf7c3ebd8c4 | |
| parent | 67495ae24a98a2d7965ba5dda9b1d133caf606ca (diff) | |
| download | qmk_firmware-b6e1e6aeeb2e2affce36a302ae0e14c07c8772c8.tar.gz qmk_firmware-b6e1e6aeeb2e2affce36a302ae0e14c07c8772c8.zip | |
[Keymap] Add kinesis layout. (#5183)
* Add kinesis layout.
* Remove unneeded code.
| -rw-r--r-- | keyboards/kinesis/keymaps/tw1t611/config.h | 3 | ||||
| -rw-r--r-- | keyboards/kinesis/keymaps/tw1t611/keymap.c | 64 | ||||
| -rw-r--r-- | keyboards/kinesis/keymaps/tw1t611/readme.md | 1 | ||||
| -rw-r--r-- | keyboards/kinesis/keymaps/tw1t611/rules.mk | 18 |
4 files changed, 86 insertions, 0 deletions
diff --git a/keyboards/kinesis/keymaps/tw1t611/config.h b/keyboards/kinesis/keymaps/tw1t611/config.h new file mode 100644 index 000000000..271f48d00 --- /dev/null +++ b/keyboards/kinesis/keymaps/tw1t611/config.h | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | // place overrides here | ||
diff --git a/keyboards/kinesis/keymaps/tw1t611/keymap.c b/keyboards/kinesis/keymaps/tw1t611/keymap.c new file mode 100644 index 000000000..ceb9d5e7d --- /dev/null +++ b/keyboards/kinesis/keymaps/tw1t611/keymap.c | |||
| @@ -0,0 +1,64 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | #include "keymap_german.h" | ||
| 3 | |||
| 4 | #define QWERTZ 0 | ||
| 5 | #define MOD 1 | ||
| 6 | |||
| 7 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 8 | [QWERTZ] = LAYOUT( | ||
| 9 | _______,KC_F1 ,KC_F2 ,KC_F3 ,KC_F4 ,KC_F5 ,KC_F6 ,KC_F7 ,KC_F8, | ||
| 10 | _______,KC_1 ,KC_2 ,KC_3 ,KC_4 ,KC_5 , | ||
| 11 | KC_TAB ,KC_Q ,KC_W ,KC_E ,KC_R ,KC_T , | ||
| 12 | KC_ESC ,KC_A ,KC_S ,KC_D ,KC_F ,KC_G , | ||
| 13 | DE_HASH,KC_Z ,KC_X ,KC_C ,KC_V ,KC_B , | ||
| 14 | DE_TILD,DE_PIPE,DE_BSLS,DE_GRV, | ||
| 15 | KC_RCTL,KC_LALT, | ||
| 16 | KC_HOME, | ||
| 17 | KC_LSFT,MO(MOD),KC_BSPC , | ||
| 18 | KC_F9 ,KC_F10 ,KC_F11 ,KC_F12 ,KC_PSCR,KC_SLCK,KC_PAUS,KC_FN0 ,RESET, | ||
| 19 | KC_6 ,KC_7 ,KC_8 ,KC_9 ,KC_0 ,KC_AUDIO_MUTE, | ||
| 20 | KC_Y ,KC_U ,KC_I ,KC_O ,KC_P ,DE_EQL , | ||
| 21 | KC_H ,KC_J ,KC_K ,KC_L ,DE_SLSH,DE_QUOT, | ||
| 22 | KC_N ,KC_M ,DE_COMM,DE_DOT ,DE_MINS,DE_PLUS, | ||
| 23 | DE_AE ,DE_OE, DE_UE, DE_SS, | ||
| 24 | KC_LGUI,KC_LCTL, | ||
| 25 | KC_END , | ||
| 26 | KC_DEL,KC_ENTER ,KC_SPC | ||
| 27 | ), | ||
| 28 | [MOD] = LAYOUT( | ||
| 29 | _______,_______,_______,_______,_______,_______,_______,_______,_______, | ||
| 30 | _______,_______,_______,_______,_______,_______, | ||
| 31 | _______,DE_AT ,DE_EURO,DE_LBRC,DE_RBRC,_______, | ||
| 32 | _______,DE_EXLM,DE_DLR ,DE_LPRN,DE_RPRN,_______, | ||
| 33 | _______,DE_CIRC,DE_AMPR,DE_LCBR,DE_RCBR,_______, | ||
| 34 | _______,_______,DE_LESS,DE_MORE, | ||
| 35 | _______,_______, | ||
| 36 | _______, | ||
| 37 | _______,_______,_______, | ||
| 38 | _______,_______,_______,_______,_______,_______,_______,_______,_______, | ||
| 39 | _______,_______,_______,_______,_______,_______, | ||
| 40 | _______,KC_PGDOWN,KC_PGUP,_______,_______,DE_PERC, | ||
| 41 | KC_LEFT,KC_DOWN,KC_UP ,KC_RGHT,DE_QST ,DE_DQOT, | ||
| 42 | _______,_______,DE_SCLN,DE_COLN,DE_UNDS,DE_ASTR, | ||
| 43 | _______,_______,_______,_______, | ||
| 44 | _______,_______, | ||
| 45 | _______, | ||
| 46 | _______,_______ ,_______ | ||
| 47 | ) | ||
| 48 | }; | ||
| 49 | |||
| 50 | void matrix_init_user(void) { | ||
| 51 | |||
| 52 | } | ||
| 53 | |||
| 54 | void matrix_scan_user(void) { | ||
| 55 | |||
| 56 | } | ||
| 57 | |||
| 58 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
| 59 | return true; | ||
| 60 | } | ||
| 61 | |||
| 62 | void led_set_user(uint8_t usb_led) { | ||
| 63 | |||
| 64 | } | ||
diff --git a/keyboards/kinesis/keymaps/tw1t611/readme.md b/keyboards/kinesis/keymaps/tw1t611/readme.md new file mode 100644 index 000000000..da033be1e --- /dev/null +++ b/keyboards/kinesis/keymaps/tw1t611/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The default keymap for kinesis-advantage | |||
diff --git a/keyboards/kinesis/keymaps/tw1t611/rules.mk b/keyboards/kinesis/keymaps/tw1t611/rules.mk new file mode 100644 index 000000000..7a331cd53 --- /dev/null +++ b/keyboards/kinesis/keymaps/tw1t611/rules.mk | |||
| @@ -0,0 +1,18 @@ | |||
| 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 = no # 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. | ||
| 17 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 18 | |||
