aboutsummaryrefslogtreecommitdiff
path: root/users/d4mation/d4mation.c
diff options
context:
space:
mode:
authorEric Defore <d4mation@users.noreply.github.com>2019-12-18 03:59:12 -0500
committerDrashna Jaelre <drashna@live.com>2019-12-18 00:59:12 -0800
commitf42dd61b8d29f71af2ce479064c64c96fef55ad4 (patch)
treef4bb23467099a228c46371cebe748139953245c9 /users/d4mation/d4mation.c
parentb2405fccce1d9dd33e72d2b43a941e9b6bbd1f0d (diff)
downloadqmk_firmware-f42dd61b8d29f71af2ce479064c64c96fef55ad4.tar.gz
qmk_firmware-f42dd61b8d29f71af2ce479064c64c96fef55ad4.zip
[Keymap] Added userspace for d4mation. Included their keymap for the Atreus62 (#7483)
* Added userspace for d4mation. Included their keymap for the Atreus62 * Do not assign layer numbers manually * Remove some unneeded things per @drashna's recommendation * Fix some single line comments I missed * Update unicode macros to use send_unicode_hex_string() instead of process_unicode() * OBetter check for Unicode Enabled. Moved some checks into macros.c * Use eeconfig_init_user() to set default unicode input mode
Diffstat (limited to 'users/d4mation/d4mation.c')
-rw-r--r--users/d4mation/d4mation.c37
1 files changed, 37 insertions, 0 deletions
diff --git a/users/d4mation/d4mation.c b/users/d4mation/d4mation.c
new file mode 100644
index 000000000..5aa58a9f0
--- /dev/null
+++ b/users/d4mation/d4mation.c
@@ -0,0 +1,37 @@
1#include "d4mation.h"
2
3__attribute__ ((weak))
4bool process_record_keymap( uint16_t keycode, keyrecord_t *record ) {
5 /* If you want macros specific to your keymap, you need to define this function in your keymap */
6 return true;
7}
8
9__attribute__ ((weak))
10void matrix_init_keymap() {
11 /* If you want a matrix init specific to your keymap, you need to define this function in your keymap */
12}
13
14__attribute__ ((weak))
15void matrix_scan_keymap() {
16 /* If you want a matrix scan specific to your keymap, you need to define this function in your keymap */
17}
18
19__attribute__((weak))
20void eeconfig_init_keymap( void ) {}
21
22/* process_record_user() is called in macros.c */
23
24void matrix_init_user( void ) {
25 matrix_init_keymap();
26}
27
28void matrix_scan_user( void ) {
29 matrix_scan_keymap();
30}
31
32void eeconfig_init_user( void ) {
33
34 eeconfig_init_keymap();
35 keyboard_init();
36
37} \ No newline at end of file