summaryrefslogtreecommitdiffstats
path: root/common/eeconfig.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-06-23 09:19:04 +0900
committertmk <nobody@nowhere>2013-06-23 09:19:04 +0900
commit5a0415749d6cd6a095d9c3fbb335360ec5fa59e0 (patch)
tree7ed39e24295fbf853625a12fe273ea3ab4c7b202 /common/eeconfig.h
parent9de9d719527c7a8cac71d0bc49ba1d2d4f63cf06 (diff)
parent25ad212c4adae5a27dd2d5a4e9d6bcdfc17edb1b (diff)
Merge branch 'Wraul-kmac'
Diffstat (limited to 'common/eeconfig.h')
-rw-r--r--common/eeconfig.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/eeconfig.h b/common/eeconfig.h
index 0b605fc7bf..e1b5ae282f 100644
--- a/common/eeconfig.h
+++ b/common/eeconfig.h
@@ -19,6 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define EECONFIG_H
#include <stdint.h>
+#include <stdbool.h>
#define EECONFIG_MAGIC_NUMBER (uint16_t)0xFEED
@@ -29,6 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define EECONFIG_DEFAULT_LAYER (uint8_t *)3
#define EECONFIG_KEYMAP (uint8_t *)4
#define EECONFIG_MOUSEKEY_ACCEL (uint8_t *)5
+#define EECONFIG_BACKLIGHT (uint8_t *)6
/* debug bit */
@@ -64,4 +66,9 @@ void eeconfig_write_default_layer(uint8_t val);
uint8_t eeconfig_read_keymap(void);
void eeconfig_write_keymap(uint8_t val);
+#ifdef BACKLIGHT_ENABLE
+uint8_t eeconfig_read_backlight(void);
+void eeconfig_write_backlight(uint8_t val);
+#endif
+
#endif