[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
This commit is contained in:
Eric Defore 2019-12-18 03:59:12 -05:00 committed by Drashna Jaelre
parent b2405fccce
commit f42dd61b8d
15 changed files with 563 additions and 0 deletions

23
users/d4mation/macros.h Normal file
View file

@ -0,0 +1,23 @@
#pragma once
#include "quantum.h"
#include "tap-hold.h"
#include "zalgo.h"
#define SCRGB LCTL( LSFT( LGUI( KC_4 ) ) ) /* Mac Screen Area Grab shortcut (Puts into Clipboard) */
#define SLEEP LALT( LGUI( KC_SYSTEM_POWER ) ) /* Instant sleep on Mac, rather than having to hold down the button */
enum custom_keycodes {
_GRAVE_ESC = SAFE_RANGE, /* Prefixed with underscore to prevent conflicts */
PHPOPEN, /* <?php */
PHPCLSE, /* ?> */
AMENO,
MAGIC,
LENNY,
DISFACE,
TFLIP,
TPUT,
SHRUG,
ZALGO,
NEW_SAFE_RANGE
};