forked from mirrors/qmk_firmware
8d46bb9cab
* Initial Zygomorph 5x6 code Split is not working yet * layout changes implement 4 row config option (not done yet), remove layout comments in layout.c * Zygomorph layouts for 5x12, 5x6, 4x12, and 4x6 Also, info.json *should* be nearly usable for the configurator * temporary fix for pin D5 being broken * show D5 issue comment * add build notes * Pin B7 broken in split why? * remove fix * Fix some pin assignments * begin to fix keymap * Create new 5x6 layout * update key positions * Initial Zygomorph 5x6 code Split is not working yet * layout changes implement 4 row config option (not done yet), remove layout comments in layout.c * Zygomorph layouts for 5x12, 5x6, 4x12, and 4x6 Also, info.json *should* be nearly usable for the configurator * temporary fix for pin D5 being broken * show D5 issue comment * add build notes * Pin B7 broken in split why? * remove fix * Fix some pin assignments * begin to fix keymap * Create new 5x6 layout * Rough first pass at split common conversion. Keymap cleanup to cover just the basics. Broke OLED code out into separate example. * Fix readme * Removal of old encoder / oled driver, fix for layout macros * small update * xulkal zygomorph keymaps * Removed the LED_MIRRORED option as leds are always mirrored on Zygomorph * Xulkal keymaps update * split rgb light support * fix line endings * Apply suggestions from code review Co-Authored-By: zvecr <git@zvecr.com> * More layout and compile fixes from pr review * Cleaning up rules.mk files * Apply suggestions from code review Co-Authored-By: zvecr <git@zvecr.com> * Updating defaults * Apply suggestions from code review Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
53 lines
918 B
C
53 lines
918 B
C
#pragma once
|
|
#include "quantum.h"
|
|
|
|
#define RIS_ESC LT(_RAISE, KC_ESC)
|
|
#define RIS_CAPS LT(_RAISE, KC_CAPS)
|
|
|
|
#ifdef TAP_DANCE_ENABLE
|
|
#include "process_tap_dance.h"
|
|
|
|
//Tap Dance Declarations
|
|
enum {
|
|
COMM_QUOT = 0,
|
|
BACKSPACE,
|
|
TAP_TAB,
|
|
CTRL_MINUS,
|
|
CTRL_PLUS
|
|
};
|
|
|
|
#define TD_COMM TD(COMM_QUOT)
|
|
#define TD_BSPC TD(BACKSPACE)
|
|
#define TD_TAB TD(TAP_TAB)
|
|
#define TD_LCTL TD(CTRL_MINUS)
|
|
#define TD_RCTL TD(CTRL_PLUS)
|
|
#else
|
|
#define TD_COMM KC_COMM
|
|
#define TD_BSPC KC_BSPACE
|
|
#define TD_TAB KC_TAB
|
|
#define TD_LCTL KC_LCTL
|
|
#define TD_RCTL KC_RCTL
|
|
#endif
|
|
|
|
enum layer_number {
|
|
_QWERTY = 0,
|
|
#ifndef GAMELAYER_DISABLE
|
|
_GAME,
|
|
#endif
|
|
_LOWER,
|
|
_RAISE,
|
|
#ifdef TRILAYER_ENABLED
|
|
_ADJUST
|
|
#endif
|
|
};
|
|
|
|
enum custom_keycodes {
|
|
QWERTY = SAFE_RANGE,
|
|
GAME,
|
|
LOWER,
|
|
RAISE,
|
|
RGBRST
|
|
};
|
|
|
|
bool process_record_keymap(uint16_t keycode, keyrecord_t *record);
|
|
bool process_record_rgb(uint16_t keycode, keyrecord_t *record);
|