summaryrefslogtreecommitdiffstats
path: root/keyboards/ai03/lunar/lunar.c
diff options
context:
space:
mode:
authorai03 <sarcaphx510@gmail.com>2019-01-28 12:34:42 -0800
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-01-28 12:34:42 -0800
commit5672dc8030e99541e1d71c749916249fb4b2504b (patch)
tree319ef2703bfdd62846b323de5589780e235366b1 /keyboards/ai03/lunar/lunar.c
parent693e1afa59686f9848517a3da895078d51bb6894 (diff)
Add Lunar Keyboard (#4976)
* Generate project * Adjust files * Get things working * Update readme * Add VIA configurator compatibility * Grammar * Update keymap * Split lunar info default and VIA keymaps * Copyrights * VIA tuneup * A few missed copyrights * Remove unnecessary junk * Remove unnecessary bits, fix readme
Diffstat (limited to 'keyboards/ai03/lunar/lunar.c')
-rw-r--r--keyboards/ai03/lunar/lunar.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/ai03/lunar/lunar.c b/keyboards/ai03/lunar/lunar.c
new file mode 100644
index 0000000000..37438c71e6
--- /dev/null
+++ b/keyboards/ai03/lunar/lunar.c
@@ -0,0 +1,22 @@
+/* Copyright 2019 Ryota Goto
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#include "lunar.h"
+
+void led_set_kb(uint8_t usb_led) {
+ // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
+
+ led_set_user(usb_led);
+}