mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-27 11:38:58 +06:00
209942366b
* added git codes * started git layer * finished structure for git layer. MOD: replaced mouse with mod keys on right hand * layout changing layer * mod enter. default qwerty layer. removed mods on number layer * workman layout. git log, show. blank enter and bsspace * config layer. toggleable ctrl/alt for OS * removed keymap comments * strings and combos layers. sarcasm and ctrl_ctv. RGB configs * reintroduced enter and bspace. delete backspace as a function. git push -u and checkout -b * string macros * OS specific home/end * OS mac & win keys. N delete global backspace * refactored backspace functions * ctrl lctv macro * base layer toggle fix * whitespace * BS + L for FF and chrome * replaced 1 keycode with userspace * added userspace config * remove comments * add another keycode with a variable * moved all keymaps and codes to common file * ctrl z mod * removed ctrl z * sipmlified OS functions * moved is_win to keyboard level * added mac alt tab * added ctrl tab in mac + clean up variables in art.h * tild string macro. added mac left/right + home/end * mac ctrl backspace * enum layers for default layout * added ergodone keymap * ergodone compiles * clean up * clean up * removed obsolete OS_HOME/END * removed var * added ctrl nav to split75 * ergodone clean up + caps lock fix 75 * fix mac ctrl alt on right handside. added mac alt tab left right * fix ergodone config override * fixed alt left right not working on mac * added OS ctr_alt * mac ctrl del. fix tild * simplified tild macro * git stash apply * send_string_remembering_lenght * shifted strings print * restored KC_BSPACE functionality * moved KC_BSPC * numpad layer on Fn * media lights * ergodone final clean up * ergodone GIT AND MEDIA layers * ergodone GIT LAYER switch * default behaviour for all modified keys on BASE layer * refactored logic for default keycodes * ergodone final layers * ctrl_cav for translation and ctrl_l fix * toggleable layer with numpad * comments * numpad layer * Update users/art/config.h Co-authored-by: Joel Challis <git@zvecr.com> * enable dynamic macros for split75 * git branch and develop/master * removed esc from Nav * ergodone: ctrl alt for shift layer * macros and right alt for ergodone * fix ergodone N_backspace not working on git layers * mac language switch with alt+shift * Update users/art/art.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update users/art/art.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update users/art/art.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/ergodone/keymaps/art/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update users/art/art.h Co-authored-by: Ryan <fauxpark@gmail.com> * flashing leds to indicate current os * using rshift on shifted layers Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Ryan <fauxpark@gmail.com>
70 lines
857 B
C
70 lines
857 B
C
#pragma once
|
|
#include QMK_KEYBOARD_H
|
|
|
|
#define CTL_ALT(kc) (CTL_ALT_START + ((kc) & 0xff))
|
|
|
|
extern bool is_win;
|
|
|
|
enum layer_names {
|
|
QWERTY,
|
|
WORKMAN,
|
|
BASE, //only specific for split75
|
|
#if defined(KEYBOARD_wheatfield_split75)
|
|
QWERTY_MOD,
|
|
LAYOUT_CHG,
|
|
#elif defined(KEYBOARD_ergodone)
|
|
FKEYS,
|
|
CTRL_NAV,
|
|
SHIFT_NAV,
|
|
#endif
|
|
|
|
MEDIA,
|
|
COMBOS,
|
|
STRINGS,
|
|
CONFIG,
|
|
NAV,
|
|
NUMPAD,
|
|
GIT,
|
|
GIT_C,
|
|
GIT_S
|
|
};
|
|
|
|
enum custom_keycodes_art {
|
|
CTRL_CTV = SAFE_RANGE,
|
|
CTRL_LCTV,
|
|
CTRL_CAV,
|
|
SARCASM,
|
|
|
|
TOG_OS,
|
|
CTR_ALT,
|
|
OS_CTRL,
|
|
OS_WIN,
|
|
|
|
TILD_BLOCK,
|
|
ADMINS,
|
|
PRESCRIPTION,
|
|
FOURS,
|
|
|
|
G_ADD,
|
|
G_BRCH,
|
|
G_C,
|
|
G_CHEC,
|
|
G_COMM,
|
|
G_DEV,
|
|
G_DIFF,
|
|
G_FTCH,
|
|
G_LOG,
|
|
G_MERG,
|
|
G_P,
|
|
G_RST,
|
|
G_S,
|
|
G_STAT,
|
|
G_STSH,
|
|
G_SHOW,
|
|
|
|
CTL_ALT_START,
|
|
CTL_ALT_END = CTL_ALT_START + 0xff,
|
|
|
|
NEW_SAFE_RANGE //for keymap specific codes
|
|
};
|