~ruther/qmk_firmware

ref: a7afa58fb633e38cd39f8610d89182c04855a074 qmk_firmware/users/d4mation/macros.h -rw-r--r-- 534 bytes
a7afa58f — James Young YMDK Melody96 Break-Up (#22121) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
};