1
0
Fork 0

Keymap: Updates to personal userspace and keymaps (#4206)

* - updated personal userspace
- updated fc660c, niu mini and planck keymaps
- added prime_o keymap

* Rename README.md to readme.md
This commit is contained in:
SpacebarRacecar 2018-10-22 22:23:22 +02:00 committed by Drashna Jaelre
parent e745144836
commit 704a2e8d3c
16 changed files with 411 additions and 54 deletions

View file

@ -0,0 +1 @@
#pragma once

View file

@ -12,7 +12,7 @@ enum layers {
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Base Layer
/* Base
,-----------------------------------------------------------------------------------------------------------------------.
|Tab |Q |W |E |R |T |Z |U |I |O |P |Backspace|
|---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------|
@ -68,7 +68,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
),
/* Dead-Key
/* Deadkey
,-----------------------------------------------------------------------------------------------------------------------.
| | | | | | | |Ü | |Ö | | |
|---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------|
@ -87,15 +87,15 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, CU_DDQ, CU_DDQ, _______, _______, _______, _______, _______
),
/* Nav
/* Navigation
,-----------------------------------------------------------------------------------------------------------------------.
|Caps Lock|PageDown |Up |PageUp |Home | | | |Win+Up | | |Del |
|ESCT |PageDown |Up |PageUp |Home | | | |Win+Up | | |Del |
|---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------|
| |Left |Down |Right |End | | |Win+Left |Win+Down |Win+Right| |Enter |
|---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------|
| |Prev |Pause |Next |LowerVol |RaiseVol |Mute | | | | | |
|---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------|
| | | | | | | | | | |RESET | |
|RESET | | | | | | | | | | |Game |
`-----------------------------------------------------------------------------------------------------------------------'
*/
@ -103,12 +103,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
CU_ESCT, KC_PGDN, KC_UP, KC_PGUP, KC_HOME, XXXXXXX, XXXXXXX, XXXXXXX, GUIU, XXXXXXX, XXXXXXX, KC_DEL,
_______, KC_LEFT, KC_DOWN, KC_RGHT, KC_END, XXXXXXX, XXXXXXX, GUIL, GUID, GUIR, RGB_M_P, KC_ENT,
_______, KC_MPRV, KC_MPLY, KC_MNXT, KC_VOLD, KC_VOLU, KC_MUTE, RGB_TOG, RGB_MOD, RGB_HUI, CU_RGBV, _______,
RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, CU_GAME
RESET, _______, _______, _______, _______, KC_SPC, KC_ENT, _______, _______, _______, _______, CU_GAME
)
};
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
bool process_record_keymap(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case MO(_LOWER):
if (game){
@ -121,6 +121,7 @@ switch (keycode) {
} else {
return true;
}
default:
return true;
}
return process_record_userspace(keycode, record);
}

View file

@ -1,3 +1,5 @@
# US-International like Niu Mini layout for PCs with German set as input language
# SpacebarRacecar US-International NIU Mini Keymap for German PCs
This layout aims to provide a US-International like layout for PCs that have German set as Input Language. This is useful for users living in germany, because it enables the use of the Niu Mini on any pc without having to switch the input language. It's mostly based on the Planck default layout, but adds essential features for german input, like a dead key layer to access ä, ö, ü.
This keymap emulates most keys of the US-International layout on PCs that have German set as input language.
This allows the use of the keyboard on any PC in Germany without the need to change any settings.
The keymap is mostly based on the Planck default layout but adds essential features for german input, like access to Ä, Ö, Ü, ß.