aboutsummaryrefslogtreecommitdiff
path: root/keyboards/phantom
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-07-16 16:04:02 +1000
committerskullydazed <skullydazed@users.noreply.github.com>2019-07-15 23:04:02 -0700
commitf14629ed1cd7c7ec9089604d64f29a99981558e8 (patch)
treea3691f4f3cb0c941694c16a3a94f73befb6ef6ec /keyboards/phantom
parent2a231457bd494079c36cf3e07c9b887016adb491 (diff)
downloadqmk_firmware-f14629ed1cd7c7ec9089604d64f29a99981558e8.tar.gz
qmk_firmware-f14629ed1cd7c7ec9089604d64f29a99981558e8.zip
Remove/migrate action_get_macro()s from default keymaps (#5625)
* Remove/migrate action_get_macro()s from default keymaps * Leave these breaks alone
Diffstat (limited to 'keyboards/phantom')
-rw-r--r--keyboards/phantom/keymaps/default/keymap.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/keyboards/phantom/keymaps/default/keymap.c b/keyboards/phantom/keymaps/default/keymap.c
index eb5db022d..d7001f066 100644
--- a/keyboards/phantom/keymaps/default/keymap.c
+++ b/keyboards/phantom/keymaps/default/keymap.c
@@ -41,22 +41,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
41 ), 41 ),
42}; 42};
43 43
44const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
45{
46 // MACRODOWN only works in this function
47 switch(id) {
48 case 0:
49 if (record->event.pressed) {
50 register_code(KC_RSFT);
51 } else {
52 unregister_code(KC_RSFT);
53 }
54 break;
55 }
56 return MACRO_NONE;
57};
58
59
60void matrix_init_user(void) { 44void matrix_init_user(void) {
61 45
62} 46}