mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-16 21:01:31 +00:00
Merge branch 'master' into greatpad
This commit is contained in:
commit
20ff223218
@ -1,16 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#undef BACKLIGHT_LEVELS
|
||||
#define BACKLIGHT_LEVELS 8
|
||||
|
||||
#define NO_ACTION_ONESHOT
|
||||
|
||||
#define MOUSEKEY_DELAY 0
|
||||
#define MOUSEKEY_INTERVAL 1
|
||||
#define MOUSEKEY_MAX_SPEED 4
|
||||
#define MOUSEKEY_TIME_TO_MAX 77
|
||||
#define MOUSEKEY_WHEEL_MAX_SPEED 1
|
||||
#define MOUSEKEY_WHEEL_TIME_TO_MAX 255
|
||||
|
||||
#undef WS2812_DI_PIN
|
||||
#define WS2812_DI_PIN B2
|
@ -1,33 +0,0 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
#define LCTL_MA LCTL_T(KC_UP)
|
||||
#define LSFT_MA LSFT_T(KC_DOWN)
|
||||
#define RSFT_MA SFT_T(KC_DOWN)
|
||||
#define TABS_MA LT(1,KC_TAB)
|
||||
#define SPCE_MA LT(2,KC_SPC)
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[0] = LAYOUT_all(
|
||||
QK_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_BSLS,KC_NUBS,
|
||||
TABS_MA,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_BSPC,
|
||||
LCTL_MA,KC_A ,KC_S ,KC_D ,KC_F ,KC_G ,KC_H ,KC_J ,KC_K ,KC_L ,KC_SCLN,KC_QUOT,XXXXXXX,KC_ENT ,
|
||||
LSFT_MA,KC_NUBS,KC_Z ,KC_X ,KC_C ,KC_V ,KC_B ,KC_N ,KC_M ,KC_COMM,KC_DOT ,KC_SLSH,RSFT_MA,MO(1) ,
|
||||
XXXXXXX,KC_LALT,KC_LGUI, SPCE_MA, KC_RGUI,KC_RALT,XXXXXXX,XXXXXXX),
|
||||
|
||||
[1] = LAYOUT_all(
|
||||
KC_PSCR,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_PGUP,KC_PGDN,KC_HOME,KC_END ,KC_PGDN,KC_PGUP,_______,_______,_______,_______,KC_DEL ,
|
||||
KC_CAPS,KC_NUBS,KC_LEFT,KC_UP ,KC_DOWN,KC_RGHT,KC_LEFT,KC_DOWN,KC_UP ,KC_RGHT,_______,_______,_______,_______,
|
||||
_______,_______,BL_TOGG,BL_UP ,BL_DOWN,_______,_______,KC_VOLD,KC_VOLU,KC_MUTE,_______,_______,_______,_______,
|
||||
_______,_______,_______, _______, _______,_______,_______,_______),
|
||||
|
||||
[2] = LAYOUT_all(
|
||||
_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,QK_BOOT,
|
||||
KC_BTN5,KC_BTN4,KC_BTN3,KC_BTN2,KC_BTN1,KC_HOME,KC_END ,_______,_______,_______,_______,_______,_______,_______,
|
||||
_______,_______,KC_WH_L,KC_WH_U,KC_WH_D,KC_WH_R,KC_MS_L,KC_MS_D,KC_MS_U,KC_MS_R,_______,_______,_______,_______,
|
||||
_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,
|
||||
_______,_______,_______, _______, _______,_______,_______,_______),
|
||||
|
||||
|
||||
};
|
@ -1,58 +0,0 @@
|
||||
# FabulousAnomalyKeyBoard
|
||||
|
||||
This layout features an efficient layout for people without
|
||||
a mouse.
|
||||
|
||||
## layers
|
||||
|
||||
Layer Base: complete basic keyboard
|
||||
Layer Fn-Tab: F1-F12, Arrow Keys, Home, End, Backlight, Media
|
||||
Layer Fn-Space: mouse keys in a vim like manner
|
||||
|
||||
For detailed info check out keymap.c
|
||||
|
||||
## the CTRL key
|
||||
|
||||
It is where you would suspect CAPSLOCK to be.
|
||||
WHO NEEDS CAPSLOCK ANYWAYS?
|
||||
For those rare cases you need to shout at somebody in a comment
|
||||
section you can still do a capslock by using TABCTRL
|
||||
|
||||
## the SUPER key
|
||||
|
||||
There are two super keys. They are next to the space bar.
|
||||
The intention is easing the use of tiling window mangers
|
||||
|
||||
## emergency mouse
|
||||
|
||||
Without a mouse you will find yourself in a situation where all
|
||||
your tiling goodness will just not be able to click onto that
|
||||
"close ads" button.
|
||||
This keymap integrates a basic mouse pointer directly into the keyboard.
|
||||
Mouse is accessible via holding SPACE and tapping keys:
|
||||
```
|
||||
SPACE
|
||||
h Move cursor left
|
||||
j Move cursor down
|
||||
k Move cursor up
|
||||
l Move cursor right
|
||||
|
||||
w Middle Mouse Click
|
||||
r Right click
|
||||
e Left click
|
||||
|
||||
s Scroll wheel left
|
||||
d Scroll wheel down
|
||||
f Scroll wheel up
|
||||
g Scroll wheel right
|
||||
```
|
||||
|
||||
## shell focused
|
||||
|
||||
Working in a shell the up and down arrow keys are often needed to
|
||||
look at old commands or reuse some.
|
||||
When held, the left ctrl and left shift will act as expected,
|
||||
but when tapped they will become UP and DOWN arrow-keys.
|
||||
|
||||
## krautfriend
|
||||
The keys <|> are accessible even without a 102nd key
|
@ -1,13 +0,0 @@
|
||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
|
||||
CONSOLE_ENABLE = no # Console for debug(+400)
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||
RGBLIGHT_ENABLE = no # Enable keyboard underlight functionality (+4870)
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality (+1150)
|
||||
MIDI_ENABLE = no # MIDI controls
|
||||
AUDIO_ENABLE = no
|
||||
UNICODE_ENABLE = no # Unicode
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
|
@ -1,112 +0,0 @@
|
||||
/* Copyright 2022 david l goodrich <dlg@dsrw.org>
|
||||
*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
enum custom_layers {
|
||||
_BL,
|
||||
_FL,
|
||||
_MAC,
|
||||
_LA,
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* Keymap _BL: (Base Layer) Default Layer
|
||||
* ,---------------------------------------------------------------.
|
||||
* |~` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = |Bks|???|Esc|
|
||||
* |---------------------------------------------------------------|
|
||||
* |Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ |Del|
|
||||
* |---------------------------------------------------------------|
|
||||
* |Ctrl | A | S | D | F | G | H | J | K | L | ; | ' | Enter |PUp|
|
||||
* |---------------------------------------------------------------|
|
||||
* |Shift | Z | X | C | V | B | N | M | , | . | / |Shift |Up |PDn|
|
||||
* |---------------------------------------------------------------|
|
||||
* |Ctrl|Win |Alt | Space |Alt |Fn ||Lt |Dn |Rt |
|
||||
* `--------------------------------------------------''-----------'
|
||||
*/
|
||||
[_BL] = LAYOUT(
|
||||
KC_GRV, 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, XXXXXXX, KC_ESC,
|
||||
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, KC_DEL,
|
||||
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_PGUP,
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, KC_PGDN,
|
||||
KC_LCTL, KC_LGUI, LM(_LA, MOD_LALT), KC_SPC, KC_LALT, MO(_FL), KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
|
||||
/* Keymap _FL: Function Layer
|
||||
* ,---------------------------------------------------------------.
|
||||
* | |F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|Del|RST| |
|
||||
* |---------------------------------------------------------------|
|
||||
* | | | | | | | | |mac| |PSc|Br-|Br+| |Ins|
|
||||
* |---------------------------------------------------------------|
|
||||
* | | | | | | |Lt |Dn |Up |Rt | | | |Hme|
|
||||
* |---------------------------------------------------------------|
|
||||
* | | | | | | | |MUT|V- |V+ | | |PUp|End|
|
||||
* |---------------------------------------------------------------|
|
||||
* | | | | | | ||Hme|PDn|End|
|
||||
* `--------------------------------------------------''-----------'
|
||||
*/
|
||||
[_FL] = LAYOUT(
|
||||
_______, 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, QK_BOOT, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, TG(_MAC),_______, KC_PSCR, KC_BRID, KC_BRIU, _______, KC_INS,
|
||||
_______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, _______, KC_HOME,
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, KC_PGUP, KC_END,
|
||||
_______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END
|
||||
),
|
||||
|
||||
/* Keymap _MAC: Mac Layer
|
||||
* ,---------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | | |
|
||||
* |---------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | |
|
||||
* |---------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | |
|
||||
* |---------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | |
|
||||
* |---------------------------------------------------------------|
|
||||
* |Ctrl|Alt |Win | |Win | || | | |
|
||||
* `--------------------------------------------------''-----------'
|
||||
*/
|
||||
[_MAC] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
KC_LCTL, KC_LALT, KC_LGUI, _______, KC_RGUI, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
/* Keymap _LA: Left Alt Layer - LALT-4 maps to LALT-F4 so I can quit apps
|
||||
* ,---------------------------------------------------------------.
|
||||
* | | | | |F4 | | | | | | | | | | | |
|
||||
* |---------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | |
|
||||
* |---------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | |
|
||||
* |---------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | |
|
||||
* |---------------------------------------------------------------|
|
||||
* | | | | | | || | | |
|
||||
* `--------------------------------------------------''-----------'
|
||||
*/
|
||||
[_LA] = LAYOUT(
|
||||
_______, _______, _______, _______, KC_F4, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
)
|
||||
|
||||
};
|
@ -1,73 +0,0 @@
|
||||
# dlg's layout
|
||||
|
||||
Inspired heavily by [my tada68 layout](https://github.com/qmk/qmk_firmware/tree/master/keyboards/tada68/keymaps/dlg).
|
||||
|
||||
Notable deviation from the default keymap includes correctly placing `KC_BSLS` and moving `KC_BSPC` up to the top row where it belongs. The additional key on the top-row is a NOOP while I think of something fun. I also swapped `Esc` and `~` as in my tada68 layout.
|
||||
|
||||
|
||||
### Base Layer
|
||||
|
||||
```
|
||||
,---------------------------------------------------------------.
|
||||
|~` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = |Bks|???|Esc|
|
||||
|---------------------------------------------------------------|
|
||||
|Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ |Del|
|
||||
|---------------------------------------------------------------|
|
||||
|Ctrl | A | S | D | F | G | H | J | K | L | ; | ' | Enter |PUp|
|
||||
|---------------------------------------------------------------|
|
||||
|Shift | Z | X | C | V | B | N | M | , | . | / |Shift |Up |PDn|
|
||||
|---------------------------------------------------------------|
|
||||
|Ctrl|Win |Alt | Space |Alt |Fn ||Lt |Dn |Rt |
|
||||
`--------------------------------------------------''-----------'
|
||||
```
|
||||
|
||||
|
||||
### Fn Layer
|
||||
|
||||
```
|
||||
,---------------------------------------------------------------.
|
||||
| |F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|Del|RST| |
|
||||
|---------------------------------------------------------------|
|
||||
| | | | | | | | |mac| |PSc|Br-|Br+| |Ins|
|
||||
|---------------------------------------------------------------|
|
||||
| | | | | | |Lt |Dn |Up |Rt | | | |Hme|
|
||||
|---------------------------------------------------------------|
|
||||
| | | | | | | |MUT|V- |V+ | | |PUp|End|
|
||||
|---------------------------------------------------------------|
|
||||
| | | | | | ||Hme|PDn|End|
|
||||
`--------------------------------------------------''-----------'
|
||||
```
|
||||
|
||||
### Mac Layer
|
||||
|
||||
```
|
||||
,---------------------------------------------------------------.
|
||||
| | | | | | | | | | | | | | | | |
|
||||
|---------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | |
|
||||
|---------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | |
|
||||
|---------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | |
|
||||
|---------------------------------------------------------------|
|
||||
|Ctrl|Alt |Win | |Win | || | | |
|
||||
`--------------------------------------------------''-----------'
|
||||
```
|
||||
|
||||
### `LALT` Layer
|
||||
|
||||
Left Alt Layer - LALT-4 maps to LALT-F4 so I can quit apps
|
||||
|
||||
```
|
||||
,---------------------------------------------------------------.
|
||||
| | | | |F4 | | | | | | | | | | | |
|
||||
|---------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | |
|
||||
|---------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | |
|
||||
|---------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | |
|
||||
|---------------------------------------------------------------|
|
||||
| | | | | | || | | |
|
||||
`--------------------------------------------------''-----------'
|
||||
```
|
@ -1,85 +0,0 @@
|
||||
/*
|
||||
* DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
* Version 2, December 2004
|
||||
*
|
||||
* Copyright (C) 2019 4sStylZ <4sstylz@protonmail.ch>
|
||||
*
|
||||
* Everyone is permitted to copy and distribute verbatim or modified
|
||||
* copies of this license document, and changing it is allowed as long
|
||||
* as the name is changed.
|
||||
*
|
||||
* DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
* TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
*
|
||||
* 0. You just DO WHAT THE FUCK YOU WANT TO.
|
||||
*/
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
/**
|
||||
* Macro for selecting all the text in the document.
|
||||
* Usual shortcut : Ctrl+A.
|
||||
*
|
||||
* @param keyrecord_t *record
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
void select_all(keyrecord_t *record) {
|
||||
if (record->event.pressed) {
|
||||
register_code(KC_LCTL);
|
||||
tap_code(KC_A);
|
||||
unregister_code(KC_LCTL);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Macro for selecting the current row.
|
||||
*
|
||||
* @param keyrecord_t *record
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
void select_row(keyrecord_t *record) {
|
||||
if (record->event.pressed) {
|
||||
tap_code(KC_HOME);
|
||||
register_code(KC_LSFT);
|
||||
tap_code(KC_END);
|
||||
unregister_code(KC_LSFT);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Macro for selecting the current word.
|
||||
* Usage : You need to have the cursor into the word or directly at the right.
|
||||
*
|
||||
*
|
||||
* Usual shortcut : Ctrl+A.
|
||||
*
|
||||
* @param keyrecord_t *record
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
void select_word(keyrecord_t *record) {
|
||||
if (record->event.pressed) {
|
||||
register_code(KC_LCTL);
|
||||
tap_code(KC_LEFT);
|
||||
register_code(KC_LSFT);
|
||||
tap_code(KC_RIGHT);
|
||||
unregister_code(KC_LSFT);
|
||||
unregister_code(KC_LCTL);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Macro for inserting two 0 with keypad.
|
||||
* Be carefull to have the keypad lock enabled
|
||||
*
|
||||
* @param keyrecord_t *record
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
void insert_00(keyrecord_t *record) {
|
||||
if (record->event.pressed) {
|
||||
tap_code(KC_P0);
|
||||
tap_code(KC_P0);
|
||||
}
|
||||
}
|
@ -1,115 +0,0 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
#include <keycodes.h>
|
||||
|
||||
// Implement Super-alt↯tab
|
||||
// See https://docs.qmk.fm/#/feature_macros?id=super-alt↯tab
|
||||
bool is_alt_tab_active = false;
|
||||
uint16_t alt_tab_timer = 0;
|
||||
|
||||
// Defining all the custom keycodes.
|
||||
enum custom_keycodes {
|
||||
ALT_TAB = SAFE_RANGE,
|
||||
SLC_ROW,
|
||||
SLC_ALL,
|
||||
SLC_WRD
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM lock_combo[] = {KC_J, KC_K, KC_L, KC_SCLN, COMBO_END};
|
||||
combo_t key_combos[] = {COMBO(lock_combo, LGUI(KC_O))};
|
||||
|
||||
// Define the keycodes for one qwerty layer and one Fn layer.
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* 0: qwerty
|
||||
* ┌──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬─────────────┐
|
||||
* │ ` Esc│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ Bksp │
|
||||
* ├──────┴──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼─────┬───────┤
|
||||
* │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ │
|
||||
* ├─────────────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼─────┴┐ Enter│
|
||||
* │ Layer 2 │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ # │ │
|
||||
* ├──────┬──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┴──────┴──────┤
|
||||
* │ Shift│ \ │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift │
|
||||
* ├──────┼──────┼──────┼──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┼──────┬──────┬──────┤
|
||||
* │ Ctrl │ Alt │↯ATab │ Space │ Gui │ Alt │ Ctrl │
|
||||
* └──────┴──────┴──────┴──────────────────────────────────────────────────────────────┴──────┴──────┴──────┘
|
||||
*
|
||||
* Hidden features :
|
||||
* - Left Shift is also Home on a single tap.
|
||||
* - Left Ctrl is also End on a single tap.
|
||||
* - Right Shift is also page-up on a single tap.
|
||||
* - Right Ctrl is also page-down on a single tap.
|
||||
* - Press JKLM for Windows + L (Session lock)
|
||||
*/
|
||||
[0] = LAYOUT(
|
||||
QK_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,
|
||||
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_NUHS, KC_ENT ,
|
||||
SC_LSPO , KC_NUBS, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, SC_RSPC ,
|
||||
SC_LCPO , KC_LGUI, KC_LALT, KC_SPC, KC_APP , KC_RALT, SC_RCPC
|
||||
),
|
||||
|
||||
/* 1: second layer for media keys and many advanced features ç
|
||||
* ┌──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬─────────────┐
|
||||
* │Alt F4│ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │ │
|
||||
* ├──────┴──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼─────┬───────┤
|
||||
* │ │ │PrtScn│ Brt+ │ Brt- │Ctrl A│ Home │ Up │ End │ ‽ │ ↑ │ ⸮ │ │ │
|
||||
* ├─────────────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼─────┴┐ │
|
||||
* │ │ Cut │ Copy │Paste │ Del │ Del │ Left │ Down │Right │ ← │ ↓ │ → │ │ │
|
||||
* ├──────┬──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┴──────┴──────┤
|
||||
* │ │ │ Mute │ Vol- │ Vol+ │ │ │ │ │ │ │Reset │ │
|
||||
* ├──────┼──────┼──────┼──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┼──────┬──────┬──────┤
|
||||
* │ │ │ │ │ │ │ │
|
||||
* └──────┴──────┴──────┴──────────────────────────────────────────────────────────────┴──────┴──────┴──────┘
|
||||
*/
|
||||
[1] = LAYOUT(
|
||||
LALT(KC_F4), 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 ,
|
||||
_______ , _______ , SLC_ALL , SLC_ROW , SLC_WRD , _______, KC_BSPC, KC_HOME, KC_UP , KC_END , KC_BRIU, KC_BRID , KC_PSCR,
|
||||
_______ , _______ , LSFT(KC_DEL), LCTL(KC_INS), LSFT(KC_INS), KC_DEL , KC_ENT , KC_LEFT, KC_DOWN, KC_RIGHT, BL_TOGG, BL_STEP , BL_BRTG, _______,
|
||||
_______ , _______ , KC_MUTE , KC_VOLD , KC_VOLU , ALT_TAB, _______, _______, _______, _______ , _______, QK_BOOT , _______ ,
|
||||
_______ , _______ , _______ , _______, _______ , _______, _______
|
||||
)
|
||||
};
|
||||
|
||||
// Set the unicode input mode for using UC.
|
||||
void matrix_init_user(void) {
|
||||
set_unicode_input_mode(UNICODE_MODE_LINUX);
|
||||
}
|
||||
|
||||
// Processing all the key pressed.
|
||||
// Alt+tab.
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
|
||||
// Depending keycodes…
|
||||
switch (keycode) { // This will do most of the grunt work with the keycodes.
|
||||
case ALT_TAB:
|
||||
if (record->event.pressed) {
|
||||
if (!is_alt_tab_active) {
|
||||
is_alt_tab_active = true;
|
||||
register_code(KC_LALT);
|
||||
}
|
||||
alt_tab_timer = timer_read();
|
||||
register_code(KC_TAB);
|
||||
} else {
|
||||
unregister_code(KC_TAB);
|
||||
}
|
||||
break;
|
||||
case SLC_ALL:
|
||||
select_all(record);
|
||||
break;
|
||||
case SLC_ROW:
|
||||
select_row(record);
|
||||
break;
|
||||
case SLC_WRD:
|
||||
select_word(record);
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
void matrix_scan_user(void) { // The very important timer.
|
||||
if (is_alt_tab_active) {
|
||||
if (timer_elapsed(alt_tab_timer) > 750) {
|
||||
unregister_code(KC_LALT);
|
||||
is_alt_tab_active = false;
|
||||
}
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
COMBO_ENABLE = yes
|
@ -1,15 +0,0 @@
|
||||
/* Copyright 2017 Benjamin Kesselring
|
||||
*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
@ -1,90 +0,0 @@
|
||||
/* Copyright 2017 Wunder
|
||||
*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
// Layer shorthand
|
||||
#define _QW_M 0
|
||||
#define _QW_W 1
|
||||
#define _FN 2
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* QWERTY-Mac
|
||||
* .--------------------------------------------------------------------------------------------------------------------------------------.
|
||||
* | ESC | 1 | 2 | 3 | 4 | % | 6 | 7 | 8 | 9 | 0 | - | = | Cut | BACKSP |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------|
|
||||
* | TAB | Q | W | E | R | T | Y | U | I | O | P | { | } | Copy | Paste |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------+--------|
|
||||
* | CAP LK | A | S | D | F | G | H | J | K | L | ; | ' | ENTER | ENTER | REF |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------------------------+--------|
|
||||
* | LSHIFT | Z | X | C | V | B | N | M | , | . | / | \ | RSHIFT| UP | SAVE |
|
||||
* |--------+--------+--------+--------+--------+-----------------+--------+--------+--------+--------+-----------------+--------+--------|
|
||||
* | LALT | LGUI | LALT | FIND | CMD T | SPACE | SPACE | ALFRED | FN-MO | RALT | RGUI | RCTRL | LEFT | DOWN | RIGHT |
|
||||
* '--------------------------------------------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
[_QW_M] = LAYOUT_ortho_5x15( /* QWERTY MAC*/
|
||||
QK_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, LGUI(KC_X), 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_LCBR, KC_RCBR, LGUI(KC_C), LGUI(KC_V),
|
||||
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, LGUI(KC_R), KC_NO, 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_BSLS, KC_RSFT, KC_UP, LGUI(KC_S),
|
||||
KC_LCTL, KC_LALT, KC_LGUI, LGUI(KC_F), LGUI(KC_T), KC_SPC, KC_NO, LALT(KC_SPACE), MO(_FN), KC_RGUI, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
|
||||
/* QWERTY-Win
|
||||
* .--------------------------------------------------------------------------------------------------------------------------------------.
|
||||
* | ESC | 1 | 2 | 3 | 4 | % | 6 | 7 | 8 | 9 | 0 | - | = | Cut | BACKSP |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------|
|
||||
* | TAB | Q | W | E | R | T | Y | U | I | O | P | { | } | Copy | Paste |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------+--------|
|
||||
* | CAP LK | A | S | D | F | G | H | J | K | L | ; | ' | ENTER | ENTER | REF |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------------------------+--------|
|
||||
* | LSHIFT | Z | X | C | V | B | N | M | , | . | / | \ | RSHIFT | UP | SAVE |
|
||||
* |--------+--------+--------+--------+--------+-----------------+--------+--------+--------+--------+-----------------+--------+--------|
|
||||
* | LALT | LGUI | LALT | FIND | CMD T | SPACE | SPACE | START | FN-MO | RALT | RGUI | RCTRL | LEFT | DOWN | RIGHT |
|
||||
* '--------------------------------------------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
[_QW_W] = LAYOUT_ortho_5x15( /* QWERTY WIN*/
|
||||
QK_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, LCTL(KC_X), 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_LCBR, KC_RCBR, LCTL(KC_C), LCTL(KC_V),
|
||||
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, LCTL(KC_R), KC_NO, 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_BSLS, KC_RSFT, KC_UP, LCTL(KC_S),
|
||||
KC_LCTL, KC_LALT, KC_LGUI, LCTL(KC_F), LCTL(KC_T), KC_SPC, KC_NO, LCTL(QK_GESC), MO(_FN), KC_RGUI, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
|
||||
/* FUNCTION
|
||||
* .--------------------------------------------------------------------------------------------------------------------------------------.
|
||||
* | ESC | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | VOLDN | VOLUP | MUTE | DEL |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------|
|
||||
* | TAB | - | WIN | - | - | RGB_TOG| - | - | OPTION | QK_BOOT | - | [ | ] | - | - |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------+--------|
|
||||
* | CAP LK | MAC | RAINBOW| PLAIN | - | - | - | - | - | - | ; | ' | ENTER | ENTER | REF |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------------------------+--------|
|
||||
* | LSHIFT | INC | DEC | HUE I | HUE D | SAT I | SAT D | - | - | . | / | \ | RSHIFT| HOME | SAVE |
|
||||
* |--------+--------+--------+--------+--------+-----------------+--------+--------+--------+--------+-----------------+--------+--------|
|
||||
* | LALT | LGUI | LALT | FIND | CMD T | SPACE | SPACE | ALFRED | FN-MO | RALT | RGUI | RCTRL | PGUP | END | PGDN |
|
||||
* '--------------------------------------------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
[_FN] = LAYOUT_ortho_5x15( /* OSLAYOUT + NUMPAD + MEDIA + LIGHTING */
|
||||
KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_VOLD, KC_VOLU, KC_MUTE, KC_DEL,
|
||||
KC_TRNS, KC_NO, DF(_QW_W), KC_NO, KC_NO, RGB_TOG, KC_NO, KC_NO, KC_RALT, QK_BOOT, KC_NO, KC_LBRC, KC_RBRC, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, DF(_QW_M), RGB_MODE_RAINBOW, RGB_MODE_PLAIN, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, RGB_VAI, RGB_VAD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, KC_NO, KC_NO, KC_DOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, 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_PGUP, KC_END, KC_PGDN
|
||||
),
|
||||
};
|
@ -1 +0,0 @@
|
||||
# The default keymap for Revok 75 --idobo version
|
@ -1,14 +0,0 @@
|
||||
# Copyright 2013 Jun Wako <wakojun@gmail.com>
|
||||
#
|
||||
# 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 <http://www.gnu.org/licenses/>.
|
@ -1,53 +0,0 @@
|
||||
/*
|
||||
Copyright 2017 Lukmanul Hakim <lukmanulhakim14@gmail.com>
|
||||
|
||||
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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* NOTE : This is compatible to TrueFox Layout only */
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
// Fillers to make layering more clear
|
||||
#define ___T___ KC_TRNS
|
||||
|
||||
const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Layer 0: Default Layer
|
||||
* ,----------------------------------------------------------------.
|
||||
* |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| \| `|Pscr|
|
||||
* |----------------------------------------------------------------|
|
||||
* |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]|Backs|Del |
|
||||
* |----------------------------------------------------------------|
|
||||
* |Ctrl | A| S| D| F| G| H| J| K| L| ;| '|Enter |PgUp|
|
||||
* |----------------------------------------------------------------|
|
||||
* |Shif| | Z| X| C| V| B| N| M| ,| .| /|Shift |Up |PgDn|
|
||||
* |----------------------------------------------------------------|
|
||||
* |Alt|Fn0 |Gui | Space |Gui |Alt | | |Lef|Dow|Rght|
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[0] = LAYOUT(
|
||||
KC_ESC, 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_BSLS,KC_GRV, KC_PSCR,
|
||||
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_BSPC, KC_DEL,
|
||||
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_NUHS,KC_ENT, KC_PGUP,
|
||||
KC_LSFT,XXXXXXX,KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH,KC_RSFT, KC_UP, KC_PGDN,
|
||||
KC_LALT,MO(1), KC_LGUI, KC_SPC, KC_RGUI,KC_RALT, XXXXXXX, KC_LEFT,KC_DOWN,KC_RGHT
|
||||
),
|
||||
[1] = LAYOUT(
|
||||
_______,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_MPRV,KC_MNXT,KC_VOLU,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______ , BL_TOGG ,
|
||||
_______,KC_MPLY,KC_MSTP,KC_VOLD,_______,_______,_______,_______,_______,_______,_______,_______,_______,QK_BOOT, BL_UP,
|
||||
_______,_______,_______,KC_MUTE,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______,BL_DOWN,
|
||||
_______,_______,_______, _______, _______,_______,_______, KC_HOME,_______,KC_END
|
||||
),
|
||||
};
|
@ -1,44 +0,0 @@
|
||||
/*
|
||||
Copyright 2017 Danny Nguyen <danny@hexwire.com>
|
||||
|
||||
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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_USER_H
|
||||
#define CONFIG_USER_H
|
||||
|
||||
|
||||
/* Select hand configuration */
|
||||
|
||||
#define MASTER_LEFT
|
||||
// #define _MASTER_RIGHT
|
||||
// #define EE_HANDS
|
||||
|
||||
#undef RGBLED_NUM
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
#define RGBLIGHT_EFFECT_SNAKE
|
||||
#define RGBLIGHT_EFFECT_KNIGHT
|
||||
#define RGBLIGHT_EFFECT_CHRISTMAS
|
||||
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
||||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 12
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
#endif
|
@ -1,79 +0,0 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
extern keymap_config_t keymap_config;
|
||||
|
||||
// Each layer gets a name for readability, which is then used in the keymap matrix below.
|
||||
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
|
||||
// Layer names don't all need to be of the same length, obviously, and you can also skip them
|
||||
// entirely and just use numbers.
|
||||
#define _QW 0
|
||||
#define _LW 1
|
||||
#define _RS 2
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* SPLIT QWERTY
|
||||
* .-----------------------------------------------------------------------------------------------------------.
|
||||
* | ESC | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | ` |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------|
|
||||
* | TAB | Q | W | E | R | T | Y | U | I | O | P | BSPACE |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------+--------|
|
||||
* | LCTRL | A | S | D | F | G | H | J | K | L | ; | ENTER |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------------------------+--------|
|
||||
* | LSHIFT | Z | X | C | V | B | N | M | < | > | / | RSHIFT |
|
||||
* |--------+--------+--------+--------+--------+-----------------+--------+-----------------+--------+--------|
|
||||
* | LALT | RAISE | RAISE | LGUI | SPACE | SPACE | SPACE | SPACE | RGUI | LOWER | LOWER | RALT |
|
||||
* '-----------------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_QW] = LAYOUT(
|
||||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, 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_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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT,
|
||||
KC_LALT, MO(_RS), MO(_RS), KC_LGUI, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_RGUI, MO(_LW), MO(_LW), KC_RALT
|
||||
),
|
||||
|
||||
/* Lower
|
||||
* .-----------------------------------------------------------------------------------------------------------.
|
||||
* | | F1 | F2 | F3 | F4 | F5 | | | | | | |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
|
||||
* | | PREV | NEXT | VOLUP | RGBTOG | F11 | | | | | | |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
|
||||
* | | PLAY | STOP | VOLDWN | RGBMOD | | | | | | | |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
|
||||
* | | | | MUTE | | | | | | | | |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
|
||||
* | | | | | | | | | | | | |
|
||||
* '-----------------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_LW] = LAYOUT(
|
||||
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, _______, _______, _______, _______, _______,
|
||||
_______, KC_MPRV, KC_MNXT, KC_VOLU, RGB_TOG, KC_F11, _______, _______, _______, _______, _______, _______,
|
||||
_______, KC_MPLY, KC_MSTP, KC_VOLD, RGB_MOD, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, KC_MUTE, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
/* Raise
|
||||
* .-----------------------------------------------------------------------------------------------------------.
|
||||
* | | | | | | | F6 | F7 | F8 | F9 | F10 | DELETE |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
|
||||
* | | | | | | | F12 | [ | ] | - | = | \ |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
|
||||
* | | | | | | | PRTSCR | LEFT | DOWN | UP | RIGHT | |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
|
||||
* | | | | | | | | HOME | PGDN | PGUP | END | |
|
||||
* |--------+--------+--------+--------+--------+-----------------+--------+--------+--------+--------+--------|
|
||||
* | | | | | | | | | | | | |
|
||||
* '-----------------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_RS] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_DEL,
|
||||
_______, _______, _______, _______, _______, _______, KC_F12, KC_LBRC, KC_RBRC, KC_MINS, KC_EQL, KC_BSLS,
|
||||
_______, _______, _______, _______, _______, _______, KC_PSCR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
)
|
||||
|
||||
|
||||
};
|
@ -1,2 +0,0 @@
|
||||
RGBLIGHT_ENABLE = yes
|
||||
|
@ -1,151 +0,0 @@
|
||||
/* Copyright 2023 skewwhiffy
|
||||
*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "keymap_uk.h"
|
||||
|
||||
// Layer shorthand
|
||||
enum Layers {
|
||||
cm, // colemak
|
||||
nbl, // numbers left
|
||||
nbr, // numbers right
|
||||
syl, // symbols left
|
||||
syr, // symbols right
|
||||
nal, // navigation left
|
||||
nar // navigation right
|
||||
};
|
||||
|
||||
// Layer buttons
|
||||
#define _Z_SFT SFT_T(UK_Z)
|
||||
#define _SLSH SFT_T(UK_SLSH)
|
||||
|
||||
#define _X_NB LT(nbl, UK_X)
|
||||
#define _DOT_NB LT(nbr, UK_DOT)
|
||||
#define __NBL LT(nbl, _______)
|
||||
#define __NBR LT(nbr, _______)
|
||||
|
||||
#define _C_SY LT(syl, UK_C)
|
||||
#define _COM_SY LT(syr, UK_COMM)
|
||||
#define __SYL LT(syl, _______)
|
||||
#define __SYR LT(syr, _______)
|
||||
|
||||
#define _V_NAL LT(nal, UK_V)
|
||||
#define _M_NAR LT(nar, UK_M)
|
||||
#define __NAL LT(nal, _______)
|
||||
#define __NAR LT(nar, _______)
|
||||
|
||||
// Custom hotkeys
|
||||
#define _TERM LCTL(UK_QUOT) // Hotkey for terminal
|
||||
#define _S_TAB S(KC_TAB)
|
||||
#define _C_LEFT LCTL(KC_LEFT)
|
||||
#define _C_RGHT LCTL(KC_RGHT)
|
||||
#define _A_LEFT LALT(KC_LEFT)
|
||||
#define _A_RGHT LALT(KC_RGHT)
|
||||
#define _VIM_ESC LCTL(KC_LBRC)
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* Colemak
|
||||
* .-----------------------------------------------------------------------------------------------------.
|
||||
* | Q | W | F | P | G | | | J | L | U | Y | ; |
|
||||
* |-----------------------------------------------------------------------------------------------------|
|
||||
* | A | R | S | T | D | | | H | N | E | I | O |
|
||||
* |-----------------------------------------------------------------------------------------------------|
|
||||
* | Z | X | C | V | B | DEL | DEL | K | M | , | . | / |
|
||||
* | SHIFT | NUMBER | SYMBOL | NAV | | | | | NAV | SYMBOL | FUNC | SHIFT |
|
||||
* |-----------------------------------------------------------------------------------------------------|
|
||||
* | LSHIFT | LCTRL | LALT | LGUI | SPACE | ENTER | BKSPC | RGUI | RALT | RCTRL | RSHIFT |
|
||||
* .-----------------------------------------------------------------------------------------------------.
|
||||
*/
|
||||
[cm] = LAYOUT_planck_mit(
|
||||
UK_Q, UK_W, UK_F, UK_P, UK_G, _______, _______, UK_J, UK_L, UK_U, UK_Y, UK_SCLN,
|
||||
UK_A, UK_R, UK_S, UK_T, UK_D, _______, _______, UK_H, UK_N, UK_E, UK_I, UK_O,
|
||||
_Z_SFT, _X_NB, _C_SY, _V_NAL, UK_B, KC_DEL, KC_DEL, UK_K, _M_NAR, _COM_SY, _DOT_NB, _SLSH,
|
||||
KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_ENT, KC_BSPC, KC_RGUI, KC_RALT, KC_RCTL, KC_RSFT
|
||||
),
|
||||
|
||||
/* Numbers _NB
|
||||
* .-----------------------------------------------------------------------------------------------------------.
|
||||
* | | F7 | F8 | F9 | F10 | | | | 7 | 8 | 9 | |
|
||||
* |-----------------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
|
||||
* | | F4 | F5 | F6 | F11 | | | | 4 | 5 | 6 | |
|
||||
* |-----------------+--------+--------+--------+--------+--------+--------+--------------------------+--------|
|
||||
* | | F1 | F2 | F3 | F12 | | | 0 | 1 | 2 | 3 | . |
|
||||
* |-----------------+--------+--------+--------+--------+--------+--------+-----------------+--------+--------|
|
||||
* | | | | | | | | | | | | |
|
||||
* '-----------------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
[nbl] = LAYOUT_planck_mit(
|
||||
_______, KC_F7, KC_F8, KC_F9, KC_F10, _______, _______, _______, KC_7, KC_8, KC_9, _______,
|
||||
_______, KC_F4, KC_F5, KC_F6, KC_F11, _______, _______, _______, KC_4, KC_5, KC_6, _______,
|
||||
_______, __NBL, KC_F2, KC_F3, KC_F12, _______, _______, KC_0, KC_1, KC_2, KC_3, KC_DOT,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
[nbr] = LAYOUT_planck_mit(
|
||||
_______, KC_F7, KC_F8, KC_F9, KC_F10, _______, _______, _______, KC_7, KC_8, KC_9, _______,
|
||||
_______, KC_F4, KC_F5, KC_F6, KC_F11, _______, _______, _______, KC_4, KC_5, KC_6, _______,
|
||||
_______, KC_F1, KC_F2, KC_F3, KC_F12, _______, _______, KC_0, KC_1, KC_2, __NBR, KC_DOT,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
/* Symbols _SY
|
||||
* .-----------------------------------------------------------------------------------------------------------.
|
||||
* | ! | £ | _ | - | ~ | | | \ | { | } | / | # |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
|
||||
* | $ | % | + | = | | | | " | ( | ) | ' | @ |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
|
||||
* | ^ | & | * | | | | | | < | [ | ] | > | ` |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
|
||||
* | | | | | | | | | | | | |
|
||||
* '-----------------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
[syl] = LAYOUT_planck_mit(
|
||||
UK_EXLM, UK_PND, UK_UNDS, UK_MINS, UK_TILD, _______, _______, UK_BSLS, UK_LCBR, UK_RCBR, UK_SLSH, UK_HASH,
|
||||
UK_DLR, UK_PERC, UK_PLUS, UK_EQL, _______, _______, _______, UK_DQUO, UK_LPRN, UK_RPRN, UK_QUOT, UK_AT,
|
||||
UK_CIRC, UK_AMPR, __SYL, UK_PIPE, _______, _______, _______, UK_LABK, UK_LBRC, UK_RBRC, UK_RABK, UK_GRV,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
[syr] = LAYOUT_planck_mit(
|
||||
UK_EXLM, UK_PND, UK_UNDS, UK_MINS, UK_TILD, _______, _______, UK_BSLS, UK_LCBR, UK_RCBR, UK_SLSH, UK_HASH,
|
||||
UK_DLR, UK_PERC, UK_PLUS, UK_EQL, _______, _______, _______, UK_DQUO, UK_LPRN, UK_RPRN, UK_QUOT, UK_AT,
|
||||
UK_CIRC, UK_AMPR, UK_ASTR, UK_PIPE, _______, _______, _______, UK_LABK, UK_LBRC, __SYR, UK_RABK, UK_GRV,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
/*
|
||||
* Navigation
|
||||
* .----------------------------------------------------------------------------------------------------------------.
|
||||
* | Ctrl [ | Ctrl L | Up | Ctrl R | | RGB HUE | RGB ON/OFF | | PtSn | ScLk | Pause | ESC |
|
||||
* +--------+--------+--------+--------+--------+---------+------------+--------+--------+--------+--------+--------|
|
||||
* | Tab | Left | Down | Right | | RGB SAT | | | Insert | Home | PgUp | Term |
|
||||
* +--------+--------+--------+--------+--------+---------+------------+--------+--------+--------+--------+--------|
|
||||
* | ShTab | Alt L | | Alt R | | RGB VAL | RESET | | Delete | End | PgDn | |
|
||||
* +--------+--------+--------+--------+--------+---------+------------+--------+--------+--------+--------+--------|
|
||||
* | | | | | | RGB MODE | | | | | |
|
||||
* '----------------------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
[nal] = LAYOUT_planck_mit(
|
||||
_VIM_ESC, _C_LEFT, KC_UP, _C_RGHT, _______, RGB_HUI, RGB_TOG, _______, KC_PSCR, KC_SCRL, KC_PAUS, KC_ESC,
|
||||
KC_TAB, KC_LEFT, KC_DOWN, KC_RGHT, _______, RGB_SAI, _______, _______, KC_INS, KC_HOME, KC_PGUP, _TERM,
|
||||
_S_TAB, _A_LEFT, _______, __NAL, _______, RGB_VAI, QK_BOOT, _______, KC_DEL, KC_END, KC_PGDN, _______,
|
||||
_______, _______, _______, _______, _______, RGB_MOD, _______, _______, _______, _______, _______
|
||||
),
|
||||
[nar] = LAYOUT_planck_mit(
|
||||
_VIM_ESC, _C_LEFT, KC_UP, _C_RGHT, _______, RGB_HUI, RGB_TOG, _______, KC_PSCR, KC_SCRL, KC_PAUS, KC_ESC,
|
||||
KC_TAB, KC_LEFT, KC_DOWN, KC_RGHT, _______, RGB_SAI, _______, _______, KC_INS, KC_HOME, KC_PGUP, _TERM,
|
||||
_S_TAB, _A_LEFT, _______, _A_RGHT, _______, RGB_VAI, QK_BOOT, _______, __NAR, KC_END, KC_PGDN, _______,
|
||||
_______, _______, _______, _______, _______, RGB_MOD, _______, _______, _______, _______, _______
|
||||
),
|
||||
};
|
@ -1,25 +0,0 @@
|
||||
# Skewwhiffy keymap
|
||||
|
||||
## Overview
|
||||
|
||||
A small-form ergonomic Colemak-based multi-layered layout, optimized for software engineering. Programmed to emulate a standard UK ISO keyboard.
|
||||
|
||||
Keyboard layout can be viewed [here](http://www.keyboard-layout-editor.com/#/gists/470f01e934c27d41491dea9ef5c6fde6)
|
||||
|
||||
[](https://postimg.cc/Lg9fh22f)
|
||||
|
||||
## Default layer
|
||||
|
||||
Colemak, with fingers right up to the edge of the keyboard. Layers and capital letters are accessed by holding down keys on the bottom row of letters (so, holding down Z will give you the capitals, holding down the X will give you the number layer).
|
||||
|
||||
## Number layer
|
||||
|
||||
Used to access numbers (on the right hand side of the keyboard) and function keys (on the left hand side of the keyboard). Hold down X or > to access.
|
||||
|
||||
## Symbol layer
|
||||
|
||||
Used to access symbols. Hold down C or < to access.
|
||||
|
||||
## Navigation layer
|
||||
|
||||
Used to access navigation and RGB control keys. Hold down V or M to access.
|
@ -1,219 +0,0 @@
|
||||
/* Copyright 2017 Kenny Hung
|
||||
*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "keymap_uk.h"
|
||||
|
||||
// Layer shorthand
|
||||
enum Layers {
|
||||
cm, // colemak
|
||||
dv, // dvorak
|
||||
qw, // qwerty
|
||||
nbl, // numbers left
|
||||
nbr, // numbers right
|
||||
syl, // symbols left
|
||||
syr, // symbols right
|
||||
nal, // navigation left
|
||||
nar // navigation right
|
||||
};
|
||||
|
||||
// Layer buttons
|
||||
#define _Z_SFT SFT_T(UK_Z)
|
||||
#define _SCLSH SFT_T(UK_SCLN)
|
||||
#define _SLSH SFT_T(UK_SLSH)
|
||||
|
||||
#define _X_NB LT(nbl, UK_X)
|
||||
#define _Q_NB LT(nbl, UK_Q)
|
||||
#define _DOT_NB LT(nbr, UK_DOT)
|
||||
#define _V_NB LT(nbr, UK_V)
|
||||
#define __NBL LT(nbl, _______)
|
||||
#define __NBR LT(nbr, _______)
|
||||
|
||||
#define _C_SY LT(syl, UK_C)
|
||||
#define _J_SY LT(syl, UK_J)
|
||||
#define _W_SY LT(syr, UK_W)
|
||||
#define _COM_SY LT(syr, UK_COMM)
|
||||
#define __SYL LT(syl, _______)
|
||||
#define __SYR LT(syr, _______)
|
||||
|
||||
#define _V_NAL LT(nal, UK_V)
|
||||
#define _K_NAL LT(nal, UK_K)
|
||||
#define _M_NAR LT(nar, UK_M)
|
||||
#define __NAL LT(nal, _______)
|
||||
#define __NAR LT(nar, _______)
|
||||
|
||||
// Custom hotkeys
|
||||
#define _TERM LCTL(UK_QUOT) // Hotkey for terminal
|
||||
#define _S_TAB S(KC_TAB)
|
||||
#define _C_LEFT LCTL(KC_LEFT)
|
||||
#define _C_RGHT LCTL(KC_RGHT)
|
||||
#define _A_LEFT LALT(KC_LEFT)
|
||||
#define _A_RGHT LALT(KC_RGHT)
|
||||
|
||||
// Custom hotkeys
|
||||
#define _TERM LCTL(UK_QUOT) // Hotkey for terminal
|
||||
#define _S_TAB S(KC_TAB)
|
||||
#define _C_LEFT LCTL(KC_LEFT)
|
||||
#define _C_RGHT LCTL(KC_RGHT)
|
||||
#define _A_LEFT LALT(KC_LEFT)
|
||||
#define _A_RGHT LALT(KC_RGHT)
|
||||
|
||||
enum custom_keycodes {
|
||||
IJ_OMN = SAFE_RANGE // IntelliJ Omnibox
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* Colemak
|
||||
* .-----------------------------------------------------------------------------------------------------------.
|
||||
* | Q | W | F | P | G | | | J | L | U | Y | ; |
|
||||
* |-----------------------------------------------------------------------------------------------------------|
|
||||
* | A | R | S | T | D | | | H | N | E | I | O |
|
||||
* |-----------------------------------------------------------------------------------------------------------|
|
||||
* | Z | X | C | V | B | | | K | M | , | . | / |
|
||||
* | SHIFT | NUMBER | SYMBOL | NAV | | | | | NAV | SYMBOL | FUNC | SHIFT |
|
||||
* |-----------------------------------------------------------------------------------------------------------|
|
||||
* | LSHIFT | LCTRL | LALT | LGUI | SPACE | ENT | DEL | BKSPC | RGUI | RALT | RCTRL | RSHIFT |
|
||||
* .-----------------------------------------------------------------------------------------------------------.
|
||||
*/
|
||||
[cm] = LAYOUT_ortho_4x12(
|
||||
UK_Q, UK_W, UK_F, UK_P, UK_G, _______, _______, UK_J, UK_L, UK_U, UK_Y, UK_SCLN,
|
||||
UK_A, UK_R, UK_S, UK_T, UK_D, _______, _______, UK_H, UK_N, UK_E, UK_I, UK_O,
|
||||
_Z_SFT, _X_NB, _C_SY, _V_NAL, UK_B, _______, _______, UK_K, _M_NAR, _COM_SY, _DOT_NB, _SLSH,
|
||||
KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_ENT, KC_DEL, KC_BSPC, KC_RGUI, KC_RALT, KC_RCTL, KC_RSFT
|
||||
),
|
||||
|
||||
/* Dvorak
|
||||
* .-----------------------------------------------------------------------------------------------------------.
|
||||
* | ' | , | . | P | Y | | | F | G | C | R | L |
|
||||
* |-----------------------------------------------------------------------------------------------------------|
|
||||
* | A | O | E | U | I | | | D | H | T | N | S |
|
||||
* |-----------------------------------------------------------------------------------------------------------|
|
||||
* | ; | Q | J | K | X | | | B | M | W | V | Z |
|
||||
* | SHIFT | NUMBER | SYMBOL | NAV | | | | | NAV | SYMBOL | FUNC | SHIFT |
|
||||
* |-----------------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | |
|
||||
* |-----------------------------------------------------------------------------------------------------------|
|
||||
*/
|
||||
[dv] = LAYOUT_ortho_4x12(
|
||||
UK_QUOT, UK_COMM, UK_DOT, UK_P, UK_Y, _______, _______, UK_F, UK_G, UK_C, UK_R, UK_L,
|
||||
UK_A, UK_O, UK_E, UK_U, UK_I, _______, _______, UK_D, UK_H, UK_T, UK_N, UK_S,
|
||||
_SCLSH, _Q_NB, _J_SY, _K_NAL, UK_X, _______, _______, UK_B, _M_NAR, _W_SY, _V_NB, _Z_SFT,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
/* QWERTY
|
||||
* .-----------------------------------------------------------------------------------------------------------.
|
||||
* | Q | W | E | R | T | | | Y | U | I | O | P |
|
||||
* |-----------------------------------------------------------------------------------------------------------|
|
||||
* | A | S | D | F | G | | | H | J | K | L | ; |
|
||||
* |-----------------------------------------------------------------------------------------------------------|
|
||||
* | Z | X | C | V | B | | | N | M | , | . | / |
|
||||
* | SHIFT | NUMBER | SYMBOL | NAV | | | | | NAV | SYMBOL | FUNC | SHIFT |
|
||||
* |-----------------------------------------------------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | |
|
||||
* .-----------------------------------------------------------------------------------------------------------.
|
||||
*/
|
||||
[qw] = LAYOUT_ortho_4x12(
|
||||
UK_Q, UK_W, UK_E, UK_R, UK_T, _______, _______, UK_Y, UK_U, UK_I, UK_O, UK_P,
|
||||
UK_A, UK_S, UK_D, UK_F, UK_G, _______, _______, UK_H, UK_J, UK_K, UK_L, UK_SCLN,
|
||||
_Z_SFT, _X_NB, _C_SY, _V_NAL, UK_B, _______, _______, UK_N, _M_NAR, _COM_SY, _DOT_NB, _SLSH,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
/* Numbers _NB
|
||||
* .-----------------------------------------------------------------------------------------------------------.
|
||||
* | | F7 | F8 | F9 | F10 | | | | 7 | 8 | 9 | |
|
||||
* |-----------------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
|
||||
* | | F4 | F5 | F6 | F11 | | | | 4 | 5 | 6 | |
|
||||
* |-----------------+--------+--------+--------+--------+--------+--------+--------------------------+--------|
|
||||
* | | F1 | F2 | F3 | F12 | | | 0 | 1 | 2 | 3 | . |
|
||||
* |-----------------+--------+--------+--------+--------+--------+--------+-----------------+--------+--------|
|
||||
* | | | | | | | | | | | | |
|
||||
* '-----------------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
[nbl] = LAYOUT_ortho_4x12(
|
||||
_______, KC_F7, KC_F8, KC_F9, KC_F10, _______, _______, _______, UK_7, UK_8, UK_9, _______,
|
||||
_______, KC_F4, KC_F5, KC_F6, KC_F11, _______, _______, _______, UK_4, UK_5, UK_6, _______,
|
||||
_______, __NBL, KC_F2, KC_F3, KC_F12, _______, _______, UK_0, UK_1, UK_2, UK_3, UK_DOT,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
[nbr] = LAYOUT_ortho_4x12(
|
||||
_______, KC_F7, KC_F8, KC_F9, KC_F10, _______, _______, _______, UK_7, UK_8, UK_9, _______,
|
||||
_______, KC_F4, KC_F5, KC_F6, KC_F11, _______, _______, _______, UK_4, UK_5, UK_6, _______,
|
||||
_______, KC_F1, KC_F2, KC_F3, KC_F12, _______, _______, UK_0, UK_1, UK_2, __NBR, UK_DOT,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
/* Symbols _SY
|
||||
* .-----------------------------------------------------------------------------------------------------------.
|
||||
* | ! | £ | _ | - | ~ | | | \ | { | } | / | # |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
|
||||
* | $ | % | + | = | | | | " | ( | ) | ' | @ |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
|
||||
* | ^ | & | * | | | | | | < | [ | ] | > | ` |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
|
||||
* | | | | | | | | | | | | |
|
||||
* '-----------------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
[syl] = LAYOUT_ortho_4x12(
|
||||
UK_EXLM, UK_PND, UK_UNDS, UK_MINS, UK_TILD, _______, _______, UK_BSLS, UK_LCBR, UK_RCBR, UK_SLSH, UK_HASH,
|
||||
UK_DLR, UK_PERC, UK_PLUS, UK_EQL, _______, _______, _______, UK_DQUO, UK_LPRN, UK_RPRN, UK_QUOT, UK_AT,
|
||||
UK_CIRC, UK_AMPR, __SYL, UK_PIPE, _______, _______, _______, UK_LABK, UK_LBRC, UK_RBRC, UK_RABK, UK_GRV,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
[syr] = LAYOUT_ortho_4x12(
|
||||
UK_EXLM, UK_PND, UK_UNDS, UK_MINS, UK_TILD, _______, _______, UK_BSLS, UK_LCBR, UK_RCBR, UK_SLSH, UK_HASH,
|
||||
UK_DLR, UK_PERC, UK_PLUS, UK_EQL, _______, _______, _______, UK_DQUO, UK_LPRN, UK_RPRN, UK_QUOT, UK_AT,
|
||||
UK_CIRC, UK_AMPR, UK_ASTR, UK_PIPE, _______, _______, _______, UK_LABK, UK_LBRC, __SYR, UK_RABK, UK_GRV,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
/*
|
||||
* Navigation
|
||||
* .-----------------------------------------------------------------------------------------------------------.
|
||||
* | Esc | Ctrl L | Up | Ctrl R | RGB RMD| RGB HD | RGB HI | RGB_TG | PtSn | ScLk | Pause | DVORAK |
|
||||
* +--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
|
||||
* | Tab | Left | Down | Right | RGB MD | RGB SD | RGB SI | COLEMAK| Insert | Home | PgUp | Term |
|
||||
* +--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
|
||||
* | ShTab | Alt L | IJ Omni| Alt R | | RGB VD | RGB VI | | ScLk | End | PgDn | QWERTY |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
|
||||
* | | | | | | | | | | | | |
|
||||
* '-----------------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
[nal] = LAYOUT_ortho_4x12(
|
||||
KC_ESC, _C_LEFT, KC_UP, _C_RGHT, RGB_RMOD,RGB_HUD, RGB_HUI, RGB_TOG, KC_PSCR, KC_SCRL, KC_PAUS, DF(dv),
|
||||
KC_TAB, KC_LEFT, KC_DOWN, KC_RGHT, RGB_MOD, RGB_SAD, RGB_SAI, DF(cm), KC_INS, KC_HOME, KC_PGUP, _TERM,
|
||||
_S_TAB, _A_LEFT, IJ_OMN, __NAL, _______, RGB_VAD, RGB_VAI, _______, KC_SCRL, KC_END, KC_PGDN, DF(qw),
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
[nar] = LAYOUT_ortho_4x12(
|
||||
KC_ESC, _C_LEFT, KC_UP, _C_RGHT, RGB_RMOD,RGB_HUD, RGB_HUI, RGB_TOG, KC_PSCR, KC_SCRL, KC_PAUS, DF(dv),
|
||||
KC_TAB, KC_LEFT, KC_DOWN, KC_RGHT, RGB_MOD, RGB_SAD, RGB_SAI, DF(cm), KC_INS, KC_HOME, KC_PGUP, _TERM,
|
||||
_S_TAB, _A_LEFT, IJ_OMN, _A_RGHT, _______, RGB_VAD, RGB_VAI, _______, __NAR, KC_END, KC_PGDN, DF(qw),
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
};
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
if (record->event.pressed) {
|
||||
switch(keycode) {
|
||||
case IJ_OMN:
|
||||
SEND_STRING(SS_TAP(X_LSFT)SS_TAP(X_LSFT));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
/* Copyright 2019 Devinceble AKA Vimwarrior
|
||||
*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT_default(
|
||||
KC_INS, KC_ESC, 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_BSLS, KC_GRV,
|
||||
KC_PGUP, 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_BSPC,
|
||||
KC_PGDN, 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_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1),
|
||||
KC_LALT, KC_LGUI, KC_SPC, MO(2), KC_SPC, KC_RALT, KC_RCTL
|
||||
),
|
||||
[1] = LAYOUT_default(
|
||||
KC_TRNS, KC_TRNS, 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_TRNS, KC_DEL,
|
||||
KC_TRNS, KC_TRNS, KC_BTN1, KC_MS_U, KC_BTN2, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_MS_L, KC_MS_D, KC_MS_R, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_RGHT, 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_DOWN, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||
),
|
||||
[2] = LAYOUT_default(
|
||||
RGB_TOG, KC_TRNS, 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_TRNS, KC_DEL,
|
||||
RGB_MOD, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, RGB_SAI, RGB_HUI, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
RGB_RMOD, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, RGB_SAD, RGB_HUD, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, BL_UP, BL_DOWN,BL_TOGG, BL_BRTG, 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, QK_BOOT
|
||||
),
|
||||
};
|
@ -1,9 +0,0 @@
|
||||
# Devinceble AKA Vimwarrior ProjectKeyboard Alice
|
||||
|
||||
Build Hex File:
|
||||
|
||||
make projectkb/alice:devinceble
|
||||
|
||||
Flash Keyboard
|
||||
|
||||
make projectkb/alice:devinceble:flash
|
@ -1 +0,0 @@
|
||||
MOUSEKEY_ENABLE = yes
|
@ -1,37 +0,0 @@
|
||||
/*
|
||||
* Copyright 2023 Raster Software Vigo
|
||||
*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT_hybrid(
|
||||
KC_ESC, 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_PSCR, KC_SCRL, KC_PAUS,
|
||||
KC_GRV, 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_HOME, KC_END,
|
||||
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_NUHS, KC_INS, KC_PGUP,
|
||||
KC_CAPS, 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_DEL, KC_PGDN,
|
||||
KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, LT(1, KC_APP),
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_APP, KC_RGUI, KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
[1] = LAYOUT_hybrid(
|
||||
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||
XXXXXXX, RGB_TOG, RGB_MODE_FORWARD, RGB_MODE_REVERSE, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_MUTE, XXXXXXX,
|
||||
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_VOLU, XXXXXXX,
|
||||
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_VOLD, KC_VOLD, KC_VOLU
|
||||
),
|
||||
};
|
@ -1,11 +0,0 @@
|
||||
# The HYBRID keymap for MiniTKL
|
||||
|
||||

|
||||
|
||||
This keymap is designed to be able to have an ISO keyboard with the ANSI Return
|
||||
key. This is useful in, at least, two cases:
|
||||
|
||||
* some programmers prefer the ANSI key, but want to use European languages.
|
||||
* some keycaps come without ISO return key, even for European languages layouts.
|
||||
|
||||
The `Fn` key trigger `KC_APP` when tapped, and activate Layer 1 when held.
|
@ -1,4 +1,4 @@
|
||||
/* Copyright 2017 Benjamin Kesselring
|
||||
/* Copyright 2022 splitkb.com <support@splitkb.com>
|
||||
*
|
||||
* 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
|
||||
@ -16,4 +16,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
// place overrides here
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
# define RGBLIGHT_EFFECT_BREATHING
|
||||
#endif
|
73
keyboards/splitkb/aurora/corne/keymaps/debug/keymap.c
Normal file
73
keyboards/splitkb/aurora/corne/keymaps/debug/keymap.c
Normal file
@ -0,0 +1,73 @@
|
||||
/* Copyright 2022 splitkb.com <support@splitkb.com>
|
||||
*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
enum layers {
|
||||
_DEFAULT = 0,
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[_DEFAULT] = LAYOUT_split_3x6_3(
|
||||
KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, S(KC_F), S(KC_E), S(KC_D), S(KC_C), S(KC_B), S(KC_A),
|
||||
KC_G, KC_H, KC_I, KC_J, KC_K, KC_L, S(KC_L), S(KC_K), S(KC_J), S(KC_I), S(KC_H), S(KC_G),
|
||||
KC_M, KC_N, KC_O, KC_P, KC_Q, KC_R, S(KC_R), S(KC_Q), S(KC_P), S(KC_O), S(KC_N), S(KC_M),
|
||||
KC_S, KC_T, KC_U, S(KC_U), S(KC_T), S(KC_S)
|
||||
)
|
||||
};
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
void keyboard_post_init_user(void) {
|
||||
rgblight_enable_noeeprom(); // enables RGB, without saving settings
|
||||
rgblight_sethsv_noeeprom(HSV_RED); // sets the color to red without saving
|
||||
rgblight_mode_noeeprom(RGBLIGHT_MODE_BREATHING + 3); // sets mode to Fast breathing without saving
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef ENCODER_ENABLE
|
||||
bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||
// 0 is left-half encoder,
|
||||
// 1 is right-half encoder
|
||||
if (index == 0) {
|
||||
tap_code(KC_0);
|
||||
} else if (index == 1) {
|
||||
tap_code(KC_1);
|
||||
}
|
||||
|
||||
if (clockwise) {
|
||||
tap_code16(KC_PLUS);
|
||||
} else {
|
||||
tap_code(KC_MINUS);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef OLED_ENABLE
|
||||
bool oled_task_user(void) {
|
||||
// A 128x32 OLED rotated 90 degrees is 5 characters wide and 16 characters tall
|
||||
// This example string should fill that neatly
|
||||
const char *text = PSTR("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789!@#$%^&*()[]{}-=_+?");
|
||||
|
||||
if (is_keyboard_master()) {
|
||||
oled_write_P(text, false);
|
||||
} else {
|
||||
oled_write_P(text, false);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
#endif
|
24
keyboards/splitkb/aurora/corne/keymaps/debug/readme.md
Normal file
24
keyboards/splitkb/aurora/corne/keymaps/debug/readme.md
Normal file
@ -0,0 +1,24 @@
|
||||
# Aurora Corne's Debug Keymap
|
||||
|
||||
To make debugging your build as easy as possible, we have provided a special debugging keymap. It is not intended to actually type on, it is just here to make sure that your hardware is working correctly.
|
||||
|
||||
## Keys
|
||||
|
||||

|
||||
|
||||
The left side uses lowercase letters, the right side uses uppercase ones.
|
||||
|
||||
## Encoders
|
||||
|
||||
Encoders output a number of 0 or 1, depending on the installed position.
|
||||
These correspond to the index used for custom encoder code.
|
||||
|
||||
The number is followed by either a `+` or a `-`, depending on the direction turned.
|
||||
|
||||
## LEDs
|
||||
|
||||
Both underglow and per-key RGB should be fading between red and off.
|
||||
|
||||
## OLEDs
|
||||
|
||||
Both the primary and secondary side should be filled with characters.
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2018 Josh Turner (/u/tdl-jturner)
|
||||
# Copyright 2022 splitkb.com <support@splitkb.com>
|
||||
#
|
||||
# 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
|
||||
@ -13,8 +13,11 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
TAP_DANCE_ENABLE = yes
|
||||
MOUSEKEY_ENABLE = yes
|
||||
BACKLIGHT_ENABLE = yes
|
||||
RGBLIGHT_ENABLE = yes
|
||||
# NOTE: These are already enabled by default at the revision level
|
||||
#ENCODER_ENABLE = yes
|
||||
#OLED_ENABLE = yes
|
||||
|
||||
# RGB Matrix is enabled at the revision level,
|
||||
# while we use the regular RGB underglow for testing
|
||||
RGB_MATRIX_ENABLE = no
|
||||
RGBLIGHT_ENABLE = yes
|
6
keyboards/xiudi/xd75/keymaps/clanghans/config.h → keyboards/splitkb/aurora/helix/keymaps/debug/config.h
Executable file → Normal file
6
keyboards/xiudi/xd75/keymaps/clanghans/config.h → keyboards/splitkb/aurora/helix/keymaps/debug/config.h
Executable file → Normal file
@ -1,4 +1,4 @@
|
||||
/* Copyright 2020 Chris Langhans
|
||||
/* Copyright 2023 splitkb.com <support@splitkb.com>
|
||||
*
|
||||
* 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
|
||||
@ -16,6 +16,4 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGBLIGHT_SLEEP
|
||||
|
||||
// place overrides here
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
68
keyboards/splitkb/aurora/helix/keymaps/debug/keymap.c
Normal file
68
keyboards/splitkb/aurora/helix/keymaps/debug/keymap.c
Normal file
@ -0,0 +1,68 @@
|
||||
/* Copyright 2023 splitkb.com <support@splitkb.com>
|
||||
*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
enum layers {
|
||||
_DEFAULT = 0,
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[_DEFAULT] = LAYOUT(
|
||||
KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, S(KC_F), S(KC_E), S(KC_D), S(KC_C), S(KC_B), S(KC_A),
|
||||
KC_G, KC_H, KC_I, KC_J, KC_K, KC_L, S(KC_L), S(KC_K), S(KC_J), S(KC_I), S(KC_H), S(KC_G),
|
||||
KC_M, KC_N, KC_O, KC_P, KC_Q, KC_R, S(KC_R), S(KC_Q), S(KC_P), S(KC_O), S(KC_N), S(KC_M),
|
||||
KC_S, KC_T, KC_U, KC_V, KC_W, KC_X, KC_Y, S(KC_Y), S(KC_X), S(KC_W), S(KC_V), S(KC_U), S(KC_T), S(KC_S),
|
||||
KC_Z, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, S(KC_6), S(KC_5), S(KC_4), S(KC_3), S(KC_2), S(KC_1), S(KC_Z)
|
||||
)
|
||||
};
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
void keyboard_post_init_user(void) {
|
||||
rgblight_enable_noeeprom(); // enables RGB, without saving settings
|
||||
rgblight_sethsv_noeeprom(HSV_RED); // sets the color to red without saving
|
||||
rgblight_mode_noeeprom(RGBLIGHT_MODE_BREATHING + 3); // sets mode to Fast breathing without saving
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef ENCODER_ENABLE
|
||||
bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||
// 0 is left-half encoder
|
||||
// 1 is right-half encoder
|
||||
if (index == 0) {
|
||||
tap_code(KC_0);
|
||||
} else if (index == 1) {
|
||||
tap_code(KC_1);
|
||||
}
|
||||
|
||||
if (clockwise) {
|
||||
tap_code16(KC_PLUS);
|
||||
} else {
|
||||
tap_code(KC_MINUS);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef OLED_ENABLE
|
||||
bool oled_task_user(void) {
|
||||
// A 128x32 OLED rotated 90 degrees is 5 characters wide and 16 characters tall
|
||||
// This example string should fill that neatly
|
||||
oled_write_P(PSTR("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789!@#$%^&*()[]{}-=_+?"), false);
|
||||
return false;
|
||||
}
|
||||
#endif
|
24
keyboards/splitkb/aurora/helix/keymaps/debug/readme.md
Normal file
24
keyboards/splitkb/aurora/helix/keymaps/debug/readme.md
Normal file
@ -0,0 +1,24 @@
|
||||
# Aurora Helix's Debug Keymap
|
||||
|
||||
To make debugging your build as easy as possible, we have provided a special debugging keymap. It is not intended to actually type on, it is just here to make sure that your hardware is working correctly.
|
||||
|
||||
## Keys
|
||||
|
||||

|
||||
|
||||
The left side uses lowercase letters, the right side uses uppercase ones.
|
||||
|
||||
## Encoders
|
||||
|
||||
Encoders output a number of 0 or 1, depending on the installed position.
|
||||
These correspond to the index used for custom encoder code: the left half uses index 0, the right half uses index 1.
|
||||
|
||||
The number is followed by either a `+` or a `-`, depending on the direction turned.
|
||||
|
||||
## LEDs
|
||||
|
||||
Both underglow and per-key RGB should be fading between red and off.
|
||||
|
||||
## OLEDs
|
||||
|
||||
Both the primary and secondary side should be filled with characters.
|
8
keyboards/splitkb/aurora/helix/keymaps/debug/rules.mk
Normal file
8
keyboards/splitkb/aurora/helix/keymaps/debug/rules.mk
Normal file
@ -0,0 +1,8 @@
|
||||
# NOTE: These are already enabled by default at the revision level
|
||||
#ENCODER_ENABLE = yes
|
||||
#OLED_ENABLE = yes
|
||||
|
||||
# RGB Matrix is enabled at the revision level,
|
||||
# while we use the regular RGB underglow for testing
|
||||
RGB_MATRIX_ENABLE = no
|
||||
RGBLIGHT_ENABLE = yes
|
@ -1,4 +1,4 @@
|
||||
/* Copyright 2018 'mechmerlin'
|
||||
/* Copyright 2022 splitkb.com <support@splitkb.com>
|
||||
*
|
||||
* 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
|
||||
@ -16,4 +16,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
// place overrides here
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
# define RGBLIGHT_EFFECT_BREATHING
|
||||
#endif
|
75
keyboards/splitkb/aurora/lily58/keymaps/debug/keymap.c
Normal file
75
keyboards/splitkb/aurora/lily58/keymaps/debug/keymap.c
Normal file
@ -0,0 +1,75 @@
|
||||
/* Copyright 2022 splitkb.com <support@splitkb.com>
|
||||
*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
enum layers {
|
||||
_DEFAULT = 0,
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[_DEFAULT] = LAYOUT(
|
||||
KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, S(KC_F), S(KC_E), S(KC_D), S(KC_C), S(KC_B), S(KC_A),
|
||||
KC_G, KC_H, KC_I, KC_J, KC_K, KC_L, S(KC_L), S(KC_K), S(KC_J), S(KC_I), S(KC_H), S(KC_G),
|
||||
KC_M, KC_N, KC_O, KC_P, KC_Q, KC_R, S(KC_R), S(KC_Q), S(KC_P), S(KC_O), S(KC_N), S(KC_M),
|
||||
KC_S, KC_T, KC_U, KC_V, KC_W, KC_X, KC_Y, S(KC_Y), S(KC_X), S(KC_W), S(KC_V), S(KC_U), S(KC_T), S(KC_S),
|
||||
KC_Z, KC_1, KC_2, KC_3, S(KC_3), S(KC_2), S(KC_1), S(KC_Z)
|
||||
|
||||
)
|
||||
};
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
void keyboard_post_init_user(void) {
|
||||
rgblight_enable_noeeprom(); // enables RGB, without saving settings
|
||||
rgblight_sethsv_noeeprom(HSV_RED); // sets the color to red without saving
|
||||
rgblight_mode_noeeprom(RGBLIGHT_MODE_BREATHING + 3); // sets mode to Fast breathing without saving
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef ENCODER_ENABLE
|
||||
bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||
// 0 is left-half encoder
|
||||
// 1 is right-half encoder
|
||||
if (index == 0) {
|
||||
tap_code(KC_0);
|
||||
} else if (index == 1) {
|
||||
tap_code(KC_1);
|
||||
}
|
||||
|
||||
if (clockwise) {
|
||||
tap_code16(KC_PLUS);
|
||||
} else {
|
||||
tap_code(KC_MINUS);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef OLED_ENABLE
|
||||
bool oled_task_user(void) {
|
||||
// A 128x32 OLED rotated 90 degrees is 5 characters wide and 16 characters tall
|
||||
// This example string should fill that neatly
|
||||
const char *text = PSTR("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789!@#$%^&*()[]{}-=_+?");
|
||||
|
||||
if (is_keyboard_master()) {
|
||||
oled_write_P(text, false);
|
||||
} else {
|
||||
oled_write_P(text, false);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
#endif
|
24
keyboards/splitkb/aurora/lily58/keymaps/debug/readme.md
Normal file
24
keyboards/splitkb/aurora/lily58/keymaps/debug/readme.md
Normal file
@ -0,0 +1,24 @@
|
||||
# Aurora Lily58's Debug Keymap
|
||||
|
||||
To make debugging your build as easy as possible, we have provided a special debugging keymap. It is not intended to actually type on, it is just here to make sure that your hardware is working correctly.
|
||||
|
||||
## Keys
|
||||
|
||||

|
||||
|
||||
The left side uses lowercase letters, the right side uses uppercase ones.
|
||||
|
||||
## Encoders
|
||||
|
||||
Encoders output a number of 0 or 1, depending on the installed position.
|
||||
These correspond to the index used for custom encoder code: the left half uses index 0, the right half uses index 1.
|
||||
|
||||
The number is followed by either a `+` or a `-`, depending on the direction turned.
|
||||
|
||||
## LEDs
|
||||
|
||||
Both underglow and per-key RGB should be fading between red and off.
|
||||
|
||||
## OLEDs
|
||||
|
||||
Both the primary and secondary side should be filled with characters.
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2013 Jun Wako <wakojun@gmail.com>
|
||||
# Copyright 2022 splitkb.com <support@splitkb.com>
|
||||
#
|
||||
# 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
|
||||
@ -13,9 +13,11 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
RGBLIGHT_ENABLE = yes
|
||||
TAP_DANCE_ENABLE = yes
|
||||
UNICODE_ENABLE = no
|
||||
SLEEP_LED_ENABLE = no
|
||||
BACKLIGHT_ENABLE = no
|
||||
# NOTE: These are already enabled by default at the revision level
|
||||
#ENCODER_ENABLE = yes
|
||||
#OLED_ENABLE = yes
|
||||
|
||||
# RGB Matrix is enabled at the revision level,
|
||||
# while we use the regular RGB underglow for testing
|
||||
RGB_MATRIX_ENABLE = no
|
||||
RGBLIGHT_ENABLE = yes
|
@ -1,4 +1,4 @@
|
||||
/* Copyright 2022 david l goodrich <dlg@dsrw.org>
|
||||
/* Copyright 2023 splitkb.com <support@splitkb.com>
|
||||
*
|
||||
* 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
|
||||
@ -16,4 +16,4 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define GRAVE_ESC_ALT_OVERRIDE
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
69
keyboards/splitkb/aurora/sofle_v2/keymaps/debug/keymap.c
Normal file
69
keyboards/splitkb/aurora/sofle_v2/keymaps/debug/keymap.c
Normal file
@ -0,0 +1,69 @@
|
||||
/* Copyright 2023 splitkb.com <support@splitkb.com>
|
||||
*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
enum layers {
|
||||
_DEFAULT = 0,
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[_DEFAULT] = LAYOUT(
|
||||
KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, S(KC_F), S(KC_E), S(KC_D), S(KC_C), S(KC_B), S(KC_A),
|
||||
KC_G, KC_H, KC_I, KC_J, KC_K, KC_L, S(KC_L), S(KC_K), S(KC_J), S(KC_I), S(KC_H), S(KC_G),
|
||||
KC_M, KC_N, KC_O, KC_P, KC_Q, KC_R, S(KC_R), S(KC_Q), S(KC_P), S(KC_O), S(KC_N), S(KC_M),
|
||||
KC_S, KC_T, KC_U, KC_V, KC_W, KC_X, KC_Y, S(KC_Y), S(KC_X), S(KC_W), S(KC_V), S(KC_U), S(KC_T), S(KC_S),
|
||||
KC_Z, KC_1, KC_2, KC_3, KC_4, S(KC_4), S(KC_3), S(KC_2), S(KC_1), S(KC_Z)
|
||||
|
||||
)
|
||||
};
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
void keyboard_post_init_user(void) {
|
||||
rgblight_enable_noeeprom(); // enables RGB, without saving settings
|
||||
rgblight_sethsv_noeeprom(HSV_RED); // sets the color to red without saving
|
||||
rgblight_mode_noeeprom(RGBLIGHT_MODE_BREATHING + 3); // sets mode to Fast breathing without saving
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef ENCODER_ENABLE
|
||||
bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||
// 0 is left-half encoder
|
||||
// 1 is right-half encoder
|
||||
if (index == 0) {
|
||||
tap_code(KC_0);
|
||||
} else if (index == 1) {
|
||||
tap_code(KC_1);
|
||||
}
|
||||
|
||||
if (clockwise) {
|
||||
tap_code16(KC_PLUS);
|
||||
} else {
|
||||
tap_code(KC_MINUS);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef OLED_ENABLE
|
||||
bool oled_task_user(void) {
|
||||
// A 128x32 OLED rotated 90 degrees is 5 characters wide and 16 characters tall
|
||||
// This example string should fill that neatly
|
||||
oled_write_P(PSTR("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789!@#$%^&*()[]{}-=_+?"), false);
|
||||
return false;
|
||||
}
|
||||
#endif
|
24
keyboards/splitkb/aurora/sofle_v2/keymaps/debug/readme.md
Normal file
24
keyboards/splitkb/aurora/sofle_v2/keymaps/debug/readme.md
Normal file
@ -0,0 +1,24 @@
|
||||
# Aurora Sofle's Debug Keymap
|
||||
|
||||
To make debugging your build as easy as possible, we have provided a special debugging keymap. It is not intended to actually type on, it is just here to make sure that your hardware is working correctly.
|
||||
|
||||
## Keys
|
||||
|
||||

|
||||
|
||||
The left side uses lowercase letters, the right side uses uppercase ones.
|
||||
|
||||
## Encoders
|
||||
|
||||
Encoders output a number of 0 or 1, depending on the installed position.
|
||||
These correspond to the index used for custom encoder code: the left half uses index 0, the right half uses index 1.
|
||||
|
||||
The number is followed by either a `+` or a `-`, depending on the direction turned.
|
||||
|
||||
## LEDs
|
||||
|
||||
Both underglow and per-key RGB should be fading between red and off.
|
||||
|
||||
## OLEDs
|
||||
|
||||
Both the primary and secondary side should be filled with characters.
|
8
keyboards/splitkb/aurora/sofle_v2/keymaps/debug/rules.mk
Normal file
8
keyboards/splitkb/aurora/sofle_v2/keymaps/debug/rules.mk
Normal file
@ -0,0 +1,8 @@
|
||||
# NOTE: These are already enabled by default at the revision level
|
||||
#ENCODER_ENABLE = yes
|
||||
#OLED_ENABLE = yes
|
||||
|
||||
# RGB Matrix is enabled at the revision level,
|
||||
# while we use the regular RGB underglow for testing
|
||||
RGB_MATRIX_ENABLE = no
|
||||
RGBLIGHT_ENABLE = yes
|
21
keyboards/splitkb/aurora/sweep/keymaps/debug/config.h
Normal file
21
keyboards/splitkb/aurora/sweep/keymaps/debug/config.h
Normal file
@ -0,0 +1,21 @@
|
||||
/* Copyright 2022 splitkb.com <support@splitkb.com>
|
||||
*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
# define RGBLIGHT_EFFECT_BREATHING
|
||||
#endif
|
77
keyboards/splitkb/aurora/sweep/keymaps/debug/keymap.c
Normal file
77
keyboards/splitkb/aurora/sweep/keymaps/debug/keymap.c
Normal file
@ -0,0 +1,77 @@
|
||||
/* Copyright 2022 splitkb.com <support@splitkb.com>
|
||||
*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
enum layers {
|
||||
_DEFAULT = 0,
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[_DEFAULT] = LAYOUT(
|
||||
KC_A, KC_B, KC_C, KC_D, KC_E, S(KC_E), S(KC_D), S(KC_C), S(KC_B), S(KC_A),
|
||||
KC_F, KC_G, KC_H, KC_I, KC_J, S(KC_J), S(KC_I), S(KC_H), S(KC_G), S(KC_F),
|
||||
KC_K, KC_L, KC_M, KC_N, KC_O, S(KC_O), S(KC_N), S(KC_M), S(KC_L), S(KC_K),
|
||||
KC_P, KC_Q, S(KC_Q), S(KC_P)
|
||||
)
|
||||
};
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
void keyboard_post_init_user(void) {
|
||||
rgblight_enable_noeeprom(); // enables RGB, without saving settings
|
||||
rgblight_sethsv_noeeprom(HSV_RED); // sets the color to red without saving
|
||||
rgblight_mode_noeeprom(RGBLIGHT_MODE_BREATHING + 3); // sets mode to Fast breathing without saving
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef ENCODER_ENABLE
|
||||
bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||
// 0 and 1 are left-half encoders
|
||||
// 2 and 3 are right-half encoders
|
||||
if (index == 0) {
|
||||
tap_code(KC_0);
|
||||
} else if (index == 1) {
|
||||
tap_code(KC_1);
|
||||
} else if (index == 2) {
|
||||
tap_code(KC_2);
|
||||
} else if (index == 3) {
|
||||
tap_code(KC_3);
|
||||
}
|
||||
|
||||
if (clockwise) {
|
||||
tap_code16(KC_PLUS);
|
||||
} else {
|
||||
tap_code(KC_MINUS);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef OLED_ENABLE
|
||||
bool oled_task_user(void) {
|
||||
// A 128x32 OLED rotated 90 degrees is 5 characters wide and 16 characters tall
|
||||
// This example string should fill that neatly
|
||||
const char *text = PSTR("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789!@#$%^&*()[]{}-=_+?");
|
||||
|
||||
if (is_keyboard_master()) {
|
||||
oled_write_P(text, false);
|
||||
} else {
|
||||
oled_write_P(text, false);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
#endif
|
25
keyboards/splitkb/aurora/sweep/keymaps/debug/readme.md
Normal file
25
keyboards/splitkb/aurora/sweep/keymaps/debug/readme.md
Normal file
@ -0,0 +1,25 @@
|
||||
# Aurora Sweep's Debug Keymap
|
||||
|
||||
Due to the complex layer setup, the default keymap for the Aurora Sweep is relatively hard to debug.
|
||||
This debug keymap should make that a lot easier.
|
||||
|
||||
## Keys
|
||||
|
||||

|
||||
|
||||
The left side uses lowercase letters, the right side uses uppercase ones.
|
||||
|
||||
## Encoders
|
||||
|
||||
Encoders output a number of 0 to 3, depending on the installed position.
|
||||
These correspond to the index used for custom encoder code.
|
||||
|
||||
The number is followed by either a `+` or a `-`, depending on the direction turned.
|
||||
|
||||
## LEDs
|
||||
|
||||
Both underglow and per-key RGB should be fading between red and off.
|
||||
|
||||
## OLEDs
|
||||
|
||||
Both the primary and secondary side should be filled with characters.
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2013 Jun Wako <wakojun@gmail.com>
|
||||
# Copyright 2022 splitkb.com <support@splitkb.com>
|
||||
#
|
||||
# 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
|
||||
@ -13,6 +13,11 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
||||
BACKLIGHT_ENABLE = yes
|
||||
# NOTE: These are already enabled by default at the revision level
|
||||
#ENCODER_ENABLE = yes
|
||||
#OLED_ENABLE = yes
|
||||
|
||||
# RGB Matrix is enabled at the revision level,
|
||||
# while we use the regular RGB underglow for testing
|
||||
RGB_MATRIX_ENABLE = no
|
||||
RGBLIGHT_ENABLE = yes
|
21
keyboards/splitkb/kyria/keymaps/debug/config.h
Normal file
21
keyboards/splitkb/kyria/keymaps/debug/config.h
Normal file
@ -0,0 +1,21 @@
|
||||
/* Copyright 2022 splitkb.com <support@splitkb.com>
|
||||
*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
# define RGBLIGHT_EFFECT_BREATHING
|
||||
#endif
|
73
keyboards/splitkb/kyria/keymaps/debug/keymap.c
Normal file
73
keyboards/splitkb/kyria/keymaps/debug/keymap.c
Normal file
@ -0,0 +1,73 @@
|
||||
/* Copyright 2022 splitkb.com <support@splitkb.com>
|
||||
*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
enum layers {
|
||||
_DEFAULT = 0,
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[_DEFAULT] = LAYOUT(
|
||||
KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, S(KC_F), S(KC_E), S(KC_D), S(KC_C), S(KC_B), S(KC_A),
|
||||
KC_G, KC_H, KC_I, KC_J, KC_K, KC_L, S(KC_L), S(KC_K), S(KC_J), S(KC_I), S(KC_H), S(KC_G),
|
||||
KC_M, KC_N, KC_O, KC_P, KC_Q, KC_R, KC_S, KC_T, S(KC_T), S(KC_S), S(KC_R), S(KC_Q), S(KC_P), S(KC_O), S(KC_N), S(KC_M),
|
||||
KC_U, KC_V, KC_W, KC_X, KC_Y, S(KC_Y), S(KC_X), S(KC_W), S(KC_V), S(KC_U)
|
||||
)
|
||||
};
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
void keyboard_post_init_user(void) {
|
||||
rgblight_enable_noeeprom(); // enables RGB, without saving settings
|
||||
rgblight_sethsv_noeeprom(HSV_RED); // sets the color to red without saving
|
||||
rgblight_mode_noeeprom(RGBLIGHT_MODE_BREATHING + 3); // sets mode to Fast breathing without saving
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef ENCODER_ENABLE
|
||||
bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||
// 0 is left-half encoder,
|
||||
// 1 is right-half encoder
|
||||
if (index == 0) {
|
||||
tap_code(KC_0);
|
||||
} else if (index == 1) {
|
||||
tap_code(KC_1);
|
||||
}
|
||||
|
||||
if (clockwise) {
|
||||
tap_code16(KC_PLUS);
|
||||
} else {
|
||||
tap_code(KC_MINUS);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef OLED_ENABLE
|
||||
bool oled_task_user(void) {
|
||||
// A 128x64 OLED rotated 180 degrees is 21 characters wide and 8 characters tall
|
||||
// This example string should fill that neatly
|
||||
const char *text = PSTR("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789!@#$%^&*()[]{}-=_+?/,.|abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789!@#$%^&*()[]{}-=_+?/,.|");
|
||||
|
||||
if (is_keyboard_master()) {
|
||||
oled_write_P(text, false);
|
||||
} else {
|
||||
oled_write_P(text, false);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
#endif
|
24
keyboards/splitkb/kyria/keymaps/debug/readme.md
Normal file
24
keyboards/splitkb/kyria/keymaps/debug/readme.md
Normal file
@ -0,0 +1,24 @@
|
||||
# Kyria's Debug Keymap
|
||||
|
||||
To make debugging your build as easy as possible, we have provided a special debugging keymap. It is not intended to actually type on, it is just here to make sure that your hardware is working correctly.
|
||||
|
||||
## Keys
|
||||
|
||||

|
||||
|
||||
The left side uses lowercase letters, the right side uses uppercase ones.
|
||||
|
||||
## Encoders
|
||||
|
||||
Encoders output a number of 0 or 1, depending on the installed position.
|
||||
These correspond to the index used for custom encoder code.
|
||||
|
||||
The number is followed by either a `+` or a `-`, depending on the direction turned.
|
||||
|
||||
## LEDs
|
||||
|
||||
Both underglow and per-key RGB should be fading between red and off.
|
||||
|
||||
## OLEDs
|
||||
|
||||
Both the primary and secondary side should be filled with characters.
|
8
keyboards/splitkb/kyria/keymaps/debug/rules.mk
Normal file
8
keyboards/splitkb/kyria/keymaps/debug/rules.mk
Normal file
@ -0,0 +1,8 @@
|
||||
# NOTE: These are already enabled by default at the revision level
|
||||
#ENCODER_ENABLE = yes
|
||||
#OLED_ENABLE = yes
|
||||
|
||||
# RGB Matrix is enabled at the revision level,
|
||||
# while we use the regular RGB underglow for testing
|
||||
RGB_MATRIX_ENABLE = no
|
||||
RGBLIGHT_ENABLE = yes
|
@ -1,4 +0,0 @@
|
||||
#include "../../config.h"
|
||||
|
||||
#define GRAVE_ESC_ALT_OVERRIDE
|
||||
#define GRAVE_ESC_CTRL_OVERRIDE
|
@ -1,181 +0,0 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
// Each layer gets a name for readability, which is then used in the keymap matrix below.
|
||||
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
|
||||
// Layer names don't all need to be of the same length, obviously, and you can also skip them
|
||||
// entirely and just use numbers.
|
||||
#define _BL 0
|
||||
#define _MAC 1
|
||||
#define _FUNC 2
|
||||
#define _MOUSE 3
|
||||
|
||||
#define MAC_TOG TG(_MAC)
|
||||
|
||||
enum {
|
||||
FUN_LAY = SAFE_RANGE,
|
||||
MOU_TOG,
|
||||
WIN_LCK,
|
||||
WIN_KEY,
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Keymap _BL: (Base Layer) Default Layer
|
||||
* ,----------------------------------------------------------------.
|
||||
* |Esc`| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |~ ` |
|
||||
* |----------------------------------------------------------------|
|
||||
* |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ |Del |
|
||||
* |----------------------------------------------------------------|
|
||||
* |CAPS | A| S| D| F| G| H| J| K| L| ;| '|Return |PgUp|
|
||||
* |----------------------------------------------------------------|
|
||||
* |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift | Up|PgDn|
|
||||
* |----------------------------------------------------------------|
|
||||
* |Ctrl|Win |Alt | Space |Alt| FN|Ctrl|Lef|Dow|Rig |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_BL] = LAYOUT_ansi(
|
||||
QK_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_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_RBRC,KC_BSLS, KC_DEL,
|
||||
KC_CAPS, 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_PGUP,
|
||||
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_UP,KC_PGDN,
|
||||
KC_LCTL,WIN_KEY,KC_LALT, KC_SPC, KC_RALT,FUN_LAY,KC_RCTL,KC_LEFT,KC_DOWN,KC_RGHT),
|
||||
|
||||
/* Keymap _MAC: Mac Layer
|
||||
* ,----------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | |
|
||||
* |----------------------------------------------------------------|
|
||||
* |Win |Alt |Ctrl| |Ctrl| |Win| | | |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_MAC] = LAYOUT_ansi(
|
||||
_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,
|
||||
_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,
|
||||
_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,
|
||||
_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,
|
||||
KC_LGUI,KC_LALT,KC_LCTL, _______, KC_RCTL,_______,KC_RGUI,_______,_______,_______),
|
||||
|
||||
|
||||
/* Keymap _FUNC: Function Layer
|
||||
* ,----------------------------------------------------------------.
|
||||
* | |F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12| Del |HPg |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | |Mac| |PSc|ScL|PsB| Calc|Ins |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | |Stp|Ply|PTr|NTr| |Hme |
|
||||
* |----------------------------------------------------------------|
|
||||
* | |BL |Bl-|Bl+| | | |Mou|MUT|VU-|VU+| |PgU|End |
|
||||
* |----------------------------------------------------------------|
|
||||
* | |WnLc| | | | | |Hme|PgD|End |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_FUNC] = LAYOUT_ansi(
|
||||
_______, 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_WHOM,
|
||||
_______,_______,_______,_______,_______,_______,_______,_______,MAC_TOG,_______,KC_PSCR,KC_SCRL,KC_PAUS,KC_CALC, KC_INS,
|
||||
_______,_______,_______,_______,_______,_______,_______,_______,KC_MSTP,KC_MPLY,KC_MPRV,KC_MNXT, _______,KC_HOME,
|
||||
_______,BL_TOGG, BL_DOWN,BL_UP, _______,_______,_______,MOU_TOG,KC_MUTE,KC_VOLD,KC_VOLU,_______,KC_PGUP,KC_END ,
|
||||
_______,WIN_LCK,_______, _______, _______,_______,_______,KC_HOME,KC_PGDN,KC_END),
|
||||
|
||||
/* Keymap _MOUSE: Mouse Navigation Layer
|
||||
* ,----------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | McR | |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | McL |MsU| |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | |MsL|MsD|MsR |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_MOUSE] = LAYOUT_ansi(
|
||||
_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,
|
||||
_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,
|
||||
_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, KC_BTN2,_______,
|
||||
_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,KC_BTN1,KC_MS_U,_______,
|
||||
_______,_______,_______, _______, _______,_______,_______,KC_MS_L,KC_MS_D,KC_MS_R),
|
||||
|
||||
};
|
||||
|
||||
#define SET_BIT(var, pos) (var |= (1UL << pos))
|
||||
#define CLEAR_BIT(var, pos) (var &= ~(1UL << pos))
|
||||
#define TOGGLE_BIT(var, pos) (var ^= (1UL << pos))
|
||||
#define CHECK_BIT(var, pos) (var & (1U << pos))
|
||||
|
||||
static uint8_t keyboard_state = 0;
|
||||
// bit 0 = function layer status (on/off)
|
||||
// bit 1 = mouse navigation layer state
|
||||
// bit 2 = windows key lock state
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
switch(keycode) {
|
||||
// acts like a momentary function layer press
|
||||
case FUN_LAY:
|
||||
if (record->event.pressed) {
|
||||
layer_on(_FUNC);
|
||||
if (CHECK_BIT(keyboard_state, 1)) {
|
||||
layer_on(_MOUSE);
|
||||
}
|
||||
else {
|
||||
layer_off(_MOUSE);
|
||||
}
|
||||
// turns on function layer status
|
||||
SET_BIT(keyboard_state, 0);
|
||||
}
|
||||
// key released
|
||||
else {
|
||||
layer_off(_FUNC);
|
||||
layer_off(_MOUSE);
|
||||
// turns off function layer status
|
||||
CLEAR_BIT(keyboard_state, 0);
|
||||
}
|
||||
break;
|
||||
|
||||
case MOU_TOG:
|
||||
if(record->event.pressed) {
|
||||
// toggles navigation layer state
|
||||
TOGGLE_BIT(keyboard_state, 1);
|
||||
|
||||
// if FN is pressed down while hitting this key, the correct layer will be updated,
|
||||
// so that the FN key doesn't need to be pressed down again to start using the functionality
|
||||
if (CHECK_BIT(keyboard_state, 0)) {
|
||||
if (CHECK_BIT(keyboard_state, 1)) {
|
||||
layer_on(_MOUSE);
|
||||
}
|
||||
else {
|
||||
layer_off(_MOUSE);
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case WIN_LCK:
|
||||
if (record->event.pressed) {
|
||||
// toggles windows key lock state
|
||||
TOGGLE_BIT(keyboard_state, 2);
|
||||
}
|
||||
break;
|
||||
|
||||
// uses seperate WIN_KEY so that WIN_LCK does not affect Mac Layer's KC_LGUI
|
||||
case WIN_KEY:
|
||||
// checks if windows key lock is off to allow key to be pressed
|
||||
if (!CHECK_BIT(keyboard_state, 2)) {
|
||||
if (record->event.pressed) {
|
||||
SEND_STRING(SS_DOWN(X_LGUI));
|
||||
return false;
|
||||
}
|
||||
// key released
|
||||
else {
|
||||
SEND_STRING(SS_UP(X_LGUI));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
};
|
@ -1,29 +0,0 @@
|
||||
# FireBazooka's TADA68 layout
|
||||
|
||||
This layout follows a layout very similiar to the default, but with added functionality settings.
|
||||
|
||||
* This layout will start with the basic layer and default function layer on start-up
|
||||
* This means that that FN+Arrow Keys will have Page Up, Page Down, Home, & End on default
|
||||
* Press FN+M to turn on Mouse Functionality (FN+Arrows Keys to move the mouse, FN+RShift for left click, & FN+Enter for right click)
|
||||
* Pressing FN+M again will toggle the FN+Arrow Keys back to the default of PgUp, PgDn, Home, & End
|
||||
* Press FN+I to change the Control, Windows, & Alt keys to a different configuration that I use for Mac (Win, Alt, Ctrl, _SPACE_, Ctrl, FN, Win)
|
||||
* Pressing FN+I again will revert back to the default Ctrl, Win, Alt setting
|
||||
* Pressing FN+Win will toggle the Windows Key Lock (Note: will not affect Win in the Mac Layer configuration)
|
||||
|
||||
Coding practices:
|
||||
Using my limited C knowledge, I essentienally used flags to get certain functionality working (this probably isn't the way QMK should be used,
|
||||
but I couldn't find/got lazy trying to find the functions used to toggle layers correctly). This means that I used a static unsigned 8-bit integer
|
||||
called "keyboard_state" to check the current flags that are on and off currently for the keyboard.
|
||||
|
||||
Example:
|
||||
keyboard_state = B00000101
|
||||
+ The FN key is currently pressed down (bit 0)
|
||||
+ The mouse layer is turned off (bit 1)
|
||||
+ The Windows Key Lock is turned on (bit 2)
|
||||
|
||||
keyboard_state = B00000010
|
||||
+ The FN key is currently NOT being pressed down (bit 0)
|
||||
+ The mouse layer is turned on (bit 1)
|
||||
+ The Windows Key Lock is turned off (bit 2)
|
||||
|
||||
This means that certain bitwise functions like CHECK_BIT(...) and SET_BIT(...) are used on "keyboard_state" to manipulate it.
|
@ -1,17 +0,0 @@
|
||||
# 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 # Enable Bootmagic Lite
|
||||
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 = yes # 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
|
@ -1,107 +0,0 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
// Each layer gets a name for readability, which is then used in the keymap matrix below.
|
||||
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
|
||||
// Layer names don't all need to be of the same length, obviously, and you can also skip them
|
||||
// entirely and just use numbers.
|
||||
#define _BL 0
|
||||
#define _FL 1
|
||||
#define _CL 2
|
||||
#define _AL 3
|
||||
|
||||
enum custom_keycodes {
|
||||
SPX4 = SAFE_RANGE
|
||||
};
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
if (record->event.pressed) {
|
||||
switch(keycode) {
|
||||
case SPX4:
|
||||
SEND_STRING(" ");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Keymap _BL: (Base Layer) Default Layer
|
||||
* ,----------------------------------------------------------------.
|
||||
* |Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |~ ` |
|
||||
* |----------------------------------------------------------------|
|
||||
* |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ |PgUp|
|
||||
* |----------------------------------------------------------------|
|
||||
* |CAPS | A| S| D| F| G| H| J| K| L| ;| '|Return |PgDn|
|
||||
* |----------------------------------------------------------------|
|
||||
* |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift | Up|Del |
|
||||
* |----------------------------------------------------------------|
|
||||
* |Ctrl|Win |Win | Space |Win| FN|Ctrl|Lef|Dow|Rig |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_BL] = LAYOUT_ansi(
|
||||
KC_ESC, 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_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, KC_PGUP,
|
||||
MO(_CL), 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_PGDN,
|
||||
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_UP, KC_DEL,
|
||||
KC_LCTL, KC_LALT,LM(_AL,0x08), KC_SPC, LM(_AL,0x18),MO(_FL),KC_RCTL, KC_LEFT,KC_DOWN,KC_RGHT),
|
||||
|
||||
/* Keymap _FL: Function Layer
|
||||
* ,----------------------------------------------------------------.
|
||||
* | | F1|F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|Del |` ~ |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | |Up | | | | | | | | | | | |Hme |
|
||||
* |----------------------------------------------------------------|
|
||||
* | |<- |Dn | ->| | | | | | | | | |End |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | |Bl-|BL |BL+| |MUT|VU-|VU+| | | | |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | | |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_FL] = LAYOUT_ansi(
|
||||
_______, 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_GRV,
|
||||
SPX4,_______, KC_UP,_______,_______, _______,_______,_______,_______,_______,_______,_______,_______, _______,KC_HOME,
|
||||
_______,KC_LEFT,KC_DOWN,KC_RIGHT,_______,_______,_______,_______,_______,_______,_______,_______, _______,KC_END,
|
||||
_______,_______,_______,BL_DOWN,BL_TOGG,BL_UP, _______,KC_MUTE,KC_VOLD,KC_VOLU,_______,_______, _______, _______,
|
||||
_______,_______,_______, _______, _______,_______,_______,_______,_______, _______),
|
||||
|
||||
/* Keymap _CL: Caps Layer
|
||||
* ,----------------------------------------------------------------.
|
||||
* | | F1|F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|Del |` ~ |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | |Up | | | | | | | | | | | |Hme |
|
||||
* |----------------------------------------------------------------|
|
||||
* | |<- |Dn | ->| | | | | | | | | |End |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | |Bl-|BL |BL+| |MUT|VU-|VU+| | McL|MsU|McR |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | |MsL|MsD|MsR |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_CL] = LAYOUT_ansi(
|
||||
_______, 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_GRV ,
|
||||
_______,_______, KC_UP,_______,_______, _______,_______,_______,_______,_______,_______,_______,_______, _______,KC_HOME,
|
||||
_______,KC_LEFT,KC_DOWN,KC_RIGHT,_______,_______,_______,_______,_______,_______,_______,_______, _______,KC_END,
|
||||
_______,_______,_______,BL_DOWN,BL_TOGG,BL_UP, _______,KC_MUTE,KC_VOLD,KC_VOLU,_______,KC_BTN1, KC_MS_U, KC_BTN2,
|
||||
_______,_______,_______, _______, _______,_______,_______,KC_MS_L,KC_MS_D, KC_MS_R),
|
||||
|
||||
/* Keymap _AL: ALT Layer
|
||||
* ,----------------------------------------------------------------.
|
||||
* |` ~| | | | | | | | | | | | | | ` ~|
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | | |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_AL] = LAYOUT_ansi(
|
||||
KC_GRV, _______ ,_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_GRV ,
|
||||
_______,_______, _______, _______,_______, _______,_______,_______,_______,_______,_______,_______,_______, _______,_______,
|
||||
_______,_______, _______, _______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,
|
||||
_______,_______,_______, _______, _______, _______, _______, _______, _______, _______,_______, _______, _______, _______,
|
||||
_______,_______,_______, _______, _______,_______,_______, _______, _______, _______),
|
||||
};
|
@ -1,20 +0,0 @@
|
||||
# pgillan's Cheese TADA68 layout
|
||||
|
||||
A collection of tweaks to make the keyboard more mac friendly and increase personal usability,
|
||||
based on the default keymap.
|
||||
|
||||
* Turned the caps-lock into an additional function key so I didn't have to try to hit the
|
||||
the keys on the right with one hand.
|
||||
* Moved the arrow/mouse controls to the caps-lock layer from the function layer.
|
||||
* Swapped the Windows key and Alt keys, I didn't have to do it in OS X.
|
||||
* Made the escape key work as a backtick when "Alt" is depressed, so I can 1) reverse
|
||||
direction when I Alt-Tab through current applications, and Alt-Backtick through
|
||||
open windows.
|
||||
* Turned the backtick/tilde key into another backspace key, so I can just go all the way
|
||||
up to the corner without overshooting.
|
||||
* Adjusted the volume controles so M is "mute", the "," ( or "<") is "down", and "." (or ">")
|
||||
is "up". It just makes a ton more sense, I have no idea why it would have been done any
|
||||
differently.
|
||||
* Moved PageUp/PageDown up above the delete key, and made the Home and End on the capslock
|
||||
and function layers.
|
||||
* Made the tab key on the function layer output 4 spaces instead of a tab character.
|
@ -1,17 +0,0 @@
|
||||
# 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 # Enable Bootmagic Lite
|
||||
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 = yes # 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
|
@ -1,42 +0,0 @@
|
||||
/* Copyright 2019 Devinceble AKA Vimwarrior
|
||||
*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT_ansi(
|
||||
KC_ESC, 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_BSLS,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_RBRC,KC_BSPC,KC_DEL,
|
||||
KC_CAPS, 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_PGUP,
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT,MO(1),KC_PGDN,
|
||||
MO(2), KC_LGUI,KC_LALT, KC_SPC, KC_RALT,KC_RCTL, KC_LEFT,KC_DOWN,KC_UP,KC_RGHT),
|
||||
|
||||
[1] = LAYOUT_ansi(
|
||||
_______, 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_INS ,
|
||||
_______,KC_BTN1, KC_MS_U,KC_BTN2,_______, _______,_______,_______,_______,_______,_______,KC_UP,_______, _______,KC_HOME,
|
||||
KC_CAPS,KC_MS_L,KC_MS_D,KC_MS_R,_______,_______,_______,_______,_______,_______,KC_LEFT,KC_RGHT, _______,KC_END,
|
||||
_______,_______,_______,_______, _______,_______, _______,_______,_______,_______,KC_DOWN,_______, _______, _______,
|
||||
_______,_______,_______, _______, _______,_______,_______,_______,_______, _______
|
||||
),
|
||||
|
||||
[2] = LAYOUT_ansi(
|
||||
_______, 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_INS ,
|
||||
_______,_______, _______,_______,_______, _______,_______,_______,_______,_______,_______,_______,_______, _______,KC_HOME,
|
||||
_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______,KC_END,
|
||||
_______,_______,_______,BL_DOWN,BL_TOGG,BL_UP, _______,KC_VOLD,KC_VOLU,KC_MUTE,_______,_______, _______, _______,
|
||||
_______,_______,_______, _______, _______,_______,_______,_______,_______, _______
|
||||
),
|
||||
};
|
@ -1,6 +0,0 @@
|
||||
# Devinceble AKA Vimwarrior TADA68 Keymap
|
||||
|
||||
Build BIN File:
|
||||
|
||||
make tada68:devinceble
|
||||
|
@ -1,3 +0,0 @@
|
||||
MOUSEKEY_ENABLE = yes
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#define GRAVE_ESC_ALT_OVERRIDE
|
@ -1,92 +0,0 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
#define _BL 0
|
||||
#define _FL 1
|
||||
#define _MAC 2
|
||||
#define _LA 3
|
||||
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Keymap _BL: (Base Layer) Default Layer
|
||||
* ,----------------------------------------------------------------.
|
||||
* |Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |~ ` |
|
||||
* |----------------------------------------------------------------|
|
||||
* |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ |Del |
|
||||
* |----------------------------------------------------------------|
|
||||
* |Ctrl | A| S| D| F| G| H| J| K| L| ;| '|Return |PgUp|
|
||||
* |----------------------------------------------------------------|
|
||||
* |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift | Up|PgDn|
|
||||
* |----------------------------------------------------------------|
|
||||
* |Ctrl|Win |Alt | Space |Alt|Fn |Ctrl|Lef|Dow|Rig |
|
||||
* `----------------------------------------------------------------'
|
||||
*
|
||||
* Note: Shift + Esc = ~
|
||||
* Win + Esc = `
|
||||
*/
|
||||
[_BL] = LAYOUT_ansi(
|
||||
KC_GRV, 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_ESC,
|
||||
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, KC_DEL ,
|
||||
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_PGUP,
|
||||
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_UP, KC_PGDN,
|
||||
KC_LCTL, KC_LGUI, LM(_LA, MOD_LALT), KC_SPC, KC_RALT, MO(_FL), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT),
|
||||
|
||||
/* Keymap _FL: Function Layer
|
||||
* ,----------------------------------------------------------------.
|
||||
* |`swp|F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12| Del |`swp|
|
||||
* |----------------------------------------------------------------|
|
||||
* | |BL |BL-|BL+| | | | |mac| |PSc| | | |Ins |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | |Lef|Dn |Up |Rig| | | |Hme |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | |MUT|V- |V+ | | |PUp|End |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | |Hme|PDn|End |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_FL] = LAYOUT_ansi(
|
||||
MAGIC_UNSWAP_GRAVE_ESC, 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, MAGIC_SWAP_GRAVE_ESC,
|
||||
_______, BL_TOGG, BL_DOWN, BL_UP , _______, _______, _______, _______, TG(_MAC),_______, KC_PSCR, _______, _______, _______, KC_INS,
|
||||
_______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, _______, _______, _______, KC_HOME,
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, KC_PGUP, KC_END ,
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END ),
|
||||
|
||||
/* Keymap _MAC: Mac Layer
|
||||
* ,----------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | |
|
||||
* |----------------------------------------------------------------|
|
||||
* |Ctrl|Alt |Win | |Win | |Alt| | | |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_MAC] = LAYOUT_ansi(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
KC_LCTL, KC_LALT, KC_LGUI, _______, KC_RGUI, _______, KC_RALT, _______, _______, _______),
|
||||
|
||||
/* Keymap _LA: Left Alt Layer - LALT-4 maps to LALT-F4 so I can quit apps
|
||||
* ,----------------------------------------------------------------.
|
||||
* | | | | |F4 | | | | | | | | | | |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | | |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | | |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_LA] = LAYOUT_ansi(
|
||||
_______, _______, _______, _______, KC_F4, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______),
|
||||
};
|
@ -1,78 +0,0 @@
|
||||
# dlg's layout
|
||||
|
||||
[tshack's layout](https://github.com/qmk/qmk_firmware/tree/master/keyboards/tada68/keymaps/tshack), with:
|
||||
+ Mac layer
|
||||
+ Press Fn-I to align the bottom row to mac standards
|
||||
+ volume controls moved to Fn+ M<>
|
||||
+ Fn+Del for Insert
|
||||
+ `GRAVE_ESC_ALT_OVERRIDE` so cmd-opt-esc still works (thx [mattdicarlo](https://github.com/qmk/qmk_firmware/tree/master/keyboards/tada68/keymaps/mattdicarlo))
|
||||
+ `LALT` layer - LALT-4 maps to LALT-F4 so you can close windows in Windows
|
||||
|
||||
|
||||
### Base Layer
|
||||
|
||||
```
|
||||
,----------------------------------------------------------------.
|
||||
|Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |~ ` |
|
||||
|----------------------------------------------------------------|
|
||||
|Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ |Del |
|
||||
|----------------------------------------------------------------|
|
||||
|Ctrl | A| S| D| F| G| H| J| K| L| ;| '|Return |PgUp|
|
||||
|----------------------------------------------------------------|
|
||||
|Shift | Z| X| C| V| B| N| M| ,| .| /|Shift |Up |PgDn|
|
||||
|----------------------------------------------------------------|
|
||||
|Ctrl|Win |Alt | Space |Alt|Fn |Ctrl|<- |Dn | -> |
|
||||
`----------------------------------------------------------------'
|
||||
```
|
||||
Note:
|
||||
* Shift + Esc = ~ (tilde)
|
||||
* Win + Esc = ` (grave)
|
||||
|
||||
|
||||
### Fn Layer
|
||||
|
||||
```
|
||||
,----------------------------------------------------------------.
|
||||
| |F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12| Del | |
|
||||
|----------------------------------------------------------------|
|
||||
| |BL |BL-|BL+| | | | |mac| |PSc| | | |Ins |
|
||||
|----------------------------------------------------------------|
|
||||
| | | | | | |<- |Dn |Up | ->| | | |Hme |
|
||||
|----------------------------------------------------------------|
|
||||
| | | | | | | |MUT|V- |V+ | | |PUp|End |
|
||||
|----------------------------------------------------------------|
|
||||
| | | | | | | |Hme|PDn|End |
|
||||
`----------------------------------------------------------------'
|
||||
```
|
||||
|
||||
### Mac Layer
|
||||
|
||||
```
|
||||
,----------------------------------------------------------------.
|
||||
| | | | | | | | | | | | | | | |
|
||||
|----------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | |
|
||||
|----------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | |
|
||||
|----------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | |
|
||||
|----------------------------------------------------------------|
|
||||
|Ctrl|Alt |Win | |Win | |Alt| | | |
|
||||
`----------------------------------------------------------------'
|
||||
```
|
||||
|
||||
### `LALT` Layer
|
||||
|
||||
```
|
||||
,----------------------------------------------------------------.
|
||||
| | | | |F4 | | | | | | | | | | |
|
||||
|----------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | | |
|
||||
|----------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | |
|
||||
|----------------------------------------------------------------|
|
||||
| | | | | | | | | | | | | | |
|
||||
|----------------------------------------------------------------|
|
||||
| |Alt | | | | | | | | |
|
||||
`----------------------------------------------------------------'
|
||||
```
|
@ -1,17 +0,0 @@
|
||||
# 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 = yes # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = no # Mouse keys(+4700)
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
|
||||
CONSOLE_ENABLE = no # Console for debug(+400)
|
||||
COMMAND_ENABLE = no # 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 = yes # 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
|
@ -1,6 +0,0 @@
|
||||
#define MOUSEKEY_DELAY 0
|
||||
#define MOUSEKEY_INTERVAL 4
|
||||
#define MOUSEKEY_MAX_SPEED 5
|
||||
#define MOUSEKEY_TIME_TO_MAX 77
|
||||
#define MOUSEKEY_WHEEL_MAX_SPEED 8
|
||||
#define MOUSEKEY_WHEEL_TIME_TO_MAX 40
|
@ -1,36 +0,0 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
// Each layer gets a name for readability, which is then used in the keymap matrix below.
|
||||
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
|
||||
// Layer names don't all need to be of the same length, obviously, and you can also skip them
|
||||
// entirely and just use numbers.
|
||||
|
||||
#define LCTL_MA LCTL_T(KC_UP)
|
||||
#define LSFT_MA LSFT_T(KC_DOWN)
|
||||
#define RSFT_MA SFT_T(KC_UP)
|
||||
#define TABS_MA LT(1,KC_TAB)
|
||||
#define SPCE_MA LT(2,KC_SPC)
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT_ansi(
|
||||
QK_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_BSLS,KC_NUBS,
|
||||
TABS_MA,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_BSPC,_______,
|
||||
LCTL_MA,KC_A ,KC_S ,KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN,KC_QUOT, KC_ENT ,_______,
|
||||
LSFT_MA,KC_Z ,KC_X ,KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, RSFT_MA,MO(1) ,_______,
|
||||
KC_LCTL,KC_LALT,KC_LGUI, SPCE_MA, KC_RGUI,KC_RALT,_______,_______,_______,_______),
|
||||
|
||||
[1] = LAYOUT_ansi(
|
||||
KC_PSCR,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_PGUP,KC_PGDN,KC_HOME,KC_END ,KC_PGDN,KC_PGUP,_______,_______,_______,_______,KC_DEL ,_______,
|
||||
KC_CAPS,KC_NUBS,KC_LEFT,KC_UP ,KC_DOWN,KC_RGHT,KC_LEFT,KC_DOWN,KC_UP ,KC_RGHT,_______,_______, _______,_______,
|
||||
_______,_______,BL_TOGG,BL_UP ,BL_DOWN,_______,_______,KC_VOLD,KC_VOLU,KC_MUTE,_______, _______,_______,_______,
|
||||
_______,_______,_______, _______, _______,_______,_______,_______,_______,_______),
|
||||
|
||||
[2] = LAYOUT_ansi(
|
||||
_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,
|
||||
KC_BTN5,KC_BTN4,KC_BTN3,KC_BTN2,KC_BTN1,KC_HOME,KC_END ,_______,_______,_______,_______,_______,_______,_______,_______,
|
||||
_______,_______,KC_WH_L,KC_WH_U,KC_WH_D,KC_WH_R,KC_MS_L,KC_MS_D,KC_MS_U,KC_MS_R,_______,_______, _______,_______,
|
||||
_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,_______,
|
||||
_______,_______,_______, _______, _______,_______,_______,_______,_______,_______),
|
||||
|
||||
|
||||
};
|
@ -1,58 +0,0 @@
|
||||
# FabulousAnomalyKeyBoard
|
||||
|
||||
This layout features an efficient layout for people without
|
||||
a mouse.
|
||||
|
||||
## layers
|
||||
|
||||
Layer Base: complete basic keyboard
|
||||
Layer Fn-Tab: F1-F12, Arrow Keys, Home, End, Backlight, Media
|
||||
Layer Fn-Space: mouse keys in a vim like manner
|
||||
|
||||
For detailed info check out keymap.c
|
||||
|
||||
## the CTRL key
|
||||
|
||||
It is where you would suspect CAPSLOCK to be.
|
||||
WHO NEEDS CAPSLOCK ANYWAYS?
|
||||
For those rare cases you need to shout at somebody in a comment
|
||||
section you can still do a capslock by using TAB+CTRL
|
||||
|
||||
## SUPER key
|
||||
|
||||
There are two super keys. They are next to the space bar.
|
||||
The intention is easing the use of tiling window mangers
|
||||
|
||||
## emergency mouse
|
||||
|
||||
Without a mouse you will find yourself in a situation where all
|
||||
your tiling goodness will just not be able to click onto that
|
||||
"close ads" button.
|
||||
This keymap integrates a basic mouse pointer directly into the keyboard.
|
||||
Mouse is accessible via holding SPACE and tapping keys:
|
||||
```
|
||||
SPACE+
|
||||
h Move cursor left
|
||||
j Move cursor down
|
||||
k Move cursor up
|
||||
l Move cursor right
|
||||
|
||||
w Middle Mouse Click
|
||||
r Right click
|
||||
e Left click
|
||||
|
||||
s Scroll wheel left
|
||||
d Scroll wheel down
|
||||
f Scroll wheel up
|
||||
g Scroll wheel right
|
||||
```
|
||||
|
||||
## shell focused
|
||||
|
||||
Working in a shell the up and down arrow keys are often needed to
|
||||
look at old commands or reuse some.
|
||||
When held, the left ctrl and left shift will act as expected,
|
||||
but when tapped they will become UP and DOWN arrow-keys.
|
||||
|
||||
## krautfriend
|
||||
The keys <|> are accessible even without a 102nd key
|
@ -1,18 +0,0 @@
|
||||
# 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 # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
|
||||
CONSOLE_ENABLE = no # Console for debug(+400)
|
||||
COMMAND_ENABLE = no # 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 = yes # 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
|
||||
|
@ -1,121 +0,0 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
// Layers
|
||||
|
||||
#define _BL 0
|
||||
#define _FL 1
|
||||
#define _NUM 2
|
||||
#define _BSPC 3
|
||||
|
||||
// Macros
|
||||
// name macros here for keymap reference
|
||||
enum {
|
||||
EMAIL_ADD = SAFE_RANGE,
|
||||
OTHER_MACRO
|
||||
};
|
||||
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
if(record->event.pressed){
|
||||
switch(keycode) {
|
||||
// copy these lines to define new macro
|
||||
case EMAIL_ADD:
|
||||
SEND_STRING("email@example.com");
|
||||
return false; break;
|
||||
// copy to here
|
||||
case OTHER_MACRO:
|
||||
SEND_STRING("The Other Macro");
|
||||
return false; break;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
};
|
||||
|
||||
// Keymaps
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Keymap _BL: (Base Layer) Default Layer
|
||||
* .----------------------------------------------------------------.
|
||||
* |Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |~ ` |
|
||||
* |----------------------------------------------------------------|
|
||||
* |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ |Del |
|
||||
* |----------------------------------------------------------------|
|
||||
* |CAPS | A| S| D| F| G| H| J| K| L| ;| '|Return |Home|
|
||||
* |----------------------------------------------------------------|
|
||||
* |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift |Up |End |
|
||||
* |----------------------------------------------------------------|
|
||||
* |Ctrl|Win |Alt | Space |Alt| FN|Ctrl|Lft|Dwn|Rig |
|
||||
* '----------------------------------------------------------------'
|
||||
*/
|
||||
[_BL] = LAYOUT_ansi(
|
||||
KC_ESC, 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_GRAVE,
|
||||
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,KC_DELETE,
|
||||
LT(_BSPC,KC_CAPS), 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_HOME,
|
||||
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_UP,KC_END,
|
||||
KC_LCTL, KC_LGUI,KC_LALT, KC_SPC, KC_RALT,MO(_FL),KC_RCTL, KC_LEFT,KC_DOWN,KC_RGHT),
|
||||
|
||||
|
||||
/* Keymap _FL: Function Layer
|
||||
* .-----------------------------------------------------------------.
|
||||
* | | F1|F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|Del |Paus |
|
||||
* |-----------------------------------------------------------------|
|
||||
* | | | | | | | | | |BLB|BL-|BL |BL+|Foobr|ToNUM|
|
||||
* |-----------------------------------------------------------------|
|
||||
* |KC_NO | | | | | | | | | | |Mnu| |PgUp |
|
||||
* |-----------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | |PgDn |
|
||||
* |-----------------------------------------------------------------|
|
||||
* |WinUl|WinLk| | | | | |Nxt|Stp|Prev |
|
||||
* '-----------------------------------------------------------------'
|
||||
*/
|
||||
[_FL] = LAYOUT_ansi(
|
||||
_______, 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_PAUSE ,
|
||||
_______,_______,_______,_______,_______,_______,_______,_______,_______,BL_BRTG,BL_DOWN,BL_TOGG, BL_UP, KC_MAIL,TG(_NUM),
|
||||
XXXXXXX,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,KC_APPLICATION, _______,KC_PGUP,
|
||||
_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,KC_BTN1, KC_MS_U, KC_PGDN,
|
||||
MAGIC_UNNO_GUI,MAGIC_NO_GUI,_______, _______, _______,_______,_______,KC_MPRV,KC_MSTP, KC_MNXT),
|
||||
|
||||
|
||||
/* Keymap _NUM: Numpad Layer
|
||||
* .----------------------------------------------------------------.
|
||||
* |Esc| 1 | 2 | 3 | 4 | 5 | 6 |NP7|Np8|Np9| | - | + |Backspc|CALC| 15
|
||||
* |----------------------------------------------------------------|
|
||||
* |Tab |NumL| up| | | |Np4|Np5|Np6| | | / | * | | | 15
|
||||
* |----------------------------------------------------------------|
|
||||
* |To__BL|lft|dwn|rit| | |Np1|Np2|Np3| | | |Enter |Prsc| 14
|
||||
* |----------------------------------------------------------------|
|
||||
* |Shift | Z | X | C | V | |Np.|Np.|Np.| | | |msU|Rclk| 14
|
||||
* |----------------------------------------------------------------|
|
||||
* |Ctrl|Win |Alt | Np0 |Emal| |Lclk|msL|msD|msR | 10
|
||||
* '----------------------------------------------------------------'
|
||||
*/
|
||||
[_NUM] = LAYOUT_ansi(
|
||||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_P7, KC_P8, KC_P9,XXXXXXX, KC_KP_MINUS, KC_KP_PLUS, KC_BSPC,KC_CALC,
|
||||
KC_TAB,KC_NUM, KC_UP,XXXXXXX,XXXXXXX, XXXXXXX,KC_P4,KC_P5,KC_P6,XXXXXXX,XXXXXXX,KC_PSLS,KC_PAST, XXXXXXX,_______,
|
||||
TG(_NUM), KC_LEFT, KC_DOWN, KC_RIGHT,XXXXXXX,XXXXXXX,KC_P1,KC_P2,KC_P3,XXXXXXX,XXXXXXX,XXXXXXX, KC_KP_ENTER,KC_PSCR,
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V,XXXXXXX, KC_PDOT, KC_PDOT, KC_PDOT,XXXXXXX,XXXXXXX,XXXXXXX, KC_MS_U, KC_BTN2,
|
||||
KC_LCTL, KC_LGUI, KC_LALT,KC_P0,EMAIL_ADD,_______,KC_BTN1,KC_MS_L,KC_MS_D, KC_MS_R),
|
||||
|
||||
|
||||
/* Keymap _BSPC: back_SPACE Layer
|
||||
* .----------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | |Up | | | | | | |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | |Lft|Dwn|Rig|End| | | |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | Backspace | |NO | | | | |
|
||||
* '----------------------------------------------------------------'
|
||||
*/
|
||||
[_BSPC] = LAYOUT_ansi(
|
||||
_______, _______ ,_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______,_______,_______,_______,_______,_______,_______,_______,KC_UP,_______,_______,_______, _______, _______,_______,
|
||||
_______,_______,_______,_______,_______,_______,_______,KC_LEFT,KC_DOWN,KC_RIGHT,KC_END,_______, _______,_______,
|
||||
_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______, _______, _______,
|
||||
_______,_______,_______, KC_BSPC, _______,XXXXXXX,_______,_______,_______, _______)
|
||||
|
||||
|
||||
};
|
@ -1,8 +0,0 @@
|
||||
## Fezzant's Tada68 keymap
|
||||
|
||||
Includes easy copy-paste macro creation for strings or combo keypresses.
|
||||
|
||||
* Layer 0: Mostly-standard base layer, with home/end replacing pgup/pgdn.
|
||||
* Layer 1: Momentary function layer, with some added buttons.
|
||||
* Layer 2: Toggle numpad layer, with a layout conducive to spreadsheets and calculations
|
||||
* Layer 3: Momentary function layer to put backspace on spacebar, with arrow keys on right hand homerow area.
|
@ -1,18 +0,0 @@
|
||||
# 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 # Enable Bootmagic Lite
|
||||
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 = yes # Enable keyboard backlight functionality
|
||||
MIDI_ENABLE = no # MIDI controls
|
||||
AUDIO_ENABLE = no # Audio output on port C6
|
||||
UNICODE_ENABLE = yes # 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
|
||||
|
@ -1,6 +0,0 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT_ansi(KC_ESC, 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_BSLS, 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_RBRC, KC_BSPC, KC_DEL, 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_PGUP, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), KC_PGDN, MO(1), KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT),
|
||||
[1] = LAYOUT_ansi(KC_TRNS, 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_INS, KC_CAPS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_HOME, KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_TRNS, KC_END, KC_TRNS, BL_DOWN,BL_TOGG, BL_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, KC_PGDN, KC_DOWN, 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)
|
||||
};
|
@ -1 +0,0 @@
|
||||
[["KC_ESC", "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_BSLS", "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_RBRC", "KC_BSPC", "KC_DEL", "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_PGUP", "KC_LSFT", "KC_Z", "KC_X", "KC_C", "KC_V", "KC_B", "KC_N", "KC_M", "KC_COMM", "KC_DOT", "KC_SLSH", "KC_RSFT", "MO(1)", "KC_PGDN", "MO(1)", "KC_LGUI", "KC_LALT", "KC_SPC", "KC_RALT", "KC_RGUI", "KC_LEFT", "KC_DOWN", "KC_UP", "KC_RGHT"], ["KC_TRNS", "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_TRNS", "KC_INS", "KC_CAPS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_PSCR", "KC_TRNS", "KC_TRNS", "KC_UP", "KC_TRNS", "KC_DEL", "KC_HOME", "KC_TRNS", "KC_VOLD", "KC_VOLU", "KC_MUTE", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_HOME", "KC_PGUP", "KC_LEFT", "KC_RGHT", "KC_TRNS", "KC_END", "KC_TRNS", "BL_DOWN", "BL_TOGG", "BL_UP", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_END", "KC_PGDN", "KC_DOWN", "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"]]
|
@ -1,2 +0,0 @@
|
||||
# HHKB68
|
||||
Layout to closely match the primary and function layers of the HHKB.
|
@ -1 +0,0 @@
|
||||
#pragma once
|
@ -1,49 +0,0 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
#define _BL 0
|
||||
#define _FL 1
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Keymap _BL: (Base Layer) Default Layer
|
||||
* ,----------------------------------------------------------------.
|
||||
* |Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| +| '|Backspa | ´|
|
||||
* |----------------------------------------------------------------|
|
||||
* |Tab | Q| W| E| R| T| Y| U| I| O| P| Å| ¨| Ent-|Del |
|
||||
* |-------------------------------------------------------| er|----|
|
||||
* |CAPS | A| S| D| F| G| H| J| K| L| Ø| Æ| @ | |PgUp|
|
||||
* |----------------------------------------------------------------|
|
||||
* |Shif| <>| Z| X| C| V| B| N| M| ,| .| -| Shift| Up|PgDn|
|
||||
* |----------------------------------------------------------------|
|
||||
* |Ctrl|Win |Alt | Space |Alt| FN|Ctrl|Lef|Dow|Rig |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_BL] = LAYOUT_iso(
|
||||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_GRV, KC_BSPC, KC_EQL,
|
||||
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_DEL,
|
||||
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGUP,
|
||||
KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FL), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
|
||||
/* Keymap _FL1: Function Layer
|
||||
* ,----------------------------------------------------------------.
|
||||
* | | F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12| QK_BOOT|PSCR|
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | Up| | | | | | | | |BL-|BL+|BL | INS|
|
||||
* |----------------------------------------------------------------|
|
||||
* | |Lef|Dow|Rig| | | | | | PP|PLA| PN| | |HOME|
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | | V-| MV| V+| | | END|
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | | |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_FL] = LAYOUT_iso(
|
||||
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, QK_BOOT, KC_PSCR,
|
||||
_______, _______, KC_UP, _______, _______, _______, _______, _______, _______, BL_DOWN, BL_UP, BL_TOGG, _______, KC_INS,
|
||||
_______, KC_LEFT, KC_DOWN,KC_RIGHT, _______, _______, _______, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, KC_HOME,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, KC_MUTE, KC_VOLU, _______, _______, KC_END,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
};
|
@ -1,17 +0,0 @@
|
||||
# TADA68 layout for ISO-NOR
|
||||
|
||||
> An ISO-style layout for Norwegian keyboards.
|
||||
|
||||
This layout was specifically made for Norwegian keyboards (i.e. includes `Æ`, `Ø` and `Å`), and is tested on a TADA68 purchased from [kbdfans](https://kbdfans.cn/) in September 2018.
|
||||
|
||||
### Specifics
|
||||
|
||||
As it's an ISO style keymap, it works with the fat double-row `Enter` key and the narrower left `Shift` and `<>` key. In addition, it switches the `'` key and the `´` key since the latter one is less common in Norwegian, and the first one normally is placed where the `Escape` key is located on a TADA68.
|
||||
|
||||
## Installation
|
||||
|
||||
Please see the [tada68 readme](../../readme.md) using the following command
|
||||
|
||||
```
|
||||
make tada68:iso-nor:bin
|
||||
```
|
@ -1,18 +0,0 @@
|
||||
# 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 # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = no # Console for debug
|
||||
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 = yes # 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
|
||||
|
@ -1,4 +0,0 @@
|
||||
#include "../../config.h"
|
||||
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
@ -1,48 +0,0 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
#define _BL 0
|
||||
#define _FL 1
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Keymap _BL: (Base Layer) Default Layer
|
||||
* ,----------------------------------------------------------------.
|
||||
* |Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |~ ` |
|
||||
* |----------------------------------------------------------------|
|
||||
* |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| |Del |
|
||||
* |------------------------------------------------------- -----|
|
||||
* |CAPS | A| S| D| F| G| H| J| K| L| ;| '| #|Entr|PgUp|
|
||||
* |----------------------------------------------------------------|
|
||||
* |Shift| \ | Z| X| C| V| B| N| M| ,| .| /|Rshift|Up|PgDn|
|
||||
* |----------------------------------------------------------------|
|
||||
* |Ctrl|Win |Alt | Space |Alt| FN|Ctrl|Lef|Dow|Rig |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_BL] = LAYOUT_iso(
|
||||
KC_ESC, 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_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_RBRC, KC_DEL,
|
||||
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGUP,
|
||||
KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FL), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
|
||||
/* Keymap _FL1: Function Layer 1
|
||||
* ,----------------------------------------------------------------.
|
||||
* | | F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12| Delete| Ins|
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | ↑ | | | | | | | | | | | |Home|
|
||||
* |------------------------------------------------------- -----|
|
||||
* | | ← | ↓ | → | | | | | | | | | | | End|
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | L+|LED| L-| | V+| V-|Mut| | MsBtn|Up|MsBn|
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | Lt| Dn| Rt |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_FL] = LAYOUT_iso(
|
||||
_______, 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_INS,
|
||||
_______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME,
|
||||
_______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_END,
|
||||
_______, _______, _______, _______, BL_DOWN, BL_TOGG, BL_UP, _______, KC_VOLU, KC_VOLD, KC_MUTE, _______, KC_BTN1, KC_MS_U, KC_BTN2,
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_MS_L, KC_MS_D, KC_MS_R
|
||||
),
|
||||
};
|
@ -1,13 +0,0 @@
|
||||
# TADA68 layout for ISO UK
|
||||
|
||||
This layout has been tested on a TADA68 purchased from kbdfans in March 2018. The physical key layout includes the "double height" iso Enter key and the "short" Left Shift along side the iso Backslash key. [See this keyboard-layout-editor.com Gist](http://www.keyboard-layout-editor.com/#/gists/acf0f32f7ea0d0ed35c901663ca47919)
|
||||
|
||||
The Base Layer and Function layer defined here match the layout defined by the kbdfans keyboard layout tool found at http://123.57.250.164:3000/tada68
|
||||
|
||||
## Installation
|
||||
|
||||
Please see the [tada68 readme](../../readme.md) using the following command
|
||||
|
||||
```
|
||||
make tada68:iso-uk:bin
|
||||
```
|
@ -1,18 +0,0 @@
|
||||
# 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 # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = no # Console for debug
|
||||
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 = yes # 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
|
||||
|
@ -1,49 +0,0 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
#define _BL 0
|
||||
#define _FL 1
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Keymap _BL: (Base Layer) Default Layer
|
||||
* ,----------------------------------------------------------------.
|
||||
* |Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |~ ` |
|
||||
* |----------------------------------------------------------------|
|
||||
* |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ |Del |
|
||||
* |----------------------------------------------------------------|
|
||||
* |CAPS | A| S| D| F| G| H| J| K| L| ;| '| \ |Ret|PgUp|
|
||||
* |----------------------------------------------------------------|
|
||||
* |Shift | Z| X| C| V| B| N| M| ,| .| /| <>| Up|PgDn|
|
||||
* |----------------------------------------------------------------|
|
||||
* |Ctrl|Win |Alt | Space |Alt| FN| APP|Lef|Dow|Rig |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_BL] = LAYOUT_ansi_split_enter(
|
||||
KC_ESC, 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_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_RBRC, KC_BSLS, KC_DEL,
|
||||
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, KC_PGUP,
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_NUBS, KC_UP, KC_PGDN,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FL), KC_APP, KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
|
||||
/* Keymap _FL1: Function Layer 1
|
||||
* ,----------------------------------------------------------------.
|
||||
* | | F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12| QK_BOOT|PSCR|
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | | | |BL-|BL+|BL | INS|
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | | PP|PLA| PN| | |HOME|
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | V-| MV| V+| | | END|
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | | | |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_FL] = LAYOUT_ansi_split_enter(
|
||||
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, QK_BOOT, KC_PSCR,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, BL_DOWN, BL_UP, BL_TOGG, KC_INS,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, KC_HOME,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, KC_MUTE, KC_VOLU, _______, _______, KC_END,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
};
|
@ -1,3 +0,0 @@
|
||||
# ISO(ish) - Basic ISO format layout for TADA68 #
|
||||
|
||||
Basic layout with some edits to work better with ISO (nordic) layout. Due to the wide left shift it isn't quite Nordic iso though.
|
@ -1,18 +0,0 @@
|
||||
# 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 # Enable Bootmagic Lite
|
||||
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 = yes # 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
|
||||
|
@ -1,53 +0,0 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
// Each layer gets a name for readability, which is then used in the keymap matrix below.
|
||||
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
|
||||
// Layer names don't all need to be of the same length, obviously, and you can also skip them
|
||||
// entirely and just use numbers.
|
||||
#define _BL 0
|
||||
#define _FL 1
|
||||
|
||||
// Tilde is shift-grave
|
||||
#define KC_TLDE S(KC_GRV)
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Keymap _BL: (Base Layer) Default Layer
|
||||
* ,----------------------------------------------------------------.
|
||||
* |Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |Del |
|
||||
* |----------------------------------------------------------------|
|
||||
* |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ |Home|
|
||||
* |----------------------------------------------------------------|
|
||||
* |CAPS | A| S| D| F| G| H| J| K| L| ;| '|Return |PgUp|
|
||||
* |----------------------------------------------------------------|
|
||||
* |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift | Up|PgDn|
|
||||
* |----------------------------------------------------------------|
|
||||
* |Ctrl|Win |Alt | Space |Alt| FN|Ctrl|Lef|Dow|Rig |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_BL] = LAYOUT_ansi(
|
||||
KC_ESC, 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_DEL,
|
||||
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, KC_HOME,
|
||||
MO(_FL), 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_PGUP,
|
||||
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_UP, KC_PGDN,
|
||||
KC_LCTL, KC_LGUI,KC_LALT, KC_SPC, MO(_FL), KC_ALGR, KC_RGUI, KC_LEFT, KC_DOWN, KC_RGHT),
|
||||
|
||||
/* Keymap _FL: Function Layer
|
||||
* ,----------------------------------------------------------------.
|
||||
* | ` | F1|F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|Del |Ins |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | |Up | |Prt|Bks|PgU|Hom|End|Pau| Up| | | |end |
|
||||
* |----------------------------------------------------------------|
|
||||
* | |Lef|Dow|Rig|Scl|Del|PgD| ~ |Ins|Lef|Dow|Rig| |Prt |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | |Bl-|BL |BL+| |VU-|VU+|MUT| | McL|MsU|McR |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | |MsL|MsD|MsR |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_FL] = LAYOUT_ansi(
|
||||
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_DEL, KC_INS,
|
||||
KC_CAPS, _______, KC_UP, _______, KC_BSPC, KC_PSCR, KC_PGUP, KC_HOME, KC_END, KC_PAUS, KC_UP, _______, _______, _______, KC_END,
|
||||
_______, KC_LEFT, KC_DOWN, KC_RIGHT,KC_DEL, KC_SCRL, KC_PGDN, KC_TLDE, KC_INS, KC_LEFT, KC_DOWN, KC_RIGHT, _______, KC_PSCR,
|
||||
_______, _______, _______, BL_DOWN, BL_TOGG, BL_UP, _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, KC_BTN1, KC_MS_U, KC_BTN2,
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_MS_L, KC_MS_D, KC_MS_R),
|
||||
};
|
@ -1,3 +0,0 @@
|
||||
# KBP V60 like TADA68 layout
|
||||
|
||||
This layout resembles the KBParadise V60 FN layer and moves around some keys.
|
@ -1,18 +0,0 @@
|
||||
# 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 # Enable Bootmagic Lite
|
||||
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 = yes # 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
|
||||
|
@ -1 +0,0 @@
|
||||
#pragma once
|
@ -1,50 +0,0 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
// Each layer gets a name for readability, which is then used in the keymap matrix below.
|
||||
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
|
||||
// Layer names don't all need to be of the same length, obviously, and you can also skip them
|
||||
// entirely and just use numbers.
|
||||
#define _BL 0
|
||||
#define _FL 1
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Keymap _BL: (Base Layer) Default Layer
|
||||
* ,----------------------------------------------------------------.
|
||||
* |Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |~ ` |
|
||||
* |----------------------------------------------------------------|
|
||||
* |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ |Del |
|
||||
* |----------------------------------------------------------------|
|
||||
* |CAPS | A| S| D| F| G| H| J| K| L| ;| '|Return |PgUp|
|
||||
* |----------------------------------------------------------------|
|
||||
* |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift | Up|PgDn|
|
||||
* |----------------------------------------------------------------|
|
||||
* |Ctrl|Win |Alt | Space |Alt| FN|Ctrl|Lef|Dow|Rig |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_BL] = LAYOUT_ansi(
|
||||
KC_ESC, 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_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_RBRC, KC_BSLS, KC_DEL,
|
||||
KC_CAPS, 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_PGUP,
|
||||
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_UP, KC_PGDN,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FL), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT),
|
||||
|
||||
/* Keymap _FL: Function Layer
|
||||
* ,----------------------------------------------------------------.
|
||||
* | | F1|F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|Del |Ins |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | |Up | | | | | | | | | | | |VMU |
|
||||
* |----------------------------------------------------------------|
|
||||
* | |<- |Dn | ->| | | | | | | | | |Hme |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | |Bl-|BL |BL+| | | | | | | |VU-|End |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | Play/Pause | | | |Rwd|VU+|Fwd |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_FL] = LAYOUT_ansi(
|
||||
_______, 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_INS,
|
||||
_______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE,
|
||||
_______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME,
|
||||
_______, _______, _______, BL_DOWN,BL_TOGG, BL_UP, _______, _______, _______, _______, _______, _______, KC_VOLU, KC_END,
|
||||
_______, _______, _______, KC_MPLY, _______, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT),
|
||||
};
|
@ -1,12 +0,0 @@
|
||||
# laas' TADA68 layout
|
||||
|
||||
* Disabled mouse controls
|
||||
* Fn + PgUp -> Home
|
||||
* Fn + PgDown -> End
|
||||
* Media control for Windows:
|
||||
* Fn + Left: Previous track
|
||||
* Fn + Right: Next track
|
||||
* Fn + Up: Volume up
|
||||
* Fn + Down: Volume down
|
||||
* Fn + Delete: Mute
|
||||
* Fn + Space: Play/pause
|
@ -1,5 +0,0 @@
|
||||
# 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
|
||||
#
|
||||
CONSOLE_ENABLE = no # Console for debug(+400)
|
@ -1,3 +0,0 @@
|
||||
#include "../../config.h"
|
||||
|
||||
#define GRAVE_ESC_ALT_OVERRIDE
|
@ -1,24 +0,0 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
// Layer names for readability.
|
||||
#define BASE_LAYER 0
|
||||
#define FUNC_LAYER 1
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
// Base layer, always active.
|
||||
[BASE_LAYER] = LAYOUT_ansi(
|
||||
QK_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_HOME,
|
||||
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, KC_END,
|
||||
KC_CAPS, 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_DEL,
|
||||
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_UP, _______,
|
||||
KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, MO(1), _______, KC_LEFT, KC_DOWN, KC_RGHT),
|
||||
|
||||
// Function overlay, toggled by the Fn key.
|
||||
[FUNC_LAYER] = LAYOUT_ansi(
|
||||
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_VOLU,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, BL_DOWN, BL_UP, BL_TOGG, _______, KC_PGUP, _______,
|
||||
_______, _______, KC_MRWD, KC_MPLY, KC_MFFD, _______, _______, KC_HOME, KC_PGDN, KC_END),
|
||||
};
|
@ -1,7 +0,0 @@
|
||||
# Matt's TADA68 layout
|
||||
|
||||
Mac OS modifier layout, plus various tweaks to the standard Tada68 layout.
|
||||
|
||||
Uses Grave/Esc on the Esc key so that Cmd+Esc works to cycle through application windows as if the Grave/Tilde key was in the usual place, and sets the `GRAVE_ESC_ALT_OVERRIDE` flag so that Cmd-Opt-Esc still opens the Force Quit menu.
|
||||
|
||||
Blanks on the switches above the Right Arrow and in between the Left Arrow and Fn keys, to give the arrow cluster a bit more separation and make it easier to find by feel.
|
@ -1,18 +0,0 @@
|
||||
# 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 # Enable Bootmagic Lite
|
||||
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 = yes # 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
|
||||
|
@ -1,3 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#define GRAVE_ESC_GUI_OVERRIDE
|
@ -1,48 +0,0 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
#define _BL 0
|
||||
#define _FL 1
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Keymap _BL: (Base Layer) Default Layer
|
||||
* ,----------------------------------------------------------------.
|
||||
* |Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp | § |
|
||||
* |----------------------------------------------------------------|
|
||||
* |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| |Del |
|
||||
* |------------------------------------------------------- -----|
|
||||
* |CAPS | A| S| D| F| G| H| J| K| L| ;| '| \ |Entr|PgUp|
|
||||
* |----------------------------------------------------------------|
|
||||
* |Shift| ` | Z| X| C| V| B| N| M| ,| .| /|Rshift|Up|PgDn|
|
||||
* |----------------------------------------------------------------|
|
||||
* |Ctrl|Alt |LGUI| Space |Alt| FN|Ctrl|Lef|Dow|Rig |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_BL] = LAYOUT_iso(
|
||||
QK_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_NUBS,
|
||||
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_DEL,
|
||||
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGUP,
|
||||
KC_LSFT, KC_GRV, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN,
|
||||
KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RALT, MO(_FL), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
|
||||
/* Keymap _FL1: Function Layer 1
|
||||
* ,----------------------------------------------------------------.
|
||||
* | | F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12| |BR↑ |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | |Prn|Scl|Pau|Up | | |BR↓ |
|
||||
* |------------------------------------------------------- -----|
|
||||
* | | V+| V-|Mut| | | | |Hom|PgU|Lft|Rig| | |Home|
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | L+|LED| L-| | |End|PgDn|Dow| | ↑ | End|
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | ← | ↓ | → |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_FL] = LAYOUT_iso(
|
||||
_______, 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_BRMU,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, _______, KC_BRMD,
|
||||
_______, KC_VOLU, KC_VOLD, KC_MUTE, _______, _______, _______, _______, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, _______, _______, KC_HOME,
|
||||
_______, _______, _______, _______, BL_DOWN, BL_TOGG, BL_UP, _______, _______, KC_END, KC_PGDN, KC_DOWN, _______, KC_MS_U, KC_END,
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_MS_L, KC_MS_D, KC_MS_R
|
||||
),
|
||||
};
|
@ -1,14 +0,0 @@
|
||||
# Custom TADA68 layout for ISO UK with Apple-specific tweaks
|
||||
|
||||
This layout is based on the [ISO UK](../iso-uk) layout, with changes to make it
|
||||
more user friendly when used on Apple devices, like iPads and the Mac.
|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
Please see the [Tada68 readme](../../readme.md). Make the firmware wih the
|
||||
following command:
|
||||
|
||||
```
|
||||
make tada68:mattgemmell:flashbin
|
||||
```
|
@ -1,16 +0,0 @@
|
||||
# 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 # Enable Bootmagic Lite
|
||||
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
|
||||
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
|
@ -1,93 +0,0 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
// Each layer gets a name for readability, which is then used in the keymap matrix below.
|
||||
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
|
||||
// Layer names don't all need to be of the same length, obviously, and you can also skip them
|
||||
// entirely and just use numbers.
|
||||
#define _BL 0
|
||||
#define _FL 1
|
||||
|
||||
enum custom_keycodes {
|
||||
MAC_AE = SAFE_RANGE,
|
||||
MAC_OE,
|
||||
MAC_SS,
|
||||
MAC_UE,
|
||||
MAC_SHFT
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Keymap _BL: (Base Layer) Default Layer
|
||||
* ,----------------------------------------------------------------.
|
||||
* |Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |~ ` |
|
||||
* |----------------------------------------------------------------|
|
||||
* |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ |Del |
|
||||
* |----------------------------------------------------------------|
|
||||
* |FN | A| S| D| F| G| H| J| K| L| ;| '|Return |PgUp|
|
||||
* |----------------------------------------------------------------|
|
||||
* |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift | Up|PgDn|
|
||||
* |----------------------------------------------------------------|
|
||||
* |Ctrl|Alt |Win | Space |Win|Alt |Ctrl|Lef|Dow|Rig |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_BL] = LAYOUT_ansi(
|
||||
KC_ESC, 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_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_RBRC,KC_BSLS,KC_DEL,
|
||||
MO(_FL), 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_PGUP,
|
||||
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_UP,KC_PGDN,
|
||||
KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI,KC_RALT,KC_CAPS, KC_LEFT,KC_DOWN,KC_RGHT),
|
||||
|
||||
/* Keymap _FL: Function Layer
|
||||
* ,----------------------------------------------------------------.
|
||||
* | | F1|F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|Del |Ins |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | | Ü | | Ö | | | | |Hme |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | Ä | ß | | | | | | | | | | |End |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | |Bl-|BL |BL+| |VU-|VU+|MUT| | McL|MsU|McR |
|
||||
* |----------------------------------------------------------------|
|
||||
* | | | | | | | |MsL|MsD|MsR |
|
||||
* `----------------------------------------------------------------'
|
||||
*/
|
||||
[_FL] = LAYOUT_ansi(
|
||||
_______, 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_INS ,
|
||||
_______,_______,_______,_______,_______, _______,_______,MAC_UE,_______,MAC_OE,_______,_______,_______, _______,KC_HOME,
|
||||
_______,MAC_AE , MAC_SS,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,KC_END,
|
||||
_______ ,_______,_______,BL_DOWN,BL_TOGG,BL_UP, _______,KC_VOLD,KC_VOLU,KC_MUTE,_______,KC_BTN1, KC_MS_U, KC_BTN2,
|
||||
_______,_______,_______, _______, _______,_______,_______,KC_MS_L,KC_MS_D, KC_MS_R)
|
||||
};
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
if (record->event.pressed) {
|
||||
switch(keycode) {
|
||||
case MAC_UE:
|
||||
if(keyboard_report->mods & MOD_BIT(KC_LSFT)) {
|
||||
clear_keyboard();
|
||||
SEND_STRING(SS_LALT("u") SS_LSFT("u"));
|
||||
} else {
|
||||
SEND_STRING(SS_LALT("u")"u");
|
||||
}
|
||||
return false;
|
||||
case MAC_AE:
|
||||
if(keyboard_report->mods & MOD_BIT(KC_LSFT)) {
|
||||
clear_keyboard();
|
||||
SEND_STRING(SS_LALT("u") SS_LSFT("a"));
|
||||
} else {
|
||||
SEND_STRING(SS_LALT("u")"a");
|
||||
}
|
||||
return false;
|
||||
case MAC_OE:
|
||||
if(keyboard_report->mods & MOD_BIT(KC_LSFT)) {
|
||||
clear_keyboard();
|
||||
SEND_STRING(SS_LALT("u") SS_LSFT("o"));
|
||||
} else {
|
||||
SEND_STRING(SS_LALT("u")"o");
|
||||
}
|
||||
return false;
|
||||
case MAC_SS:
|
||||
SEND_STRING(SS_LALT("s"));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
};
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user