~ruther/qmk_firmware

ref: 4601f339e48b0116ca139dd06ce55ef0b9ed598f qmk_firmware/users/d4mation/macros.h -rw-r--r-- 534 bytes
4601f339 — Ryan V-USB: implement NKRO (#22398) 1 year, 5 months 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
};
Do not follow this link