]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - tmk_core/common/action_layer.h
Cut the memory consumption of PREVENT_STUCK_MODIFIERS in half
[qmk_firmware.git] / tmk_core / common / action_layer.h
index b6da353cfdbe851d6bfb5689b6173135b8697d84..1a313a2590472a72efb581557191cc8fbbad7ba2 100644 (file)
@@ -71,6 +71,9 @@ void layer_xor(uint32_t state);
 #endif
 
 
+/* return the topmost non-transparent layer currently associated with key */
+int8_t layer_switch_get_layer(keypos_t key);
+
 /* return action depending on current layer status */
 action_t layer_switch_get_action(keypos_t key);