summaryrefslogtreecommitdiffstats
path: root/users/konstantin/konstantin.h
Commit message (Collapse)AuthorAgeFilesLines
* [Keymap] Updates to existing keymaps and userspace (#14503)Konstantin Đorđević2021-09-191-12/+30
| | | Co-authored-by: Drashna Jaelre <drashna@live.com>
* Redefine IS_LAYER_ON/OFF() as aliases for existing layer functions (#6352)Konstantin Đorđević2020-07-161-3/+0
| | | | | | | | | | | | | | | | | | * Add IS_LAYER_ON_STATE()/IS_LAYER_OFF_STATE() macros * Add docs for IS_LAYER_ON/OFF(_STATE) macros * Remove IS_LAYER_ON/OFF_STATE redefinition in userspace * Run clang-format on quantum/quantum.h * Redefine IS_LAYER_ON/OFF(_STATE) as aliases of existing layer functions Also update relevant doc entries. Needs testing to check if this breaks existing IS_LAYER_ON/OFF usage in certain edge cases (namely calling the macros with 0). * Reformat layer check function docs
* [Keymap] Update personal userspace and keymaps (#9082)Konstantin Đorđević2020-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * Replace custom RCTRL implementation with built-in LM Caveat: sends LCtrl instead of RCtrl * Enable VIA support in KBD6X keymap * Disable LTO on ChibiOS boards * Disable locking support and Magic keycodes for all keymaps * Organize and annotate rules.mk and config.h files * Enable Console for Melody96 keymap * L_RANGE_KEYMAP → LAYERS_KEYMAP * Revert "Replace custom RCTRL implementation with built-in LM" This reverts commit 17d706a82d7e31b53cd84efeb9b2ddb9922a2368. * Set DYNAMIC_KEYMAP_LAYER_COUNT to 3 in Doro67 and Wasdat keymaps * Enable Bootmagic Lite for all VIA keymaps
* [Keymap] Update personal userspace and keymaps (#8747)Konstantin Đorđević2020-04-091-0/+1
| | | | | | | | | | | | | | | * Update mousekey parameters in userspace * Disable GRAVE_ESC in boards where it isn't used * Tweak MODERN_DOLCH_RED and reset RGB on Shift+Toggle in KBD6X * Disable RGB controls when Fn/Caps indicator lights are on * Use LTO_ENABLE instead of setting -flto directly * Add led_update_keymap, use SS_LCTL instead of SS_LCTRL * Change TAPPING_TOGGLE from 2 to 3
* Update personal userspace and keymaps (#6876)Konstantin Đorđević2019-10-031-0/+1
| | | | | | | | | | | | * Align bottom row in KBD6X keymap to match LAYOUT macro * Remove TAP_HOLD_CAPS_DELAY override in userspace * Change default USB polling rate to 1000 Hz * Move media controls to nav cluster on Wasdat * Add dz60:konstantin_b keymap
* [Keymap] Update personal userspace and keymaps (#6654)Konstantin Đorđević2019-09-031-3/+3
| | | | | | | | | | | | | | | | | | | | * Enable Fn layer tap dances only if LAYER_FN is defined * Update KBD6X keymap spacing to match LAYOUT spacing * Add regular FNLK to userspace, update keymap comment labels * Rename KC_BRK → BREAK, KC_SYSR → SYSRQ in userspace * Change mousekey positions in KBD6X * Disable Console in KBD6X to reduce firmware size * Return false in process_record_* only when overriding existing keys * Fix Caps light not working after LSFT_FN * Refactor Fn/Caps light, fix sequencing issues
* [User] Update personal userspace and keymaps, add reactive underglow (#6410)Konstantin Đorđević2019-07-251-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update MODERN_DOLCH_RED color * Remove unused RAL_LAL tap dance * Disable Space Cadet on all boards * Rework SEND_STRING_CLEAN into CLEAN_MODS, fix DST_P_R/DST_N_A * Disable unnecessary underglow animations * Rearrange feature flags in rules.mk files * Change custom colors from structs to defines * Add some explicit initializers * Add MODERN_DOLCH_CYAN color * Add IS_LAYER_ON_STATE()/IS_LAYER_OFF_STATE() macros * Add led_set_keymap() template function * Change underglow color based on Caps/Fn state * Preserve val when changing underglow colors * Only trigger Fn light for Fn layer * Refactor fn_light() and caps_light() slightly * Add comments to fn_light() and caps_light()
* [Keymap] Update personal userspace and keymaps (now with 4 spaces!) (#5774)Konstantin Đorđević2019-05-061-28/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add FnLk to Melody96 bottom row * Update conditional in userspace makefile Thanks @drashna * Add F keys to Melody96 Fn layer * Add FN_ESC alias to userspace * Update KBD6X keymap * Fix RGB_MATRIX_ENABLE constant name in #if * Remove trailing \ from LAYOUT macro calls * Set RGB mode on EEPROM reset in KBD6X * Swap right and middle mouse buttons in KBD6X * Rearrange RGB controls in KBD6X * Update keycode aliases, replace CLEAR with DEL_NXT in KBD6X Add Clear to KBD6X as RCtrl+` * Convert code to 4 space indents * Tweak RCTRL layer functionality * Replace NUMPAD custom keycode with layer state logic * Update RGB_MATRIX_ENABLE check Co-Authored-By: vomindoraan <vomindoraan@gmail.com>
* Add SysRq, Break combos and other keys to Melody96 keymapKonstantin Đorđević2019-03-021-0/+4
|
* Remove most _keymap and _user definitions in userspaceKonstantin Đorđević2019-03-021-8/+0
| | | | | | | Some keyboards misuse _user functions by defining them in the base files instead of the corresponding _kb functions (especially led_set_user and matrix_init_user). Until this is fixed (#5148), I've removed definitions in my userspace that could cause linking collisions.
* Add _keymap versions of other custom Quantum functionsKonstantin Đorđević2019-03-021-0/+12
| | | | Not added: eeconfig_update_keymap, eeconfig_read_keymap
* Generate UNICODE and UNICODEMAP constants using macrosKonstantin Đorđević2019-03-021-1/+1
|
* Add RGB_SET keycode to Melody96 and RGB files to userspaceKonstantin Đorđević2019-03-021-0/+3
|
* Update custom SEND_STRINGKonstantin Đorđević2019-03-021-5/+5
|
* DST_RMV → DST_REMKonstantin Đorđević2019-03-021-1/+1
|
* Add DST_MOD_MASK as a config optionKonstantin Đorđević2019-03-021-0/+3
|
* Change how desktop commands workKonstantin Đorđević2019-03-021-0/+7
|
* [Keymap] Update personal userspace and keymaps (#4963)Konstantin Đorđević2019-01-271-0/+10
| | | | | | | | | | | | | | * Remove duplicated or unnecessary definitions in config.h and rules.mk * Use IS_HOST_LED_ON() macro * Add mouse acceleration to kbd6x:konstantin keymap * Clear and restore mods when sending macros * Make SEND_STRING_CLEAN a config option * Add NO_ACTION_ONESHOT to userspace config
* Add personal userspace, update keymaps (#4845)Konstantin Đorđević2019-01-141-0/+50
* Add kbd6x:konstantin keymap * Prevent tap dance from sending LShift as a weak mod in KBD6X * Move config.h and rules.mk definitions into userspace * Add UC_WIN to UNICODE_SELECTED_MODES * Temporarily use Bootmagic until Command is fixed * Move common behavior from keyboards into userspace * Update kbd6x:konstantin keymap and userspace * Make a RCTRL layer in kbd6x:konstantin * Make KC_ESC turn off layers * KC_ESC turns L_FN off only if it was locked on * Add missing record->event.pressed checks * Move numpad toggling logic into function * Disable Bootmagic, enable KEYBOARD_SHARED_EP with Command