aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/lazydesigners/the50/the50.h
diff options
context:
space:
mode:
authorErovia <Erovia@users.noreply.github.com>2019-01-14 09:49:00 +0100
committerDrashna Jaelre <drashna@live.com>2019-01-14 00:49:00 -0800
commitee96b7a89dd2de78b9372d3b8ce899757e3190c4 (patch)
treef347cd4526f49d3373d1f7ab14d3d2989cc8b95b /keyboards/lazydesigners/the50/the50.h
parent929065b1a97eb15a54a65c866d19d45998f775c6 (diff)
downloadfirmware-ee96b7a89dd2de78b9372d3b8ce899757e3190c4.tar.gz
firmware-ee96b7a89dd2de78b9372d3b8ce899757e3190c4.tar.bz2
firmware-ee96b7a89dd2de78b9372d3b8ce899757e3190c4.zip
[Keyboard] Add support for THE50 (#4844)
* Add support for THE50 A 50% custom keyboard designed and produced by LazyDesigners * THE50 code-improvement Implement the changes suggested by noroadsleft.
Diffstat (limited to 'keyboards/lazydesigners/the50/the50.h')
-rw-r--r--keyboards/lazydesigners/the50/the50.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/keyboards/lazydesigners/the50/the50.h b/keyboards/lazydesigners/the50/the50.h
new file mode 100644
index 000000000..1cf613aad
--- /dev/null
+++ b/keyboards/lazydesigners/the50/the50.h
@@ -0,0 +1,32 @@
+#pragma once
+
+#include "quantum.h"
+
+#define XXXX KC_NO
+
+/*
+ * ,-----------------------------------------------------------. ,--------------.
+ * | | | | | | | | | | | | | | | | |
+ * |-----------------------------------------------------------| |--------------|
+ * | | | | | | | | | | | | | | | |
+ * |-----------------------------------------------------------| |--------------|
+ * | | | | | | | | | | | | | | | |
+ * |-----------------------------------------------------------| |--------------|
+ * | | | | | | | | | | | | |
+ * `-----------------------------------------------------------' `--------------'
+ */
+
+#define LAYOUT( \
+K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, \
+K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K111, K112, K113, K114, \
+K200, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, \
+K300, K301, K302, K304, K307, K309, K310, K311, K312, K313, K314 \
+) { \
+{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014 }, \
+{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, XXXX, K111, K112, K113, K114 }, \
+{ K200, XXXX, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214 }, \
+{ K300, K301, K302, XXXX, K304, XXXX, XXXX, K307, XXXX, K309, K310, K311, K312, K313, K314 } \
+}
+
+void the50_led_on(void);
+void the50_led_off(void);