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.

124 lines
4.5 KiB

  1. Copyright 2021 Jonavin Eng @Jonavin
  2. This program is free software: you can redistribute it and/or modify
  3. it under the terms of the GNU General Public License as published by
  4. the Free Software Foundation, either version 2 of the License, or
  5. (at your option) any later version.
  6. This program is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. GNU General Public License for more details.
  10. You should have received a copy of the GNU General Public License
  11. along with this program. If not, see <http://www.gnu.org/licenses/>.
  12. LAYERS:
  13. - 0 = _BASE
  14. - 1 = _FN1
  15. - 2 = _LOWER
  16. - 3 = _RAISE
  17. KEYCODES:
  18. - KC_CAD Ctrl-Alt-Del
  19. - KC_AF4 Alt-F4
  20. - KC_TASK Windows Task Manager (Ctrl-Shift-Esc)
  21. - LSFT_CAPSLOCK When LSFT_CAPSLOCK_ENABLE is defined, hold for Shift double tap for CAPSLOCK; otherwise, just Shift
  22. - KC_00 double zero "00"
  23. - KC_WINLCK toggles LGui/Win key lock
  24. - RGB_TOI Increase Timeout idle time threshold
  25. - RGB_TOD Decrease Timeout idle time threshold
  26. - CT_PGUP Ctrl-PgUp
  27. - CT_PGDN Ctrl-PgDn
  28. - CT_HOME Ctrl-HOme
  29. - CT_END Ctrl-End
  30. - KC_SFTUP RShift when held, Up arrow when tapped
  31. - KC_RAISESPC _RAISE layer mod when held, space when tapped
  32. - KC_LOWERSPC _LOWER layer mod when held, space when tapped
  33. - KC_TSTOG toggles between volume and Alt-Tab encoder control
  34. -
  35. When EMOTICON_ENABLE = yes
  36. - EMO_SHRUG `\_("/)_/`
  37. - EMO_CONFUSE (*_*)
  38. - EMD_TEARS (T_T)
  39. - EMO_NERVOUS (~_~;)
  40. - EMO_JOY (^o^)
  41. - EMO_SAD :'-(
  42. AVAILABLE ENCODER ACTIONS:
  43. - void encoder_action_volume(bool clockwise);
  44. - void encoder_action_mediatrack(bool clockwise);
  45. - void encoder_action_navword(bool clockwise);
  46. - void encoder_action_navpage(bool clockwise);
  47. -
  48. - uint8_t get_selected_layer(void);
  49. - void encoder_action_layerchange(bool clockwise);
  50. -
  51. - void encoder_action_rgb_speed(bool clockwise);
  52. - void encoder_action_rgb_hue(bool clockwise);
  53. - void encoder_action_rgb_saturation(bool clockwise);
  54. - void encoder_action_rgb_brightness(bool clockwise);
  55. - void encoder_action_rgb_mode(bool clockwise);
  56. -
  57. - void encoder_action_alttabscroll(bool clockwise)
  58. - void encoder_toggle_alttabscroll(void);
  59. ENABLE FEATURES your keymap rules.mk
  60. ---------------------------------------
  61. STARTUP_NUMLOCK_ON = yes
  62. - turns on NUMLOCK by default
  63. ENCODER_DEFAULTACTIONS_ENABLE = yes
  64. - Enabled default encoder funtions
  65. - When enabled, use this in the keymap for an additional encoder processing
  66. - bool encoder_update_keymap(uint8_t index, bool clockwise)
  67. OPTION: set ENCODER_DEFAULTACTIONS_INDEX to the encoder number if the encoder is not index 0
  68. TD_LSFT_CAPSLOCK_ENABLE = yes
  69. - This will enable double tap on Left Shift to toggle CAPSLOCK
  70. - KC_LSFTCAPS to bind to left Shift to enable feature
  71. - KC_LSFTCAPSWIN does the same thing but will not turn on CAPS when Win Lkey is disabled
  72. IDLE_TIMEOUT_ENABLE = yes
  73. - Enables Timer functionality; for RGB idle timeouts that can be changed dynamically
  74. - When enabled, use this in the keymap for an additional matrix processing: void matrix_scan_keymap(void)
  75. EMOTICON_ENABLE
  76. - adds EMO_ keycodes for text emojis
  77. INVERT_NUMLOCK_INDICATOR
  78. - inverts the Num lock indicator, LED is on when num lock is off
  79. ALTTAB_SCROLL_ENABLE
  80. - When ENCODER_DEFAULTACTIONS_ENABLE = yes,
  81. Enables Alt-Tab scrolling functions in default encoder,
  82. bind KS_TSTOG to a key to enable/disable Alt-Tab vs Volume control
  83. - When defining your own encoder functions use encoder_action_alttabscroll(bool clockwise) to assign the encodr action
  84. FUNCTIONS
  85. ------------------------
  86. - u16int_t get_timeout_threshold(void) // returns the current timeout threshold
  87. - void timeout_update_threshold(bool increase) // change threshold: true = increase, false = decrease
  88. - void timeout_reset_timer(void) // resets timer (put in process_record_user if you override it)
  89. - void timeout_tick_timer(void) // registers time ticks (put in maxtrix_scan_user if you override it)
  90. Other Functions:
  91. - activate_numlock(bool turn_on) // true = turn on NUM LOCK, false = off
  92. KEYMAP LEVEL ADDITIONAL PROCESSING FUNCTIONS
  93. - bool process_record_keymap(uint16_t keycode, keyrecord_t *record)
  94. - void keyboard_post_init_keymap(void)
  95. LIST OF COMPATIBLE KEYMAPS
  96. - gmmk/pro/ansi
  97. - keebio/quefrency/rev3
  98. - mechwild/mercutio
  99. - mechwild/murphpad
  100. - mechwild/OBE
  101. - nopunin10did/kastenwagen (*)
  102. (*) coming soon