Update build script and configuration files for Fingerpunch Sweeeeep keyboard
This commit is contained in:
parent
fb04de22f2
commit
f3afe70c10
4 changed files with 13 additions and 5 deletions
11
build_all.sh
11
build_all.sh
|
|
@ -7,10 +7,11 @@
|
||||||
|
|
||||||
set -e # Exit on error
|
set -e # Exit on error
|
||||||
|
|
||||||
KEYBOARD="sweeeeep"
|
KEYBOARD="fingerpunch/sweeeeep"
|
||||||
KEYMAP="smathev"
|
KEYMAP="smathev"
|
||||||
OUTPUT_NAME="sweeeeep_smathev"
|
OUTPUT_NAME="fingerpunch_sweeeeep_smathev"
|
||||||
|
|
||||||
|
QMK_USERSPACE_DIR="$HOME/git_dev/keyboards/qmk_userspace"
|
||||||
CONFIG_FILE="$HOME/git_dev/keyboards/qmk_userspace/keyboards/fingerpunch/sweeeeep/keymaps/smathev/config.h"
|
CONFIG_FILE="$HOME/git_dev/keyboards/qmk_userspace/keyboards/fingerpunch/sweeeeep/keymaps/smathev/config.h"
|
||||||
BACKUP_FILE="${CONFIG_FILE}.backup"
|
BACKUP_FILE="${CONFIG_FILE}.backup"
|
||||||
QMK_FIRMWARE_DIR="$HOME/git_dev/keyboards/qmk_firmware"
|
QMK_FIRMWARE_DIR="$HOME/git_dev/keyboards/qmk_firmware"
|
||||||
|
|
@ -96,8 +97,12 @@ fi
|
||||||
# Restore original config
|
# Restore original config
|
||||||
cp "$BACKUP_FILE" "$CONFIG_FILE"
|
cp "$BACKUP_FILE" "$CONFIG_FILE"
|
||||||
rm "$BACKUP_FILE"
|
rm "$BACKUP_FILE"
|
||||||
|
echo "removing $QMK_FIRMWARE_DIR/${OUTPUT_NAME}.uf2"
|
||||||
rm "$QMK_FIRMWARE_DIR/${OUTPUT_NAME}.uf2"
|
rm "$QMK_FIRMWARE_DIR/${OUTPUT_NAME}.uf2"
|
||||||
|
echo "$QMK_FIRMWARE_DIR/${OUTPUT_NAME}.uf2 removed successfully"
|
||||||
|
echo "removing $QMK_USERSPACE_DIR/${OUTPUT_NAME}.uf2"
|
||||||
|
rm "$QMK_USERSPACE_DIR/${OUTPUT_NAME}.uf2"
|
||||||
|
echo "$QMK_USERSPACE_DIR/${OUTPUT_NAME}.uf2 removed successfully"
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
{
|
{
|
||||||
"converter": "liatris"
|
"converter": "liatris",
|
||||||
|
"modules": ["getreuer/speculative_hold"]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,6 @@ const uint16_t PROGMEM undo_combo[] = {KC_X, KC_H, COMBO_END}; // L3_K1 + L3_K2
|
||||||
const uint16_t PROGMEM cut_combo[] = {KC_H, KC_L, COMBO_END}; //L3_K2 + L3_K3
|
const uint16_t PROGMEM cut_combo[] = {KC_H, KC_L, COMBO_END}; //L3_K2 + L3_K3
|
||||||
const uint16_t PROGMEM copy_combo[] = {KC_L, KC_F, COMBO_END}; // L3_K3 + L3_K4
|
const uint16_t PROGMEM copy_combo[] = {KC_L, KC_F, COMBO_END}; // L3_K3 + L3_K4
|
||||||
const uint16_t PROGMEM paste_combo[] = {KC_C, KC_COMM, COMBO_END}; // L3_K4 + L3_K5 KC_I
|
const uint16_t PROGMEM paste_combo[] = {KC_C, KC_COMM, COMBO_END}; // L3_K4 + L3_K5 KC_I
|
||||||
|
|
||||||
const uint16_t PROGMEM enter_combo[] = {KC_S, KC_D, COMBO_END}; // R2_K4 + R2_K5
|
const uint16_t PROGMEM enter_combo[] = {KC_S, KC_D, COMBO_END}; // R2_K4 + R2_K5
|
||||||
const uint16_t PROGMEM tab_combo[] = {KC_O, KC_I, COMBO_END}; // L2_K1 + L2_K2
|
const uint16_t PROGMEM tab_combo[] = {KC_O, KC_I, COMBO_END}; // L2_K1 + L2_K2
|
||||||
const uint16_t PROGMEM delete_combo[] = {KC_L, KC_H, COMBO_END}; // R1_K3 + R1_K4
|
const uint16_t PROGMEM delete_combo[] = {KC_L, KC_H, COMBO_END}; // R1_K3 + R1_K4
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,9 @@ DEFERRED_EXEC_ENABLE = yes
|
||||||
|
|
||||||
# Userspace-specific features
|
# Userspace-specific features
|
||||||
COMBO_ENABLE = yes # Combo key feature
|
COMBO_ENABLE = yes # Combo key feature
|
||||||
|
# Use the actual keymap.c for introspection instead of the generated one from keymap.json
|
||||||
|
INTROSPECTION_KEYMAP_C = keyboards/fingerpunch/sweeeeep/keymaps/smathev/keymap.c
|
||||||
|
|
||||||
AUTO_SHIFT_ENABLE = yes # Auto shift for hold-to-shift
|
AUTO_SHIFT_ENABLE = yes # Auto shift for hold-to-shift
|
||||||
|
|
||||||
# Implemented from https://github.com/samhocevar-forks/qmk-firmware/blob/master/docs/feature_tap_dance.md
|
# Implemented from https://github.com/samhocevar-forks/qmk-firmware/blob/master/docs/feature_tap_dance.md
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue