2021-08-19 17:45:49 +00:00
|
|
|
Copyright 2021 Jonavin Eng @Jonavin
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
LAYERS:
|
2021-10-12 01:03:58 +00:00
|
|
|
- 0 = _BASE
|
|
|
|
- 1 = _FN1
|
|
|
|
- 2 = _LOWER
|
|
|
|
- 3 = _RAISE
|
2021-08-19 17:45:49 +00:00
|
|
|
|
|
|
|
KEYCODES:
|
2021-10-12 01:03:58 +00:00
|
|
|
- KC_CAD Ctrl-Alt-Del
|
|
|
|
- KC_AF4 Alt-F4
|
|
|
|
- KC_TASK Windows Task Manager (Ctrl-Shift-Esc)
|
|
|
|
- LSFT_CAPSLOCK When LSFT_CAPSLOCK_ENABLE is defined, hold for Shift double tap for CAPSLOCK; otherwise, just Shift
|
|
|
|
- KC_00 double zero "00"
|
|
|
|
- KC_WINLCK toggles LGui/Win key lock
|
|
|
|
- RGB_TOI Increase Timeout idle time threshold
|
|
|
|
- RGB_TOD Decrease Timeout idle time threshold
|
|
|
|
- CT_PGUP Ctrl-PgUp
|
|
|
|
- CT_PGDN Ctrl-PgDn
|
|
|
|
- CT_HOME Ctrl-HOme
|
|
|
|
- CT_END Ctrl-End
|
2021-10-23 06:04:08 +00:00
|
|
|
- KC_SFTUP RShift when held, Up arrow when tapped
|
|
|
|
- KC_RAISESPC _RAISE layer mod when held, space when tapped
|
|
|
|
- KC_LOWERSPC _LOWER layer mod when held, space when tapped
|
2021-10-30 18:53:58 +00:00
|
|
|
- KC_TSTOG toggles between volume and Alt-Tab encoder control
|
2021-10-12 01:03:58 +00:00
|
|
|
-
|
|
|
|
When EMOTICON_ENABLE = yes
|
|
|
|
- EMO_SHRUG `\_("/)_/`
|
|
|
|
- EMO_CONFUSE (*_*)
|
|
|
|
- EMD_TEARS (T_T)
|
|
|
|
- EMO_NERVOUS (~_~;)
|
|
|
|
- EMO_JOY (^o^)
|
2021-10-23 06:04:08 +00:00
|
|
|
- EMO_SAD :'-(
|
2021-10-12 01:03:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
AVAILABLE ENCODER ACTIONS:
|
|
|
|
- void encoder_action_volume(bool clockwise);
|
|
|
|
- void encoder_action_mediatrack(bool clockwise);
|
|
|
|
- void encoder_action_navword(bool clockwise);
|
|
|
|
- void encoder_action_navpage(bool clockwise);
|
|
|
|
-
|
|
|
|
- uint8_t get_selected_layer(void);
|
|
|
|
- void encoder_action_layerchange(bool clockwise);
|
|
|
|
-
|
|
|
|
- void encoder_action_rgb_speed(bool clockwise);
|
|
|
|
- void encoder_action_rgb_hue(bool clockwise);
|
|
|
|
- void encoder_action_rgb_saturation(bool clockwise);
|
|
|
|
- void encoder_action_rgb_brightness(bool clockwise);
|
|
|
|
- void encoder_action_rgb_mode(bool clockwise);
|
2021-10-30 18:53:58 +00:00
|
|
|
-
|
|
|
|
- void encoder_action_alttabscroll(bool clockwise)
|
|
|
|
- void encoder_toggle_alttabscroll(void);
|
2021-08-19 17:45:49 +00:00
|
|
|
|
|
|
|
ENABLE FEATURES your keymap rules.mk
|
2021-10-12 01:03:58 +00:00
|
|
|
---------------------------------------
|
2021-08-19 17:45:49 +00:00
|
|
|
|
|
|
|
STARTUP_NUMLOCK_ON = yes
|
2021-10-12 01:03:58 +00:00
|
|
|
- turns on NUMLOCK by default
|
2021-08-19 17:45:49 +00:00
|
|
|
|
|
|
|
ENCODER_DEFAULTACTIONS_ENABLE = yes
|
2021-10-12 01:03:58 +00:00
|
|
|
- Enabled default encoder funtions
|
|
|
|
- When enabled, use this in the keymap for an additional encoder processing
|
|
|
|
- bool encoder_update_keymap(uint8_t index, bool clockwise)
|
2021-08-19 17:45:49 +00:00
|
|
|
|
2021-10-12 01:03:58 +00:00
|
|
|
OPTION: set ENCODER_DEFAULTACTIONS_INDEX to the encoder number if the encoder is not index 0
|
|
|
|
|
2021-08-19 17:45:49 +00:00
|
|
|
TD_LSFT_CAPSLOCK_ENABLE = yes
|
2021-10-12 01:03:58 +00:00
|
|
|
- This will enable double tap on Left Shift to toggle CAPSLOCK
|
|
|
|
- KC_LSFTCAPS to bind to left Shift to enable feature
|
|
|
|
- KC_LSFTCAPSWIN does the same thing but will not turn on CAPS when Win Lkey is disabled
|
2021-08-19 17:45:49 +00:00
|
|
|
|
|
|
|
IDLE_TIMEOUT_ENABLE = yes
|
2021-10-12 01:03:58 +00:00
|
|
|
- Enables Timer functionality; for RGB idle timeouts that can be changed dynamically
|
|
|
|
- When enabled, use this in the keymap for an additional matrix processing: void matrix_scan_keymap(void)
|
|
|
|
|
2021-10-23 06:04:08 +00:00
|
|
|
EMOTICON_ENABLE
|
|
|
|
- adds EMO_ keycodes for text emojis
|
|
|
|
|
|
|
|
INVERT_NUMLOCK_INDICATOR
|
|
|
|
- inverts the Num lock indicator, LED is on when num lock is off
|
|
|
|
|
2021-10-30 18:53:58 +00:00
|
|
|
ALTTAB_SCROLL_ENABLE
|
|
|
|
- When ENCODER_DEFAULTACTIONS_ENABLE = yes,
|
|
|
|
Enables Alt-Tab scrolling functions in default encoder,
|
|
|
|
bind KS_TSTOG to a key to enable/disable Alt-Tab vs Volume control
|
|
|
|
- When defining your own encoder functions use encoder_action_alttabscroll(bool clockwise) to assign the encodr action
|
|
|
|
|
2021-10-23 06:04:08 +00:00
|
|
|
|
|
|
|
FUNCTIONS
|
|
|
|
------------------------
|
2021-10-12 01:03:58 +00:00
|
|
|
- u16int_t get_timeout_threshold(void) // returns the current timeout threshold
|
|
|
|
- void timeout_update_threshold(bool increase) // change threshold: true = increase, false = decrease
|
|
|
|
- void timeout_reset_timer(void) // resets timer (put in process_record_user if you override it)
|
|
|
|
- void timeout_tick_timer(void) // registers time ticks (put in maxtrix_scan_user if you override it)
|
2021-08-19 17:45:49 +00:00
|
|
|
|
|
|
|
Other Functions:
|
2021-10-12 01:03:58 +00:00
|
|
|
- activate_numlock(bool turn_on) // true = turn on NUM LOCK, false = off
|
2021-08-19 17:45:49 +00:00
|
|
|
|
|
|
|
KEYMAP LEVEL ADDITIONAL PROCESSING FUNCTIONS
|
2021-10-12 01:03:58 +00:00
|
|
|
- bool process_record_keymap(uint16_t keycode, keyrecord_t *record)
|
|
|
|
- void keyboard_post_init_keymap(void)
|
2021-08-19 17:45:49 +00:00
|
|
|
|
|
|
|
LIST OF COMPATIBLE KEYMAPS
|
2021-10-12 01:03:58 +00:00
|
|
|
- gmmk/pro/ansi
|
|
|
|
- keebio/quefrency/rev3
|
|
|
|
- mechwild/mercutio
|
|
|
|
- mechwild/murphpad
|
|
|
|
- mechwild/OBE
|
2021-12-25 01:23:24 +00:00
|
|
|
- kbdfans/kdb67
|
2022-01-11 17:56:01 +00:00
|
|
|
- nopunin10did/kastenwagen48
|
2021-08-19 17:45:49 +00:00
|
|
|
|