From 563de365a7d95f74a4e6e261d451f0a962f875cd Mon Sep 17 00:00:00 2001 From: Suryan Isaac Date: Thu, 24 Jun 2021 07:54:56 +0530 Subject: [PATCH] Added a custom keymap for XD60 (#12736) * Added custom Keymap * Added Images to README * Added Layer 1 Keys for RGB control * Added GPL2+ License to keymap.c * Removed extra json files and added a few lines to README --- keyboards/xd60/keymaps/suryanisaac/README.md | 16 +++++++++++ keyboards/xd60/keymaps/suryanisaac/keymap.c | 29 ++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 keyboards/xd60/keymaps/suryanisaac/README.md create mode 100644 keyboards/xd60/keymaps/suryanisaac/keymap.c diff --git a/keyboards/xd60/keymaps/suryanisaac/README.md b/keyboards/xd60/keymaps/suryanisaac/README.md new file mode 100644 index 000000000..dbc94dbf7 --- /dev/null +++ b/keyboards/xd60/keymaps/suryanisaac/README.md @@ -0,0 +1,16 @@ +# suryanisaac's layout + +Just my custom layout, works really well for me so hopefully you guys like it. + +## Features: + +- Arrow keys on IJKL on Layer 1 +- Layer 1 toggle is the Caps Lock (No one likes caps lock) +- Nav keys close to arrow keys, good for programming +- Non-convoluted media control +- For Mac or Linux with Kinto +- Left and Right brackets on left shift and right shift +- Layer 1 has F1 to F12 on number keys + + +Pictures Available Here: https://imgur.com/a/7UzkhOu diff --git a/keyboards/xd60/keymaps/suryanisaac/keymap.c b/keyboards/xd60/keymaps/suryanisaac/keymap.c new file mode 100644 index 000000000..fa0be3d9d --- /dev/null +++ b/keyboards/xd60/keymaps/suryanisaac/keymap.c @@ -0,0 +1,29 @@ +/* Copyright 2021 Suryan Isaac + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include QMK_KEYBOARD_H + +/* THIS FILE WAS GENERATED! + * + * This file was generated by qmk json2c. You may or may not want to + * edit it directly. + */ + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_60_ansi(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_BSPC, 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, MO(1), 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_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSPC, KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT, KC_RCTL, TG(1)), + [1] = LAYOUT_60_ansi(RESET, 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_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_PGUP, KC_UP, KC_PGDN, KC_END, KC_TRNS, KC_TRNS, KC_PSCR, KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_TOG, RGB_MOD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) +}; +