File tree Expand file tree Collapse file tree
keyboards/crkbd/rev1/keymaps/maat Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929#define RAW_USAGE_PAGE 0xFF60
3030#define RAW_USAGE 0x61
3131// -- App Companion end
32+
33+ // Apply custom shift keys only on layer 4 (numbers).
34+ #define CUSTOM_SHIFT_KEYS_LAYER_MASK (1 << 4)
Original file line number Diff line number Diff line change 11// clang-format off
2+ #include "keycodes.h"
23#include QMK_KEYBOARD_H
34#include "raw_hid.h"
45#include "keymap.h"
56
7+ // https://github.com/getreuer/qmk-modules/tree/main/custom_shift_keys
8+ const custom_shift_key_t custom_shift_keys [] = {
9+ {KC_2 , KC_COMMA },
10+ {KC_3 , KC_DOT },
11+ {KC_5 , KC_LABK },
12+ {KC_6 , KC_RABK },
13+ {KC_7 , KC_LPRN },
14+ {KC_9 , KC_RPRN },
15+ };
16+
617// Notifies the host of the layer change using raw HID
718// https://docs.qmk.fm/features/rawhid#usage
819//
Original file line number Diff line number Diff line change 11{
2- "modules" : [" jgandert/predictive_tap_hold" ]
2+ "modules" : [" getreuer/custom_shift_keys " , " jgandert/predictive_tap_hold" ]
33}
You can’t perform that action at this time.
0 commit comments