Skip to content

Commit

Permalink
stlll dead
Browse files Browse the repository at this point in the history
  • Loading branch information
nicsuzor committed Jul 2, 2024
1 parent e39b56d commit 30a8a4a
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 55 deletions.
6 changes: 2 additions & 4 deletions keyboards/crkbd/keymaps/nic/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@
"keyboard_name": "crkbd",
"processor": "STM32F303",
"development_board": "proton_c",
"board": "QMK_PROTON_C",
"bootloader": "stm32-dfu",
"platform": "chibios",
"features": {
"rgblight": true,
"rgblight": false,
"bootmagic": true,
"mousekey": false,
"extrakey": true,
"extrakey": false,
"nkro": true,
"rgb_matrix": false
},
Expand Down
2 changes: 0 additions & 2 deletions keyboards/crkbd/keymaps/nic/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@

DEBUG_ENABLE = yes
CONSOLE_ENABLE = yes
SPLIT_KEYBOARD = yes
VERBOSE = yes
FIRMWARE_FORMAT = bin
4 changes: 0 additions & 4 deletions users/nic/config.h

This file was deleted.

2 changes: 0 additions & 2 deletions users/nic/nic.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#include "nic.h"

#include QMK_KEYBOARD_H

#ifdef AUDIO_ENABLE
Expand Down
36 changes: 0 additions & 36 deletions users/nic/nic.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once

#include QMK_KEYBOARD_H
#include "wrappers.h"

Expand All @@ -11,41 +10,6 @@ enum userspace_layers {
_ADJUST
};

enum userspace_custom_keycodes {
VRSN = SAFE_RANGE, // Prints QMK Firmware and board info
KC_MAKE, // Run keyboard's customized make command
KC_RGB_T, // Toggles RGB Layer Indication mode
RGB_IDL, // RGB Idling animations
RGBRST, // Reset RGB
EPRM, // Reset eeprom
NEW_SAFE_RANGE // use "NEWPLACEHOLDER for keymap specific codes
};
#define LOWER MO(_LOWER) //TL_LOWR //MO(_LOWER)
#define RAISE MO(_RAISE) //TL_UPPR //MO(_RAISE)

/* OSM keycodes, to keep things clean and easy to change */
#define OS_LGUI OSM(MOD_LGUI)
#define OS_RGUI OSM(MOD_RGUI)
#define OS_LSFT OSM(MOD_LSFT)
#define OS_RSFT OSM(MOD_RSFT)
#define OS_LCTL OSM(MOD_LCTL)
#define OS_RCTL OSM(MOD_RCTL)
#define OS_LALT OSM(MOD_LALT)
#define OS_RALT OSM(MOD_RALT)
#define OS_MEH OSM(MOD_MEH)
#define OS_HYPR OSM(MOD_HYPR)

#define MT_TAB MT(MOD_LCTL, KC_TAB)

#define ALT_APP ALT_T(KC_APP)

#define MG_NKRO MAGIC_TOGGLE_NKRO

#define UC_IRNY UC(0x2E2E)
#define UC_CLUE UC(0x203D)

// KWin Window Switching
#define KC_DT1 LCTL(KC_F1)
#define KC_DT2 LCTL(KC_F2)
#define KC_DT3 LCTL(KC_F3)
#define KC_DT4 LCTL(KC_F4)
4 changes: 1 addition & 3 deletions users/nic/rules.mk
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
SRC += nic.c

TRI_LAYER_ENABLE = yes
#TRI_LAYER_ENABLE = yes

BIN_FOLDER = /workspaces
cp: $(FIRMWARE_FORMAT)
printf "Copying $(TARGET).$(FIRMWARE_FORMAT) to $(BIN_FOLDER)/$(TARGET).$(FIRMWARE_FORMAT)" | $(AWK_CMD)
$(COPY) $(BUILD_DIR)/$(TARGET).$(FIRMWARE_FORMAT) $(BIN_FOLDER)/$(TARGET).$(FIRMWARE_FORMAT) && $(PRINT_OK)
$(SILENT) || printf "Copying $(TARGET).elf to $(BIN_FOLDER)/$(TARGET).elf" | $(AWK_CMD)
$(COPY) $(BUILD_DIR)/$(TARGET).elf $(BIN_FOLDER)/$(TARGET).elf && $(PRINT_OK)

8 changes: 4 additions & 4 deletions users/nic/wrappers.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ expanded before being used as arguments to the LAYOUT_xxx macro.
#define _________________RAISE_R4__________________ _________________NUMPAD_3__________________

#define _________________ADJUST_L1_________________ ___________________BLANK___________________
#define _________________ADJUST_L2_________________ RGB_MOD, RGB_TOG, RGBRST, VRSN, QK_DEBUG_TOGGLE, EPRM
#define _________________ADJUST_L2_________________ KC_NO, KC_NO, KC_NO, KC_NO, QK_DEBUG_TOGGLE, QK_CLEAR_EEPROM
#define _________________ADJUST_L3_________________ MU_TOGG , CK_TOGG, AU_ON, AU_OFF, CG_NORM, QK_BOOT
#define _________________ADJUST_L4_________________ QK_DEBUG_TOGGLE,QK_DEBUG_TOGGLE,RGB_SAD, RGB_VAD, RGB_TOG, RGB_IDL
#define _________________ADJUST_L4_________________ QK_DEBUG_TOGGLE,QK_DEBUG_TOGGLE,KC_NO, KC_NO, KC_NO, KC_NO

#define _________________ADJUST_R1_________________ ___________________BLANK___________________
#define _________________ADJUST_R2_________________ KC_NO, KC_NO, EPRM, KC_MAKE, QK_DEBUG_TOGGLE, QK_BOOT
#define _________________ADJUST_R3_________________ RGB_MOD, KC_MAKE, QK_DEBUG_TOGGLE, QK_BOOT,EPRM,RGB_TOG
#define _________________ADJUST_R2_________________ KC_NO, KC_NO, KC_NO, KC_TRNS, QK_DEBUG_TOGGLE, QK_BOOT
#define _________________ADJUST_R3_________________ KC_NO, KC_TRNS, QK_DEBUG_TOGGLE, QK_BOOT,QK_CLEAR_EEPROM,RGB_TOG
#define _________________ADJUST_R4_________________ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, TO(0)

// clang-format on

0 comments on commit 30a8a4a

Please sign in to comment.