mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-28 06:00:12 +00:00
27e3458f44
* Adding Rama M10-A Macropad * ch-ch-ch changes... * Major overhaul based on SMT's keymap. * more changes. * Moved the FKeys to the ADJUST layer. * More rearranging. * Alias in Atreus62 keymap to make it more legible Added config.h to fix tapping_term issue for Caps Lock key in OSX * Added OrthoDox layout. * More layout changes. * Fixing things with the keyboard. * Finishing touches. Set left-hand master in config.h Embedded the arrow keys in keymap.c * Revised keymap making this easier to use. * additions and changes. * changes to various keymaps. * Minor adjustments to OrthoDox layout. * Added Eco keymap. Updated Let's Split keymap. * Added gherkin * Removed my M10A keymap * Planck Keymap Updates Updated my Planck keymap and created a simple keymap for Seph's Preonic. * Added readme * readme fixes * Update readme.md more clarification * Keymap Tweaks Removed the Power button setting from the keymap. It was in a horrible location. I'll work on getting it setup somewhere else sometime later. * Added Readme I finally got around to adding a readme to this keymap. I've also added minor changes to the layout. * Fixed Keymap Error * Fixed Readme * adding iris and levinson keymaps * Tweaks to keymap * added youngJZ keymap * Changes to keymap Added a readme.md * Levinson changes Added the readme.md and rules.mk files. Configured RGB underglow and backlighting. * fixed readme * changes to keymaps * Updated keymap * Updated readme.md * Updated Readme (again) * Updated Readme Fixed formatting. Again. * Updated readme This is the last readme update for this keyboard update. I hope. * Added Contra keymap * Kinesis Keymap Update * Updated Keymaps I've updated my Kinesis (Stapelberg) layout and my Clueboard 66 layout. I've also updated my Kinesis Readme. * Clueboard Keymap update Added media keys to my Clueboard 66 Rev2 layout. * Added keymap Added Minidox keymap & rules. Added user function to Let's Split keymap that turns off the red LEDs on the Pro Micros. * New Zen keymap Added Zen keyboard to my list of keyboards, so had to generate a new keymap for it. Also adding some changes to my MiniDox keymap and config.h, as well as my Levinson's config.h. The config.h file changes enable ee_hands. * A few changes for useability I made a few changes to the Minidox keymap to see if I can't make it more useable. I'm also working on streamlining the Zen keyboard keymap to reduce layers. * Re-vamped Iris keymap. * changes * minor keymap change This was a minor keymap change to use mod_tap for the backspace key: ALT when held, BSPC when tapped. * Added Fourier keymap * Keymap Cleanup Moved KC_ESC to KC_CAPS, and changed KC_ESC to KC_GRV This is because of muscle memory, I kept hitting ESC when trying to hit TAB. * Keymap Adjustments Swapped Caps/Esc, put Caps in Raise/Lower layers, put Grv in normal Esc position. Adjusted the readme.md to reflect these changes. * minor tweaks Added code to disable red ProMicro LEDs after flashing. * Clean-up * Corrections to keymap. Fixed a foul-up in the Zen keymap where the lctrl was where the LOWER should have been. * Changes to make this fall in line with the new Layout features * Moving to LAYOUTs for 4x12 boards * fixed config.h file * standardization changes * Reverted Atreus62 keymap to LAYOUT format * Switch Preonic and Nyquist to ortho_5x12 * Corrections to config.h * config.h file tweaks * config.h file tweaks
86 lines
3.1 KiB
C
86 lines
3.1 KiB
C
#include QMK_KEYBOARD_H
|
|
#include "action_layer.h"
|
|
#include "eeconfig.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 _BASE 0
|
|
#define _FN1 1
|
|
#define _FN2 2
|
|
|
|
enum custom_keycodes {
|
|
QWERTY = SAFE_RANGE,
|
|
};
|
|
|
|
#define KC_ KC_TRNS
|
|
#define _______ KC_TRNS
|
|
#define XXXXXXX KC_NO
|
|
#define KC_FN1 MO(_FN1)
|
|
#define KC_FN2 MO(_FN2)
|
|
#define KC_SPFN1 LT(_FN1, KC_SPACE)
|
|
#define KC_SPFN2 LT(_FN2, KC_SPACE)
|
|
#define KC_BSFN1 LT(_FN1, KC_BSPC)
|
|
#define KC_BSFN2 LT(_FN2, KC_BSPC)
|
|
#define KC_RST RESET
|
|
#define KC_DBUG DEBUG
|
|
#define KC_RTOG RGB_TOG
|
|
#define KC_RMOD RGB_MOD
|
|
#define KC_RHUI RGB_HUI
|
|
#define KC_RHUD RGB_HUD
|
|
#define KC_RSAI RGB_SAI
|
|
#define KC_RSAD RGB_SAD
|
|
#define KC_RVAI RGB_VAI
|
|
#define KC_RVAD RGB_VAD
|
|
|
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
[_BASE] = LAYOUT_kc(
|
|
//,----+----+----+----+----+----|----+----+----+----+----+----+----.
|
|
TAB ,QUOT,COMM,DOT , P , Y , F , G , C , R , L ,SLSH,MINS,
|
|
//|----`----`----`----`----`----|----`----`----`----`----`----`----|
|
|
ESC , A , O , E , U , I , D , H , T , N , S , ENTER ,
|
|
//|-----`----`----`----`----`----|----`----`----`----`----`--------|
|
|
LSFT ,SCLN, Q , J , K , X , B , M , W , V , Z , RSFT ,
|
|
//|-------`----`----`----`----`----|----`----`----`----`----`------|
|
|
LCTL ,LALT,LGUI ,FN2 , BSPC , SPC , FN1 ,RGUI ,RALT , RCTL
|
|
//`-----+----+-----+----+--------|--------+-----+-----+-----+------'
|
|
),
|
|
|
|
[_FN1] = LAYOUT_kc(
|
|
//,----+----+----+----+----+----|----+----+----+----+----+----+----.
|
|
GRV , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 0 ,MINS,EQL ,
|
|
//|----`----`----`----`----`----|----`----`----`----`----`----`----|
|
|
CAPS ,RHUI,RSAI,RVAI,VOLU,LBRC,RBRC, , , ,SCLN, ,
|
|
//|-----`----`----`----`----`----|----`----`----`----`----`--------|
|
|
RMOD ,RHUD,RSAD,RVAD,VOLD,LCBR,RCBR, , , , UP , ,
|
|
//|-------`----`----`----`----`----|----`----`----`----`----`------|
|
|
RTOG , , , , DEL , INS , ,LEFT ,DOWN , RGHT
|
|
//`-----+----+-----+----+--------|--------+-----+-----+-----+------'
|
|
),
|
|
|
|
[_FN2] = LAYOUT_kc(
|
|
//,----+----+----+----+----+----|----+----+----+----+----+----+----.
|
|
TILD,EXLM, AT ,HASH,DLR ,PERC,CIRC,AMPR,ASTR,LPRN,RPRN,UNDS,PLUS,
|
|
//|----`----`----`----`----`----|----`----`----`----`----`----`----|
|
|
CAPS , , ,INS ,PGUP,HOME, F1 , F2 , F3 , F4 , F5 , F6 ,
|
|
//|-----`----`----`----`----`----|----`----`----`----`----`--------|
|
|
, , ,DEL ,PGDN,END , F7 , F8 , F9 ,F10 ,F11 , F12 ,
|
|
//|-------`----`----`----`----`----|----`----`----`----`----`------|
|
|
, , , , DEL , INS , , , ,
|
|
//`-----+----+-----+----+--------|--------+-----+-----+-----+------'
|
|
)
|
|
|
|
};
|
|
|
|
void matrix_init_user(void) {
|
|
// This will disable the red LEDs on the ProMicros
|
|
DDRD &= ~(1<<5);
|
|
PORTD &= ~(1<<5);
|
|
DDRB &= ~(1<<0);
|
|
PORTB &= ~(1<<0);
|
|
};
|
|
|