You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
857 B

Art userspace (#9068) * 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>
4 years ago
  1. #pragma once
  2. #include QMK_KEYBOARD_H
  3. #define CTL_ALT(kc) (CTL_ALT_START + ((kc) & 0xff))
  4. extern bool is_win;
  5. enum layer_names {
  6. QWERTY,
  7. WORKMAN,
  8. BASE, //only specific for split75
  9. #if defined(KEYBOARD_wheatfield_split75)
  10. QWERTY_MOD,
  11. LAYOUT_CHG,
  12. #elif defined(KEYBOARD_ergodone)
  13. FKEYS,
  14. CTRL_NAV,
  15. SHIFT_NAV,
  16. #endif
  17. MEDIA,
  18. COMBOS,
  19. STRINGS,
  20. CONFIG,
  21. NAV,
  22. NUMPAD,
  23. GIT,
  24. GIT_C,
  25. GIT_S
  26. };
  27. enum custom_keycodes_art {
  28. CTRL_CTV = SAFE_RANGE,
  29. CTRL_LCTV,
  30. CTRL_CAV,
  31. SARCASM,
  32. TOG_OS,
  33. CTR_ALT,
  34. OS_CTRL,
  35. OS_WIN,
  36. TILD_BLOCK,
  37. ADMINS,
  38. PRESCRIPTION,
  39. FOURS,
  40. G_ADD,
  41. G_BRCH,
  42. G_C,
  43. G_CHEC,
  44. G_COMM,
  45. G_DEV,
  46. G_DIFF,
  47. G_FTCH,
  48. G_LOG,
  49. G_MERG,
  50. G_P,
  51. G_RST,
  52. G_S,
  53. G_STAT,
  54. G_STSH,
  55. G_SHOW,
  56. CTL_ALT_START,
  57. CTL_ALT_END = CTL_ALT_START + 0xff,
  58. NEW_SAFE_RANGE //for keymap specific codes
  59. };