diff options
author | Tobias V. Langhoff <tobias@langhoff.no> | 2019-08-31 02:40:24 +0200 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-08-30 17:40:24 -0700 |
commit | 2e9a096c468453e9b729b92e2423063f4a4967ae (patch) | |
tree | 86acbb7f2a1b14d44c3490490662e4962c3998e4 /keyboards | |
parent | 06de8fd106103b834bb4aa37f7fe0fe514c406df (diff) | |
download | firmware-2e9a096c468453e9b729b92e2423063f4a4967ae.tar.gz firmware-2e9a096c468453e9b729b92e2423063f4a4967ae.tar.bz2 firmware-2e9a096c468453e9b729b92e2423063f4a4967ae.zip |
[Keymap] Personal ISO-ish keymap for HHKB (#6632)
* Personal ISO-ish keymap for HHKB
* Fix keymap image
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/hhkb/keymaps/tobiasvl_iso/keymap.c | 20 | ||||
-rw-r--r-- | keyboards/hhkb/keymaps/tobiasvl_iso/readme.md | 22 |
2 files changed, 42 insertions, 0 deletions
diff --git a/keyboards/hhkb/keymaps/tobiasvl_iso/keymap.c b/keyboards/hhkb/keymaps/tobiasvl_iso/keymap.c new file mode 100644 index 000000000..68e23b45d --- /dev/null +++ b/keyboards/hhkb/keymaps/tobiasvl_iso/keymap.c @@ -0,0 +1,20 @@ +#include QMK_KEYBOARD_H + +#define SPACE_FN LT(1, KC_SPC) + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT( // default layer + KC_GESC, 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_RBRC, KC_GRV, + 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_NUHS, KC_BSPC, + KC_LCTL, 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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_NUBS, + KC_LALT, KC_LGUI, SPACE_FN, KC_RGUI, KC_RALT), + + [1] = LAYOUT( + KC_GRV, 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_INS, KC_DEL, + KC_CAPS, KC_PGUP, KC_UP, KC_PGDN, _______, _______, _______, _______, _______, _______, _______, KC_HOME, _______, _______, + _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, _______, _______, _______, _______, _______, KC_END, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______) +}; diff --git a/keyboards/hhkb/keymaps/tobiasvl_iso/readme.md b/keyboards/hhkb/keymaps/tobiasvl_iso/readme.md new file mode 100644 index 000000000..0da9d96ee --- /dev/null +++ b/keyboards/hhkb/keymaps/tobiasvl_iso/readme.md @@ -0,0 +1,22 @@ +# tobiasvl's ISO layout for HHKB + +This is my attempt to adapt my regular 60% Norwegian ISO layout to the physical HHKB layout, on the Happy Hacking Keyboard Pro 2 keyboard with the alternate QMK-compatible Hasu controller. + +## Base layer + +![HHKB ISO](https://i.imgur.com/8n4Kixw.png) + +The following changes have been made from standard HHKB: + +* The ] and \ keys are swapped so they're in the ISO locations, but a row higher. Whether or not this is a good idea depends heavily on what specific language layout you're using, but it makes sense for Norwegian, I think. +* The Fn key is replaced with the ISO key (ie. "non-US backslash"). It's gotta go somewhere! +* The spacebar doubles as space when tapped and Fn when held (ie. SpaceFN). This is a personal preference, but my second and more traditional choice would probably be to replace right GUI/Super with Fn. +* Grave Escape has been added (shift + Esc produces ~). + +## Function layer + +This is just how I personally prefer to set up my function layer, and doesn't have anything to do with ISO. You probably want to swap out this wholesale for your own function layer. + +* Navigation is moved: Arrow keys on WASD, Page Up and Page Down on QE, Home and End on the right (I have them to the left of the vertical Enter on ISO layouts). +* Grave Escape has been added (Fn + Esc produces \`). +* No media keys or anything. I don't use them. |