summaryrefslogtreecommitdiffstats
path: root/keyboards/kinesis/keymaps/dvorak_nguyenvietyen/keymap.c
diff options
context:
space:
mode:
authorViet Yen Nguyen <nguyenvietyen@gmail.com>2020-08-17 03:37:42 +0200
committerGitHub <noreply@github.com>2020-08-16 18:37:42 -0700
commit194dc0984ee3bdaa285125c024b292794fa198d8 (patch)
tree8b66994c35b145b0e84e24d67d291f0b454c8fa7 /keyboards/kinesis/keymaps/dvorak_nguyenvietyen/keymap.c
parente071206c58916e74117ebbec1ef7ec4ee957ee38 (diff)
[Keyboard] Kinesis + Pro Micro (#9944)
* [Keyboard] Kinesis + Pro Micro init - docs for DIY - custom matrix = lite - a near-factory dvorak mapping - optimized debouncing for lower latency * chore: reformatting * chore: update doc * chore: cleanups according to PR feedback * chore: PR feedback * fix: compile error * chore: add include * fix: LEDs hanging after USB disconnect * chore: enable QMK goodies by default * chore: use semantic write pin
Diffstat (limited to 'keyboards/kinesis/keymaps/dvorak_nguyenvietyen/keymap.c')
-rw-r--r--keyboards/kinesis/keymaps/dvorak_nguyenvietyen/keymap.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/keyboards/kinesis/keymaps/dvorak_nguyenvietyen/keymap.c b/keyboards/kinesis/keymaps/dvorak_nguyenvietyen/keymap.c
new file mode 100644
index 0000000000..a072176f43
--- /dev/null
+++ b/keyboards/kinesis/keymaps/dvorak_nguyenvietyen/keymap.c
@@ -0,0 +1,30 @@
+#include QMK_KEYBOARD_H
+
+#define DVORAK_MAC_MODE 0 // Base Dvorak in Kinesis's Mac Mode with (Cmd, Option, Ctrl, Cmd) thumbkeys
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+[DVORAK_MAC_MODE] = LAYOUT(
+ // left hand
+ KC_CAPS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8,
+ KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5,
+ KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y,
+ KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I,
+ KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X,
+ KC_GRV, KC_INS, KC_LEFT, KC_RIGHT,
+ // left thumb
+ KC_LGUI, KC_LALT,
+ KC_HOME,
+ KC_BSPC, KC_DEL, KC_END,
+ // right hand
+ KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS, KC_NLCK, KC_POWER,
+ KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,
+ KC_F, KC_G, KC_C, KC_R, KC_L, KC_SLSH,
+ KC_D, KC_H, KC_T, KC_N, KC_S, KC_BSLS,
+ KC_B, KC_M, KC_W, KC_V, KC_Z, KC_RSFT,
+ KC_UP, KC_DOWN, KC_LBRC, KC_RBRC,
+ // right thumb
+ KC_RCTL, KC_RGUI,
+ KC_PGUP,
+ KC_PGDN, KC_ENT, KC_SPC
+ )
+};