Move updateLayerStates() and getActiveLayer() into the newly created layer.c
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
#ifndef __LAYER_H__
|
||||
#define __LAYER_H__
|
||||
|
||||
// Includes:
|
||||
|
||||
#include "fsl_common.h"
|
||||
|
||||
// Macros:
|
||||
|
||||
#define LAYER_COUNT 4
|
||||
@@ -14,4 +18,13 @@
|
||||
LayerId_Mouse,
|
||||
} layer_id_t;
|
||||
|
||||
// Variables:
|
||||
|
||||
extern layer_id_t PreviousHeldLayer;
|
||||
|
||||
// Functions:
|
||||
|
||||
layer_id_t GetActiveLayer();
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user