add personal keymaps
This commit is contained in:
parent
98a2e9dc0e
commit
6fbcaca3a4
17
README.md
Normal file
17
README.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# alvierahman90's qmk keyboads
|
||||||
|
|
||||||
|
This is my fork of the repo with my keymaps. It probably won't be merged.
|
||||||
|
|
||||||
|
- [My JJ40 keymap](keyboards/xd60/keymaps/ar90/)
|
||||||
|
|
||||||
|
![](keyboards/jj40/keymaps/ar/kle.png)
|
||||||
|
|
||||||
|
- [My XD60 keymap](keyboards/xd60/keymaps/ar90/)
|
||||||
|
|
||||||
|
![](keyboards/xd60/keymaps/ar90/kle.png)
|
||||||
|
|
||||||
|
[Actual repo](https://github.com/qmk/qmk_firmware)
|
||||||
|
|
||||||
|
[Official documentation](https://docs.qmk.fm/)
|
||||||
|
|
||||||
|
[Official website](https://qmk.fm/)
|
8
keyboards/jj40/keymaps/ar/config.h
Executable file
8
keyboards/jj40/keymaps/ar/config.h
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#ifndef CONFIG_USER_H
|
||||||
|
#define CONFIG_USER_H
|
||||||
|
|
||||||
|
#include "../../config.h"
|
||||||
|
|
||||||
|
#define PREVENT_STUCK_MODIFIERS
|
||||||
|
|
||||||
|
#endif
|
86
keyboards/jj40/keymaps/ar/keymap.c
Executable file
86
keyboards/jj40/keymaps/ar/keymap.c
Executable file
@ -0,0 +1,86 @@
|
|||||||
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
|
extern keymap_config_t keymap_config;
|
||||||
|
|
||||||
|
enum jj40_layers {
|
||||||
|
_COLEMAK,
|
||||||
|
_LOWER,
|
||||||
|
_RAISE,
|
||||||
|
_FUNC,
|
||||||
|
_ADJUST,
|
||||||
|
_MOUSE
|
||||||
|
};
|
||||||
|
|
||||||
|
enum jj40_keycodes {
|
||||||
|
COLEMAK = SAFE_RANGE,
|
||||||
|
FUNC,
|
||||||
|
FUNC2,
|
||||||
|
LOWER,
|
||||||
|
RAISE,
|
||||||
|
MOUSE,
|
||||||
|
};
|
||||||
|
|
||||||
|
// Fillers to make layering more clear
|
||||||
|
#define _______ KC_TRNS
|
||||||
|
#define XXXXXXX KC_NO
|
||||||
|
#define X KC_NO
|
||||||
|
|
||||||
|
#define SHFT_QUOT RSFT_T(KC_QUOT)
|
||||||
|
|
||||||
|
#define KC_GBP UC(0x00A3)
|
||||||
|
|
||||||
|
#define LOWER MO(_LOWER)
|
||||||
|
#define RAISE MO(_RAISE)
|
||||||
|
#define ADJST MO(_ADJUST)
|
||||||
|
#define MOUSE MO(_MOUSE)
|
||||||
|
#define FUNCT MO(_FUNC)
|
||||||
|
|
||||||
|
#define KC_SS KC_PSCR // configured on my computer to take screenshot of whole screen
|
||||||
|
#define KC_FSS LSFT(KC_PSCR) // configured to take screenshot of focused window
|
||||||
|
#define KC_SSS RCTL(KC_PSCR) // configured to take screenshot of user selected area
|
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
[_COLEMAK] = LAYOUT_ortho_4x12(\
|
||||||
|
KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, \
|
||||||
|
KC_LSFT, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, SHFT_QUOT, \
|
||||||
|
KC_LCTL, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, \
|
||||||
|
KC_ESC, FUNCT, KC_LALT, KC_LGUI, LOWER, KC_BSPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT \
|
||||||
|
),
|
||||||
|
|
||||||
|
[_LOWER] = LAYOUT_ortho_4x12(\
|
||||||
|
_______, X, X, KC_GRAVE, KC_BSLASH, X, KC_DOT, KC_7, KC_8, KC_9, KC_GBP, KC_DEL, \
|
||||||
|
_______, X, LSFT(KC_8), LSFT(KC_EQL), KC_MINS, X, KC_0, KC_4 , KC_5, KC_6, KC_ENT, _______, \
|
||||||
|
_______, X, X, KC_EQL, LSFT(KC_MINS), X, KC_COMM, KC_1, KC_2, KC_3, X, _______, \
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, ADJST, _______, _______, _______, _______ \
|
||||||
|
),
|
||||||
|
|
||||||
|
[_RAISE] = LAYOUT_ortho_4x12(\
|
||||||
|
_______, KC_SSS, KC_PGUP, KC_LBRC, KC_RBRC, KC_HOME, X, X, X, X, X, _______, \
|
||||||
|
KC_CAPS, KC_FSS, KC_PGDN, LSFT(KC_9), LSFT(KC_0), KC_END, X, X, X, X, X, _______, \
|
||||||
|
_______, KC_SS, X, LSFT(KC_LBRC), LSFT(KC_RBRC), X, X, X, X, X, X, _______, \
|
||||||
|
MOUSE, _______, _______, _______, ADJST, _______, _______, _______, XXXXXXX, _______, _______, _______ \
|
||||||
|
),
|
||||||
|
|
||||||
|
[_ADJUST] = LAYOUT_ortho_4x12(\
|
||||||
|
_______, RESET, X, X, X, X, X, X, X, X, X, _______, \
|
||||||
|
_______, X, X, X, X, X, X, KC_AUDIO_MUTE, KC_AUDIO_VOL_UP, KC_MEDIA_PLAY_PAUSE, X, _______, \
|
||||||
|
_______, X, X, X, X, X, X, KC_MEDIA_PREV_TRACK, KC_AUDIO_VOL_DOWN, KC_MEDIA_NEXT_TRACK, X, _______, \
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ \
|
||||||
|
),
|
||||||
|
|
||||||
|
[_MOUSE] = LAYOUT_ortho_4x12(\
|
||||||
|
X, X, X, X, X, X, X, X, X, X, X, X, \
|
||||||
|
KC_MS_ACCEL0, KC_MS_ACCEL1, KC_MS_ACCEL2, X, X, X, X, KC_MS_BTN1, KC_MS_UP, KC_MS_BTN2, X, X, \
|
||||||
|
X, X, X, X, X, X, X, KC_MS_LEFT, KC_MS_DOWN, KC_MS_RIGHT, X, X, \
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ \
|
||||||
|
),
|
||||||
|
|
||||||
|
[_FUNC] = LAYOUT_ortho_4x12(\
|
||||||
|
_______, X, X, X, X, X, X, KC_F9, KC_F10, KC_F11, KC_F12, _______, \
|
||||||
|
_______, X, X, X, X, X, X, KC_F5, KC_F6, KC_F7, KC_F8, _______, \
|
||||||
|
_______, X, X, X, X, X, X, KC_F1, KC_F2, KC_F3, KC_F4, _______, \
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ \
|
||||||
|
)
|
||||||
|
|
||||||
|
};
|
13
keyboards/jj40/keymaps/ar/readme.md
Normal file
13
keyboards/jj40/keymaps/ar/readme.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# JJ40 // ar90
|
||||||
|
|
||||||
|
This is my layout for the JJ40, and any other ortho 40% I'll own.
|
||||||
|
The screenshot keys are integrated with my DWM config:
|
||||||
|
https://github.com/alvierahman90/dwm/commit/67c53c9fa6995a194a6e9f733ecdff8feaa1adcb
|
||||||
|
|
||||||
|
![Screenshot from Keyboard Layout Editor](kle.png)
|
||||||
|
|
||||||
|
http://www.keyboard-layout-editor.com/#/gists/e242899e2567de74fd8eb94ea633c631
|
||||||
|
|
||||||
|
- SSS - user selected screenshot (CTRL+PRINTSCREEN)
|
||||||
|
- FSS - screenshot focused window (SHIFT+PRINTSCREEN)
|
||||||
|
- SS - screenshot whole screen (PRINTSCREEN)
|
9
keyboards/jj40/keymaps/ar/rules.mk
Executable file
9
keyboards/jj40/keymaps/ar/rules.mk
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
ifndef QUANTUM_DIR
|
||||||
|
include ../../../../Makefile
|
||||||
|
endif
|
||||||
|
|
||||||
|
AUDIO_ENABLE = no
|
||||||
|
MOUSEKEY_ENABLE = yes
|
||||||
|
BACKLIGHT_ENABLE = no
|
||||||
|
RGBLIGHT_ENABLE = no
|
||||||
|
UNICODE_ENABLE = yes
|
36
readme.md
36
readme.md
@ -1,36 +0,0 @@
|
|||||||
# Quantum Mechanical Keyboard Firmware
|
|
||||||
|
|
||||||
[![Current Version](https://img.shields.io/github/tag/qmk/qmk_firmware.svg)](https://github.com/qmk/qmk_firmware/tags)
|
|
||||||
[![Discord](https://img.shields.io/discord/440868230475677696.svg)](https://discord.gg/Uq7gcHh)
|
|
||||||
[![Docs Status](https://img.shields.io/badge/docs-ready-orange.svg)](https://docs.qmk.fm)
|
|
||||||
[![GitHub contributors](https://img.shields.io/github/contributors/qmk/qmk_firmware.svg)](https://github.com/qmk/qmk_firmware/pulse/monthly)
|
|
||||||
[![GitHub forks](https://img.shields.io/github/forks/qmk/qmk_firmware.svg?style=social&label=Fork)](https://github.com/qmk/qmk_firmware/)
|
|
||||||
|
|
||||||
This is a keyboard firmware based on the [tmk\_keyboard firmware](https://github.com/tmk/tmk_keyboard) with some useful features for Atmel AVR and ARM controllers, and more specifically, the [OLKB product line](https://olkb.com), the [ErgoDox EZ](https://ergodox-ez.com) keyboard, and the [Clueboard product line](https://clueboard.co).
|
|
||||||
|
|
||||||
## Documentation
|
|
||||||
|
|
||||||
* [See the official documentation on docs.qmk.fm](https://docs.qmk.fm)
|
|
||||||
|
|
||||||
The docs are powered by [Docsify](https://docsify.js.org/) and hosted on [GitHub](/docs/). They are also viewable offline; see [Previewing the Documentation](https://docs.qmk.fm/#/contributing?id=previewing-the-documentation) for more details.
|
|
||||||
|
|
||||||
You can request changes by making a fork and opening a [pull request](https://github.com/qmk/qmk_firmware/pulls), or by clicking the "Edit this page" link at the bottom of any page.
|
|
||||||
|
|
||||||
## Supported Keyboards
|
|
||||||
|
|
||||||
* [Planck](/keyboards/planck/)
|
|
||||||
* [Preonic](/keyboards/preonic/)
|
|
||||||
* [ErgoDox EZ](/keyboards/ergodox_ez/)
|
|
||||||
* [Clueboard](/keyboards/clueboard/)
|
|
||||||
* [Cluepad](/keyboards/clueboard/17/)
|
|
||||||
* [Atreus](/keyboards/atreus/)
|
|
||||||
|
|
||||||
The project also includes community support for [lots of other keyboards](/keyboards/).
|
|
||||||
|
|
||||||
## Maintainers
|
|
||||||
|
|
||||||
QMK is developed and maintained by Jack Humbert of OLKB with contributions from the community, and of course, [Hasu](https://github.com/tmk). The OLKB product firmwares are maintained by [Jack Humbert](https://github.com/jackhumbert), the Ergodox EZ by [ZSA Technology Labs](https://github.com/zsa), the Clueboard by [Zach White](https://github.com/skullydazed), and the Atreus by [Phil Hagelberg](https://github.com/technomancy).
|
|
||||||
|
|
||||||
## Official Website
|
|
||||||
|
|
||||||
[qmk.fm](https://qmk.fm) is the official website of QMK, where you can find links to this page, the documentation, and the keyboards supported by QMK.
|
|
Loading…
Reference in New Issue
Block a user