1
0
Fork 0

Update IS_COMMAND definitions to use MOD_MASK_SHIFT (#6348)

* Update IS_COMMAND definition in templates to use MOD_MASK_SHIFT

* Update IS_COMMAND in docs

* Update IS_COMMAND default definition in tmk_core

* Update table in Command docs based on suggestion

Co-Authored-By: fauxpark <fauxpark@gmail.com>
This commit is contained in:
Konstantin Đorđević 2019-07-20 22:21:40 +02:00 committed by Drashna Jaelre
parent a40dbf94e8
commit a2e91ebec9
5 changed files with 37 additions and 37 deletions

View file

@ -136,7 +136,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* key combination for magic key command */
/* defined by default; to change, uncomment and set to the combination you want */
// #define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))
// #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT)
/* control how magic key switches layers */
//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true