Button layer auto activation #166
-
Hi! I read, that the button layer is available for auto activation? How would I do that? I'm using a charybdis keyboard and I tried to copy over code from their default keymap, but it seems when I try to set any layer it's not available. Thanks for your help and awesome work! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Unfortunately QMK doesn't support adding |
Beta Was this translation helpful? Give feedback.
-
@manna-harbour Sorry if this is a silly question, but would moving the mouse when in the Miryoku Mouse Layer trigger the Button layer if using QMK's Automatic Mouse Layer functionality or does the automatic mouse layer somehow only trigger when it detects e.g. an optical sensor mouse? Just trying to understand how this might work since I like the idea of being able to use a Ploopy Nano with my Miryoku layout. |
Beta Was this translation helpful? Give feedback.
Unfortunately QMK doesn't support adding
#include "users/manna-harbour_miryoku/manna-harbour_miryoku.h"
toconfig.h
to include the layer enums because it also usesconfig.h
to assemble assembler and the enums aren't valid there. Instead, you have to manually add a define for the layer number toconfig.h
then use that macro when specifying the layer for auto activation. By default Button is layer 3, so e.g. add#define BUTTON_LAYER 3
and then useBUTTON_LAYER
in your configuration. Of course you could also use the bare layer number directly and add a comment.