summaryrefslogtreecommitdiffstats
path: root/keyboards/efreet/efreet.c
diff options
context:
space:
mode:
authorAmber Holly <halcyonsilver@gmail.com>2019-09-25 21:06:57 +0100
committerDrashna Jaelre <drashna@live.com>2019-09-25 13:06:57 -0700
commit475f832b0f434615b9b32ca3f600c4b770d6e1e5 (patch)
tree34f7941509148d984e7debe8c3eb1ae4b15b9076 /keyboards/efreet/efreet.c
parenta76a79b8275740e218a31e1e45ec22bfeb80d3ba (diff)
[Keyboard] Add Efreet keyboard (#6811)
* start wraith firmware * completed initial setup * added amber keymap to wraith * fixed LEDs, wrote readme files * reverted bootloader type after troubleshooting * decapitalised files and directory as per qmk standards * Update Wraith keyboard folder - Add timer keymap with documentation - Remove boilerplate in rules.mk, ready for pull request - Update info.json with ISO and ANSI layouts, ready for QMK Configurator * Add Efreet keyboard * Remove unnecessary keyboard folders * Enable community layout support for Efreet - Rename LAYOUT macro to LAYOUT_ortho_4x12 - Add layout macro named LAYOUT_planck_mit - Remove unnecessary magic key command, as we are using the default - Fix readme.md formatting for GitHub * Fix community layout support for Efreet - Fix 2u spacebar keycodes in LAYOUT_planck_mit to denote absence of switch - Turn on Community Layouts in rules.mk * Update default keymap.c to use community layout
Diffstat (limited to 'keyboards/efreet/efreet.c')
-rw-r--r--keyboards/efreet/efreet.c51
1 files changed, 51 insertions, 0 deletions
diff --git a/keyboards/efreet/efreet.c b/keyboards/efreet/efreet.c
new file mode 100644
index 0000000000..a05db74a52
--- /dev/null
+++ b/keyboards/efreet/efreet.c
@@ -0,0 +1,51 @@
+/* Copyright 2019 Amber Holly
+ *
+ * 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 "efreet.h"
+
+// Optional override functions below.
+// You can leave any or all of these undefined.
+// These are only required if you want to perform custom actions.
+
+/*
+
+void matrix_init_kb(void) {
+ // put your keyboard start-up code here
+ // runs once when the firmware starts up
+
+ matrix_init_user();
+}
+
+void matrix_scan_kb(void) {
+ // put your looping keyboard code here
+ // runs every cycle (a lot)
+
+ matrix_scan_user();
+}
+
+bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
+ // put your per-action keyboard code here
+ // runs for every action, just before processing by the firmware
+
+ return process_record_user(keycode, record);
+}
+
+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);
+}
+
+*/