]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
[Keymap] Add kinesis layout. (#5183)
authortw1t611 <daniel.schindler93@gmail.com>
Wed, 20 Feb 2019 16:33:53 +0000 (17:33 +0100)
committerDrashna Jaelre <drashna@live.com>
Wed, 20 Feb 2019 16:33:53 +0000 (08:33 -0800)
* Add kinesis layout.

* Remove unneeded code.

keyboards/kinesis/keymaps/tw1t611/config.h [new file with mode: 0644]
keyboards/kinesis/keymaps/tw1t611/keymap.c [new file with mode: 0644]
keyboards/kinesis/keymaps/tw1t611/readme.md [new file with mode: 0644]
keyboards/kinesis/keymaps/tw1t611/rules.mk [new file with mode: 0644]

diff --git a/keyboards/kinesis/keymaps/tw1t611/config.h b/keyboards/kinesis/keymaps/tw1t611/config.h
new file mode 100644 (file)
index 0000000..271f48d
--- /dev/null
@@ -0,0 +1,3 @@
+#pragma once
+
+// place overrides here
diff --git a/keyboards/kinesis/keymaps/tw1t611/keymap.c b/keyboards/kinesis/keymaps/tw1t611/keymap.c
new file mode 100644 (file)
index 0000000..ceb9d5e
--- /dev/null
@@ -0,0 +1,64 @@
+#include QMK_KEYBOARD_H
+#include "keymap_german.h"
+
+#define QWERTZ 0
+#define MOD 1
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+[QWERTZ] = LAYOUT(
+           _______,KC_F1  ,KC_F2  ,KC_F3  ,KC_F4  ,KC_F5  ,KC_F6  ,KC_F7  ,KC_F8,
+           _______,KC_1   ,KC_2   ,KC_3   ,KC_4   ,KC_5   ,
+           KC_TAB ,KC_Q   ,KC_W   ,KC_E   ,KC_R   ,KC_T   ,
+           KC_ESC ,KC_A   ,KC_S   ,KC_D   ,KC_F   ,KC_G   ,
+           DE_HASH,KC_Z   ,KC_X   ,KC_C   ,KC_V   ,KC_B   ,
+           DE_TILD,DE_PIPE,DE_BSLS,DE_GRV,
+                   KC_RCTL,KC_LALT,
+                   KC_HOME,
+                   KC_LSFT,MO(MOD),KC_BSPC ,
+           KC_F9  ,KC_F10 ,KC_F11 ,KC_F12 ,KC_PSCR,KC_SLCK,KC_PAUS,KC_FN0 ,RESET,
+           KC_6   ,KC_7   ,KC_8   ,KC_9   ,KC_0   ,KC_AUDIO_MUTE,
+           KC_Y   ,KC_U   ,KC_I   ,KC_O   ,KC_P   ,DE_EQL ,
+           KC_H   ,KC_J   ,KC_K   ,KC_L   ,DE_SLSH,DE_QUOT,
+           KC_N   ,KC_M   ,DE_COMM,DE_DOT ,DE_MINS,DE_PLUS,
+           DE_AE  ,DE_OE, DE_UE, DE_SS,
+                   KC_LGUI,KC_LCTL,
+                   KC_END ,
+                   KC_DEL,KC_ENTER ,KC_SPC
+    ),
+[MOD] = LAYOUT(
+           _______,_______,_______,_______,_______,_______,_______,_______,_______,
+           _______,_______,_______,_______,_______,_______,
+           _______,DE_AT  ,DE_EURO,DE_LBRC,DE_RBRC,_______,
+           _______,DE_EXLM,DE_DLR ,DE_LPRN,DE_RPRN,_______,
+           _______,DE_CIRC,DE_AMPR,DE_LCBR,DE_RCBR,_______,
+           _______,_______,DE_LESS,DE_MORE,
+                   _______,_______,
+                   _______,
+                   _______,_______,_______,
+           _______,_______,_______,_______,_______,_______,_______,_______,_______,
+           _______,_______,_______,_______,_______,_______,
+           _______,KC_PGDOWN,KC_PGUP,_______,_______,DE_PERC,
+           KC_LEFT,KC_DOWN,KC_UP  ,KC_RGHT,DE_QST ,DE_DQOT,
+           _______,_______,DE_SCLN,DE_COLN,DE_UNDS,DE_ASTR,
+           _______,_______,_______,_______,
+                   _______,_______,
+                   _______,
+                   _______,_______ ,_______
+    )
+};
+
+void matrix_init_user(void) {
+
+}
+
+void matrix_scan_user(void) {
+
+}
+
+bool process_record_user(uint16_t keycode, keyrecord_t *record) {
+  return true;
+}
+
+void led_set_user(uint8_t usb_led) {
+
+}
diff --git a/keyboards/kinesis/keymaps/tw1t611/readme.md b/keyboards/kinesis/keymaps/tw1t611/readme.md
new file mode 100644 (file)
index 0000000..da033be
--- /dev/null
@@ -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 (file)
index 0000000..7a331cd
--- /dev/null
@@ -0,0 +1,18 @@
+# Build Options
+#   change to "no" to disable the options, or define them in the Makefile in 
+#   the appropriate keymap folder that will get included automatically
+#
+BOOTMAGIC_ENABLE = no       # Virtual DIP switch configuration(+1000)
+MOUSEKEY_ENABLE = yes       # Mouse keys(+4700)
+EXTRAKEY_ENABLE = yes       # Audio control and System control(+450)
+CONSOLE_ENABLE = no         # Console for debug(+400)
+COMMAND_ENABLE = yes        # Commands for debug and configuration
+NKRO_ENABLE = yes           # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
+BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
+MIDI_ENABLE = no            # MIDI controls
+AUDIO_ENABLE = no           # Audio output on port C6
+UNICODE_ENABLE = no         # Unicode
+BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID
+RGBLIGHT_ENABLE = no        # Enable WS2812 RGB underlight. 
+SLEEP_LED_ENABLE = no       # Breathing sleep LED during USB suspend
+