Issue #7: migrate all fingerpunch boards over to use new feature flags framework

This commit is contained in:
Sadek Baroudi 2022-09-15 19:25:43 -07:00
parent 9b50358413
commit f9eb74ff72
442 changed files with 1168 additions and 9643 deletions

View File

@ -1,6 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
make absolem:sadekbaroudi
cp .build/absolem_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/absolem

View File

@ -1,7 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
#cp keyboards/fingerpunch/barobord/rules-oled.mk keyboards/fingerpunch/barobord/rules.mk
make a_dux:sadekbaroudi ; cp .build/a_dux_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/a_dux/ ;
#rm keyboards/fingerpunch/barobord/rules.mk

View File

@ -1,6 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
make fingerpunch/barobord:default
cp .build/fingerpunch_barobord_default* /mnt/g/My\ Drive/qmk-keyboards/barobord-default/

View File

@ -1,8 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
cp keyboards/fingerpunch/barobord/rules.mk keyboards/fingerpunch/barobord/rules.mk.bak
cp keyboards/fingerpunch/barobord/rules-oled.mk keyboards/fingerpunch/barobord/rules.mk
make fingerpunch/barobord:sadekbaroudi ; cp .build/fingerpunch_barobord_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/barobord-oled/ ;
mv keyboards/fingerpunch/barobord/rules.mk.bak keyboards/fingerpunch/barobord/rules.mk

View File

@ -1,8 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
cp keyboards/fingerpunch/barobord/rules.mk keyboards/fingerpunch/barobord/rules.mk.bak
cp keyboards/fingerpunch/barobord/rules-pimoroni.mk keyboards/fingerpunch/barobord/rules.mk
make fingerpunch/barobord:sadekbaroudi ; cp .build/fingerpunch_barobord_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/barobord-pimoroni/ ;
mv keyboards/fingerpunch/barobord/rules.mk.bak keyboards/fingerpunch/barobord/rules.mk

View File

@ -1,11 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
cp keyboards/fingerpunch/barobord/rules.mk keyboards/fingerpunch/barobord/rules.mk.bak
cp keyboards/fingerpunch/barobord/rules-rgb-matrix-noenc-nooled.mk keyboards/fingerpunch/barobord/rules.mk
cp keyboards/fingerpunch/barobord/config.h keyboards/fingerpunch/barobord/config.h.bak
cp keyboards/fingerpunch/barobord/rules-rgb-matrix-noenc-nooled.config.h keyboards/fingerpunch/barobord/config.h
make fingerpunch/barobord:sadekbaroudi ; cp .build/fingerpunch_barobord_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/barobord-rgb-matrix-noenc-nooled/ ;
mv keyboards/fingerpunch/barobord/rules.mk.bak keyboards/fingerpunch/barobord/rules.mk
mv keyboards/fingerpunch/barobord/config.h.bak keyboards/fingerpunch/barobord/config.h

View File

@ -1,8 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
cp keyboards/fingerpunch/barobord/rules.mk keyboards/fingerpunch/barobord/rules.mk.bak
cp keyboards/fingerpunch/barobord/rules-rgb-matrix.mk keyboards/fingerpunch/barobord/rules.mk
make fingerpunch/barobord:sadekbaroudi ; cp .build/fingerpunch_barobord_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/barobord-rgb-matrix/ ;
mv keyboards/fingerpunch/barobord/rules.mk.bak keyboards/fingerpunch/barobord/rules.mk

View File

@ -1,11 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
cp keyboards/fingerpunch/barobord/rules.mk keyboards/fingerpunch/barobord/rules.mk.bak
cp keyboards/fingerpunch/barobord/rules-underglow-noenc-nooled.mk keyboards/fingerpunch/barobord/rules.mk
cp keyboards/fingerpunch/barobord/config.h keyboards/fingerpunch/barobord/config.h.bak
cp keyboards/fingerpunch/barobord/rules-underglow-noenc-nooled.config.h keyboards/fingerpunch/barobord/config.h
make fingerpunch/barobord:sadekbaroudi ; cp .build/fingerpunch_barobord_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/barobord-underglow-noenc-nooled/ ;
mv keyboards/fingerpunch/barobord/rules.mk.bak keyboards/fingerpunch/barobord/rules.mk
mv keyboards/fingerpunch/barobord/config.h.bak keyboards/fingerpunch/barobord/config.h

View File

@ -1,6 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
make fingerpunch/barobord:via
cp .build/fingerpunch_barobord_via* /mnt/g/My\ Drive/qmk-keyboards/barobord-via/

View File

@ -1,7 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
cp keyboards/fingerpunch/handwired/barobordhw/rules-rgb-matrix.mk keyboards/fingerpunch/handwired/barobordhw/rules.mk
make fingerpunch/handwired/barobordhw:sadekbaroudi ; cp .build/fingerpunch_handwired_barobordhw_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/barobordhw-rgb-matrix/ ;
rm keyboards/fingerpunch/handwired/barobordhw/rules.mk

View File

@ -1,7 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
cp keyboards/fingerpunch/handwired/barobordhw/rules-rgb.mk keyboards/fingerpunch/handwired/barobordhw/rules.mk
make fingerpunch/handwired/barobordhw:sadekbaroudi ; cp .build/fingerpunch_handwired_barobordhw_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/barobordhw-rgb/ ;
rm keyboards/fingerpunch/handwired/barobordhw/rules.mk

View File

@ -1,7 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
# NOTE: I had to set COMBO_ENABLE to no in my users/sadekbaroudi/rules.mk due to space limitations
make fingerpunch/bgkeeb:sadekbaroudi ; cp .build/fingerpunch_bgkeeb_sadekbaroudi.hex /mnt/g/My\ Drive/qmk-keyboards/bgkeeb/ ;

View File

@ -1,7 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
# NOTE: I had to set COMBO_ENABLE to no in my users/sadekbaroudi/rules.mk due to space limitations
make fingerpunch/bgkeeb:sadekbaroudi ; cp .build/fingerpunch_bgkeeb_sadekbaroudi.hex /mnt/g/My\ Drive/qmk-keyboards/bgkeeb/ ;

View File

@ -1,6 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
make draculad:sadekbaroudi ;
cp .build/draculad_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/draculad/ ;

View File

@ -1,9 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
cp keyboards/fingerpunch/handwired/enigma36/config-v1.h keyboards/fingerpunch/handwired/enigma36/config.h
cp keyboards/fingerpunch/handwired/enigma36/rules-v1.mk keyboards/fingerpunch/handwired/enigma36/rules.mk
make fingerpunch/handwired/enigma36:sadekbaroudi ; cp .build/fingerpunch_handwired_enigma36_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/enigma36-v1/ ;
rm keyboards/fingerpunch/handwired/enigma36/config.h
rm keyboards/fingerpunch/handwired/enigma36/rules.mk

View File

@ -1,9 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
cp keyboards/fingerpunch/handwired/enigma36/config-v2.h keyboards/fingerpunch/handwired/enigma36/config.h
cp keyboards/fingerpunch/handwired/enigma36/rules-v2.mk keyboards/fingerpunch/handwired/enigma36/rules.mk
make fingerpunch/handwired/enigma36:sadekbaroudi ; cp .build/fingerpunch_handwired_enigma36_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/enigma36-v2/ ;
rm keyboards/fingerpunch/handwired/enigma36/config.h
rm keyboards/fingerpunch/handwired/enigma36/rules.mk

View File

@ -1,6 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
make xoiviox/euclid36proto:sadekbaroudi
cp .build/xoiviox_euclid36proto_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/euclid36proto/

View File

@ -1,12 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
cp keyboards/fingerpunch/ffkb/config.h keyboards/fingerpunch/ffkb/config.h.bak
cp keyboards/fingerpunch/ffkb/rules.mk keyboards/fingerpunch/ffkb/rules.mk.bak
cp keyboards/fingerpunch/ffkb/config-pim-ec11.h keyboards/fingerpunch/ffkb/config.h
cp keyboards/fingerpunch/ffkb/rules-pim-ec11.mk keyboards/fingerpunch/ffkb/rules.mk
make fingerpunch/ffkb:sadekbaroudi
mv keyboards/fingerpunch/ffkb/config.h.bak keyboards/fingerpunch/ffkb/config.h
mv keyboards/fingerpunch/ffkb/rules.mk.bak keyboards/fingerpunch/ffkb/rules.mk
cp .build/fingerpunch_ffkb_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/ffkb-pim-ec11/

View File

@ -1,12 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
cp keyboards/fingerpunch/ffkb/config.h keyboards/fingerpunch/ffkb/config.h.bak
cp keyboards/fingerpunch/ffkb/rules.mk keyboards/fingerpunch/ffkb/rules.mk.bak
cp keyboards/fingerpunch/ffkb/config-rgb-matrix-ec11.h keyboards/fingerpunch/ffkb/config.h
cp keyboards/fingerpunch/ffkb/rules-rgb-matrix-ec11.mk keyboards/fingerpunch/ffkb/rules.mk
make fingerpunch/ffkb:sadekbaroudi
mv keyboards/fingerpunch/ffkb/config.h.bak keyboards/fingerpunch/ffkb/config.h
mv keyboards/fingerpunch/ffkb/rules.mk.bak keyboards/fingerpunch/ffkb/rules.mk
cp .build/fingerpunch_ffkb_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/ffkb-rgb-matrix-ec11/

View File

@ -1,12 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
cp keyboards/fingerpunch/ffkb/config.h keyboards/fingerpunch/ffkb/config.h.bak
cp keyboards/fingerpunch/ffkb/rules.mk keyboards/fingerpunch/ffkb/rules.mk.bak
cp keyboards/fingerpunch/ffkb/config-rgb-matrix-evq-ec11.h keyboards/fingerpunch/ffkb/config.h
cp keyboards/fingerpunch/ffkb/rules-rgb-matrix-evq-ec11.mk keyboards/fingerpunch/ffkb/rules.mk
make fingerpunch/ffkb:sadekbaroudi
mv keyboards/fingerpunch/ffkb/config.h.bak keyboards/fingerpunch/ffkb/config.h
mv keyboards/fingerpunch/ffkb/rules.mk.bak keyboards/fingerpunch/ffkb/rules.mk
cp .build/fingerpunch_ffkb_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/ffkb-rgb-matrix-evq-ec11/

View File

@ -1,12 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
cp keyboards/fingerpunch/ffkb/config.h keyboards/fingerpunch/ffkb/config.h.bak
cp keyboards/fingerpunch/ffkb/rules.mk keyboards/fingerpunch/ffkb/rules.mk.bak
cp keyboards/fingerpunch/ffkb/config-rgblight-ec11.h keyboards/fingerpunch/ffkb/config.h
cp keyboards/fingerpunch/ffkb/rules-rgblight-ec11.mk keyboards/fingerpunch/ffkb/rules.mk
make fingerpunch/ffkb:sadekbaroudi
mv keyboards/fingerpunch/ffkb/config.h.bak keyboards/fingerpunch/ffkb/config.h
mv keyboards/fingerpunch/ffkb/rules.mk.bak keyboards/fingerpunch/ffkb/rules.mk
cp .build/fingerpunch_ffkb_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/ffkb-rgblight-ec11/

View File

@ -1,12 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
cp keyboards/fingerpunch/ffkb/config.h keyboards/fingerpunch/ffkb/config.h.bak
cp keyboards/fingerpunch/ffkb/rules.mk keyboards/fingerpunch/ffkb/rules.mk.bak
cp keyboards/fingerpunch/ffkb/config-rgblight-evq-ec11.h keyboards/fingerpunch/ffkb/config.h
cp keyboards/fingerpunch/ffkb/rules-rgblight-evq-ec11.mk keyboards/fingerpunch/ffkb/rules.mk
make fingerpunch/ffkb:sadekbaroudi
mv keyboards/fingerpunch/ffkb/config.h.bak keyboards/fingerpunch/ffkb/config.h
mv keyboards/fingerpunch/ffkb/rules.mk.bak keyboards/fingerpunch/ffkb/rules.mk
cp .build/fingerpunch_ffkb_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/ffkb-rgblight-evq-ec11/

View File

@ -1,6 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
make fingerpunch/handwired/ffkbhw:sadekbaroudi
cp .build/fingerpunch_handwired_ffkbhw_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/ffkbhw/

View File

@ -1,5 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
make free_willy:sadekbaroudi ; cp .build/free_willy_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/free_willy/ ;

View File

@ -1,6 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
make fingerpunch/halfdash:sadekbaroudi
cp .build/fingerpunch_halfdash_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/halfdash/

View File

@ -1,7 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
# NOTE: I had to set COMBO_ENABLE to no in my users/sadekbaroudi/rules.mk due to space limitations
make fingerpunch/luakeeb:sadekbaroudi ; cp .build/fingerpunch_luakeeb_sadekbaroudi.hex /mnt/g/My\ Drive/qmk-keyboards/luakeeb/ ;

View File

@ -1,19 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
#cp keyboards/xoiviox/barobord/rules-oled.mk keyboards/xoiviox/barobord/rules.mk
make minidox/rev1:sadekbaroudi ; cp .build/minidox_rev1_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/minidox/ ;
mv /mnt/g/My\ Drive/qmk-keyboards/minidox/minidox_rev1_sadekbaroudi.hex
echo "-------------------------------------------------------------------------------------------------------"
echo "-------------------------------------------------------------------------------------------------------"
echo "-------------------------------------------------------------------------------------------------------"
echo "-------------------------------------------------------------------------------------------------------"
echo "-------------------------------------------------------------------------------------------------------"
echo "look at keymap.c in the keymap directory, make the changes in rgb_base_layer_keymap, and build the slave version"
echo "-------------------------------------------------------------------------------------------------------"
echo "-------------------------------------------------------------------------------------------------------"
echo "-------------------------------------------------------------------------------------------------------"
echo "-------------------------------------------------------------------------------------------------------"
echo "-------------------------------------------------------------------------------------------------------"
#rm keyboards/xoiviox/barobord/rules.mk

View File

@ -1,5 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
make fingerpunch/osprette:sadekbaroudi ; cp .build/fingerpunch_osprette_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/osprette/ ;

View File

@ -1,15 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
#make fingerpunch/pinkiesout/rgbmatrix_oled:default
#cp .build/fingerpunch_pinkiesout_rgbmatrix_oled_default* /mnt/g/My\ Drive/qmk-keyboards/pinkiesout
#make fingerpunch/pinkiesout/rgblight_oled:sadekbaroudi
#cp .build/fingerpunch_pinkiesout_rgblight_oled_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/pinkiesout/rgblight_oled/
make fingerpunch/pinkiesout/rgbmatrix_oled:sadekbaroudi
cp .build/fingerpunch_pinkiesout_rgbmatrix_oled_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/pinkiesout/rgbmatrix/
make fingerpunch/pinkiesout/rgblight_oled:sadekbaroudi
cp .build/fingerpunch_pinkiesout_rgblight_oled_sadekbaroudi* /mnt/g/My\ Drive/qmk-keyboards/pinkiesout/rgblight/

View File

@ -1,33 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
make fingerpunch/rockon_bp/rgbmatrix_oled:sadekbaroudi
cp .build/fingerpunch_rockon_bp_rgbmatrix_oled_sadekbaroudi.bin /mnt/g/My\ Drive/qmk-keyboards/rock-on_bp/sadekbaroudi/
make fingerpunch/rockon_bp/rgblight_oled:sadekbaroudi
cp .build/fingerpunch_rockon_bp_rgblight_oled_sadekbaroudi.bin /mnt/g/My\ Drive/qmk-keyboards/rock-on_bp/sadekbaroudi/
make fingerpunch/rockon_bp/rgbmatrix:sadekbaroudi
cp .build/fingerpunch_rockon_bp_rgbmatrix_sadekbaroudi.bin /mnt/g/My\ Drive/qmk-keyboards/rock-on_bp/sadekbaroudi/
make fingerpunch/rockon_bp/rgblight:sadekbaroudi
cp .build/fingerpunch_rockon_bp_rgblight_sadekbaroudi.bin /mnt/g/My\ Drive/qmk-keyboards/rock-on_bp/sadekbaroudi/
make fingerpunch/rockon_bp/ec11:sadekbaroudi
cp .build/fingerpunch_rockon_bp_ec11_sadekbaroudi.bin /mnt/g/My\ Drive/qmk-keyboards/rock-on_bp/sadekbaroudi/
make fingerpunch/rockon_bp/oled_ec11:sadekbaroudi
cp .build/fingerpunch_rockon_bp_oled_ec11_sadekbaroudi.bin /mnt/g/My\ Drive/qmk-keyboards/rock-on_bp/sadekbaroudi/
make fingerpunch/rockon_bp/rgblight_ec11:sadekbaroudi
cp .build/fingerpunch_rockon_bp_rgblight_ec11_sadekbaroudi.bin /mnt/g/My\ Drive/qmk-keyboards/rock-on_bp/sadekbaroudi/
make fingerpunch/rockon_bp/rgblight_oled_ec11:sadekbaroudi
cp .build/fingerpunch_rockon_bp_rgblight_oled_ec11_sadekbaroudi.bin /mnt/g/My\ Drive/qmk-keyboards/rock-on_bp/sadekbaroudi/
make fingerpunch/rockon_bp/rgbmatrix_ec11:sadekbaroudi
cp .build/fingerpunch_rockon_bp_rgbmatrix_ec11_sadekbaroudi.bin /mnt/g/My\ Drive/qmk-keyboards/rock-on_bp/sadekbaroudi/
make fingerpunch/rockon_bp/rgbmatrix_oled_ec11:sadekbaroudi
cp .build/fingerpunch_rockon_bp_rgbmatrix_oled_ec11_sadekbaroudi.bin /mnt/g/My\ Drive/qmk-keyboards/rock-on_bp/sadekbaroudi/

View File

@ -1,9 +0,0 @@
#!/bin/bash
# TODO: consolidate all the build files into one
make fingerpunch/rockon/v1/rgbmatrix_oled:sadekbaroudi
cp .build/fingerpunch_rockon_v1_rgbmatrix_oled_sadekbaroudi.hex /mnt/g/My\ Drive/qmk-keyboards/rock-on/v1/rgbmatrix/fingerpunch_rockon_v1_rgbmatrix_oled_sadekbaroudi.hex
make fingerpunch/rockon/v1/rgblight_oled:sadekbaroudi
cp .build/fingerpunch_rockon_v1_rgblight_oled_sadekbaroudi.hex /mnt/g/My\ Drive/qmk-keyboards/rock-on/v1/rgblight/fingerpunch_rockon_v1_rgblight_oled_sadekbaroudi.hex

View File

@ -1,13 +0,0 @@
#!/bin/bash
make fingerpunch/sweeeeep/no_features:sadekbaroudi
make fingerpunch/sweeeeep/oled:sadekbaroudi
make fingerpunch/sweeeeep/rgblight:sadekbaroudi
make fingerpunch/sweeeeep/rgblight_oled:sadekbaroudi
cp .build/fingerpunch_sweeeeep_*_sadekbaroudi*.hex /mnt/g/My\ Drive/qmk-keyboards/sweeeeep/sadekbaroudi/
make fingerpunch/sweeeeep/no_features:default
make fingerpunch/sweeeeep/oled:default
make fingerpunch/sweeeeep/rgblight:default
make fingerpunch/sweeeeep/rgblight_oled:default
cp .build/fingerpunch_sweeeeep_*_default*.hex /mnt/g/My\ Drive/qmk-keyboards/sweeeeep/default/

160
bin/fp_build.sh Executable file
View File

@ -0,0 +1,160 @@
#!/bin/bash
# error handling
if ! command -v jq &> /dev/null
then
echo "jq is a dependency, and could not be found, see https://stedolan.github.io/jq for installation details"
exit
fi
Help()
{
echo "Usage: $0 -k <keyboard> -m <keymap> -c <convert_to controller> -r -h"
echo ""
echo " -k keyboard directory (optional, default is all fingerpunch keyboards)"
echo " -m keymap (optional, defaults to the 'default' keymap)"
echo " -c add CONVERT_TO parameter for a controller (eg -c stemcell)"
echo " -r (optional, run the build command(s), defaults to outputting the build string)"
echo " -h (show this dialog)"
echo ""
echo "Examples: "
echo "--------"
echo "fp_build.sh -k \"rockon/v2\" -m sadekbaroudi -r"
echo "fp_build.sh -m sadekbaroudi"
echo "fp_build.sh -k \"barobord\""
}
get_valid_keyboards() {
valid_keyboards=""
directories=$(find ${1}/* -maxdepth 0 -type d)
echo "${directories}" | while read line; do
if [[ -e "${line}/fp_build.json" ]]; then
echo -n "${line} "
fi
for i in {1..9}
do
if [[ -e "${line}/v${i}/fp_build.json" ]]; then
echo -n "${line}/v${i} "
fi
done
done
}
build_keyboard() {
if [[ -z "${1}" ]]; then
echo "build_keyboard: no first argument"
fi
if [[ -z "${2}" ]]; then
echo "build_keyboard: no second argument"
fi
if [[ -z "${3}" ]]; then
echo "build_keyboard: no third argument"
fi
if [[ -z "${4}" ]]; then
echo "build_keyboard: no fourth argument"
fi
if [[ -z "${5}" ]]; then
echo "build_keyboard: no fifth argument"
fi
build_json="${1}/fp_build.json"
keyboard_base_dir="${1}"
keyboard_name="${1#${2}/}"
build_string="make ${keyboard_base_dir#keyboards\/}:${3}"
echo "${build_string}"
# get the total number of paramters
top_level_element_count=$(cat "${build_json}" | jq 'length')
for ((param_iter = 0 ; param_iter < top_level_element_count ; param_iter++)); do
param_type=$(cat "${build_json}" | jq -r ".[${param_iter}].type")
user_input_string=$(cat "${build_json}" | jq -r ".[${param_iter}].user_input")
if [[ "${param_type}" == "one-of" ]]; then
options_count=$(cat "${build_json}" | jq ".[${param_iter}].names | length")
user_input_string+=" (0-${options_count}): "
echo -n "${user_input_string}"
read user_choice
while [[ $user_choice -lt 0 || $user_choice -gt $options_count ]]; do
echo "Invalid choice: ${user_choice}"
echo -n "${user_input_string}"
read user_choice
done
# start at 1, because 0 should always be "none"
param_names_counter=1
param_names=$(cat "${build_json}" | jq -r ".[${param_iter}].names | @sh" | tr -d \')
for param_name in $param_names; do
if [[ $param_names_counter -eq $user_choice ]]; then
build_string+=" ${param_name}=yes"
fi
((param_names_counter+=1))
done
elif [[ "${param_type}" == "single" ]]; then
user_input_string+=" (yes/no): "
echo -n "${user_input_string}"
read user_choice
while [[ $user_choice != "yes" && $user_choice != "no" ]]; do
echo "Invalid choice: ${user_choice}"
echo -n "${user_input_string}"
read user_choice
done
param_name=$(cat "${build_json}" | jq -r ".[${param_iter}].name")
build_string+=" ${param_name}=${user_choice}"
else
echo "invalid type in json file: ${param_type}"
exit
fi
done
if [[ -n "${5}" && "${5}" != "no" ]]; then
build_string+=" CONVERT_TO=${5}"
fi
echo ""
echo "${build_string}"
echo ""
if [[ "${4}" == "yes" ]]; then
echo "fp_build.sh: Running QMK Build...."
echo ""
eval "${build_string}"
fi
}
Keyboard=""
Keymap="default"
RunBuild="no"
ConvertTo="no"
while getopts "k:m:c:rh" option; do
case $option in
k) Keyboard=${OPTARG};;
m) Keymap=${OPTARG};;
c) ConvertTo=${OPTARG};;
r) RunBuild="yes";;
h) Help
exit;;
esac
done
#### code starts here
# set up variables
FP_KB_DIR="keyboards/fingerpunch"
FP_KB=("${Keyboard}")
if [[ -z "${Keyboard}" ]]; then
FP_KB=$(get_valid_keyboards "${FP_KB_DIR}")
else
FP_KB=("${FP_KB_DIR}/${FP_KB}")
if [[ ! -e "${FP_KB}" ]]; then
echo "${FP_KB} is not a valid file, can't build"
exit
fi
fi;
for filename in $FP_KB; do
echo "Running for ${filename}"
build_keyboard "${filename}" "${FP_KB_DIR}" "${Keymap}" "${RunBuild}" "${ConvertTo}"
done

View File

@ -1,33 +0,0 @@
#!/bin/bash
make fingerpunch/ffkb/rgblight_evq:sadekbaroudi
make fingerpunch/ffkb/ec11:sadekbaroudi
make fingerpunch/ffkb/rgbmatrix_evq:sadekbaroudi
make fingerpunch/ffkb/pimoroni_evq:sadekbaroudi
make fingerpunch/ffkb/rgbmatrix_pimoroni_evq:sadekbaroudi
make fingerpunch/ffkb/rgbmatrix_pimoroni_ec11:sadekbaroudi
make fingerpunch/ffkb/rgbmatrix_oled:sadekbaroudi
make fingerpunch/ffkb/oled:sadekbaroudi
make fingerpunch/ffkb/rgbmatrix:sadekbaroudi
make fingerpunch/ffkb/rgbmatrix_ec11:sadekbaroudi
make fingerpunch/ffkb/rgbmatrix_oled_ec11:sadekbaroudi
make fingerpunch/ffkb/rgblight_pimoroni_evq:sadekbaroudi
make fingerpunch/ffkb/rgbmatrix_pimoroni:sadekbaroudi
make fingerpunch/ffkb/rgblight_oled_evq:sadekbaroudi
make fingerpunch/ffkb/pimoroni:sadekbaroudi
make fingerpunch/ffkb/evq:sadekbaroudi
make fingerpunch/ffkb/rgblight_ec11:sadekbaroudi
make fingerpunch/ffkb/rgblight_pimoroni_ec11:sadekbaroudi
make fingerpunch/ffkb/rgblight_oled:sadekbaroudi
make fingerpunch/ffkb/oled_ec11:sadekbaroudi
make fingerpunch/ffkb/rgbmatrix_ec11_evq:sadekbaroudi
make fingerpunch/ffkb/rgblight:sadekbaroudi
make fingerpunch/ffkb/no_features:sadekbaroudi
make fingerpunch/ffkb/pimoroni_ec11:sadekbaroudi
make fingerpunch/ffkb/rgblight_pimoroni:sadekbaroudi
make fingerpunch/ffkb/rgblight_ec11_evq:sadekbaroudi
make fingerpunch/ffkb/rgbmatrix_oled_evq:sadekbaroudi
make fingerpunch/ffkb/oled_evq:sadekbaroudi
make fingerpunch/ffkb/ec11_evq:sadekbaroudi
make fingerpunch/ffkb/rgblight_oled_ec11:sadekbaroudi
cp fingerpunch_ffkb_*_sadekbaroudi.hex /mnt/g/My\ Drive/qmk-keyboards/ffkb/sadekbaroudi/

View File

@ -1,42 +0,0 @@
#!/bin/bash
make fingerpunch/ffkb_byomcu/cirque:sadekbaroudi
make fingerpunch/ffkb_byomcu/cirque_ec11:sadekbaroudi
make fingerpunch/ffkb_byomcu/cirque_evq:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgblight_cirque:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgblight_cirque_ec11:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgblight_cirque_evq:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgbmatrix_cirque:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgbmatrix_cirque_ec11:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgbmatrix_cirque_evq:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgblight_evq:sadekbaroudi
make fingerpunch/ffkb_byomcu/ec11:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgbmatrix_evq:sadekbaroudi
make fingerpunch/ffkb_byomcu/pimoroni_evq:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni_evq:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni_ec11:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgbmatrix_oled:sadekbaroudi
make fingerpunch/ffkb_byomcu/oled:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgbmatrix:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgbmatrix_ec11:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgbmatrix_oled_ec11:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgblight_pimoroni_evq:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgblight_oled_evq:sadekbaroudi
make fingerpunch/ffkb_byomcu/pimoroni:sadekbaroudi
make fingerpunch/ffkb_byomcu/evq:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgblight_ec11:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgblight_pimoroni_ec11:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgblight_oled:sadekbaroudi
make fingerpunch/ffkb_byomcu/oled_ec11:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgbmatrix_ec11_evq:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgblight:sadekbaroudi
make fingerpunch/ffkb_byomcu/no_features:sadekbaroudi
make fingerpunch/ffkb_byomcu/pimoroni_ec11:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgblight_pimoroni:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgblight_ec11_evq:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgbmatrix_oled_evq:sadekbaroudi
make fingerpunch/ffkb_byomcu/oled_evq:sadekbaroudi
make fingerpunch/ffkb_byomcu/ec11_evq:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgblight_oled_ec11:sadekbaroudi
cp fingerpunch_ffkb_byomcu_*_sadekbaroudi.hex /mnt/g/My\ Drive/qmk-keyboards/ffkb_byomcu/sadekbaroudi/

View File

@ -1,50 +0,0 @@
#!/bin/bash
cp keyboards/fingerpunch/ffkb_byomcu/config.h keyboards/fingerpunch/ffkb_byomcu/config.h.bak
cp keyboards/fingerpunch/ffkb_byomcu/config.stemcell.h keyboards/fingerpunch/ffkb_byomcu/config.h
cp keyboards/fingerpunch/ffkb_byomcu/rules.mk keyboards/fingerpunch/ffkb_byomcu/rules.mk.bak
cp keyboards/fingerpunch/ffkb_byomcu/rules.stemcell.mk keyboards/fingerpunch/ffkb_byomcu/rules.mk
mv keyboards/fingerpunch/ffkb_byomcu/halconf.stemcell.h keyboards/fingerpunch/ffkb_byomcu/halconf.h
mv keyboards/fingerpunch/ffkb_byomcu/mcuconf.stemcell.h keyboards/fingerpunch/ffkb_byomcu/mcuconf.h
#make fingerpunch/ffkb_byomcu/rgblight_evq:sadekbaroudi
#make fingerpunch/ffkb_byomcu/ec11:sadekbaroudi
#make fingerpunch/ffkb_byomcu/rgbmatrix_evq:sadekbaroudi
#make fingerpunch/ffkb_byomcu/pimoroni_evq:sadekbaroudi
#make fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni_evq:sadekbaroudi
#make fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni_ec11:sadekbaroudi
#make fingerpunch/ffkb_byomcu/rgbmatrix_oled:sadekbaroudi
#make fingerpunch/ffkb_byomcu/oled:sadekbaroudi
#make fingerpunch/ffkb_byomcu/rgbmatrix:sadekbaroudi
#make fingerpunch/ffkb_byomcu/rgbmatrix_ec11:sadekbaroudi
make fingerpunch/ffkb_byomcu/rgbmatrix_oled_ec11:sadekbaroudi
#make fingerpunch/ffkb_byomcu/rgblight_pimoroni_evq:sadekbaroudi
#make fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni:sadekbaroudi
#make fingerpunch/ffkb_byomcu/rgblight_oled_evq:sadekbaroudi
#make fingerpunch/ffkb_byomcu/pimoroni:sadekbaroudi
#make fingerpunch/ffkb_byomcu/evq:sadekbaroudi
#make fingerpunch/ffkb_byomcu/rgblight_ec11:sadekbaroudi
#make fingerpunch/ffkb_byomcu/rgblight_pimoroni_ec11:sadekbaroudi
#make fingerpunch/ffkb_byomcu/rgblight_oled:sadekbaroudi
#make fingerpunch/ffkb_byomcu/oled_ec11:sadekbaroudi
#make fingerpunch/ffkb_byomcu/rgbmatrix_ec11_evq:sadekbaroudi
#make fingerpunch/ffkb_byomcu/rgblight:sadekbaroudi
#make fingerpunch/ffkb_byomcu/no_features:sadekbaroudi
#make fingerpunch/ffkb_byomcu/pimoroni_ec11:sadekbaroudi
#make fingerpunch/ffkb_byomcu/rgblight_pimoroni:sadekbaroudi
#make fingerpunch/ffkb_byomcu/rgblight_ec11_evq:sadekbaroudi
#make fingerpunch/ffkb_byomcu/rgbmatrix_oled_evq:sadekbaroudi
#make fingerpunch/ffkb_byomcu/oled_evq:sadekbaroudi
#make fingerpunch/ffkb_byomcu/ec11_evq:sadekbaroudi
#make fingerpunch/ffkb_byomcu/rgblight_oled_ec11:sadekbaroudi
mv keyboards/fingerpunch/ffkb_byomcu/config.h.bak keyboards/fingerpunch/ffkb_byomcu/config.h
mv keyboards/fingerpunch/ffkb_byomcu/rules.mk.bak keyboards/fingerpunch/ffkb_byomcu/rules.mk
mv keyboards/fingerpunch/ffkb_byomcu/halconf.h keyboards/fingerpunch/ffkb_byomcu/halconf.stemcell.h
mv keyboards/fingerpunch/ffkb_byomcu/mcuconf.h keyboards/fingerpunch/ffkb_byomcu/mcuconf.stemcell.h
cp fingerpunch_ffkb_byomcu_*_sadekbaroudi.bin /mnt/g/My\ Drive/qmk-keyboards/ffkb_stemcell/sadekbaroudi/

View File

@ -26,6 +26,6 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output on port C6
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
ENCODER_ENABLE = no
OLED_DRIVER_ENABLE = no # this can be yes or no depending on if you have an OLED
OLED_ENABLE = no # this can be yes or no depending on if you have an OLED
EXTRAFLAGS += -flto # macros enable or disable
MOUSEKEY_ENABLE = yes

View File

@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define DEVICE_VER 0x0001 // Now defined in the revX/config.h
#define MANUFACTURER sadekbaroudi
#define PRODUCT sadekbaroudi barobord
#define DESCRIPTION sadekbaroudi barobord
/* key matrix size */
/* Rows are doubled up */
@ -38,7 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{ B0, B1, B6, C6 }
#define MATRIX_COL_PINS \
{ F1, F4, F5, F6, F7, B3, B2, D2, D3, D5, C7 }
#define UNUSED_PINS
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5
@ -54,24 +52,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_VAL_STEP 16
#define RGBLIGHT_LIMIT_VAL 60 /* The maximum brightness level for RGBLIGHT_ENABLE */
#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
// /*== all animations enable ==*/
#define RGBLIGHT_ANIMATIONS
// /*== or choose animations ==*/
// #define RGBLIGHT_EFFECT_BREATHING
// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
// #define RGBLIGHT_EFFECT_SNAKE
// #define RGBLIGHT_EFFECT_KNIGHT
// #define RGBLIGHT_EFFECT_CHRISTMAS
// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
// #define RGBLIGHT_EFFECT_RGB_TEST
// #define RGBLIGHT_EFFECT_ALTERNATING
// /*== customize breathing effect ==*/
// /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
// #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
// /*==== use exp() and sin() ====*/
// #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
// #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_CHRISTMAS
#define RGBLIGHT_EFFECT_KNIGHT
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
#define RGBLIGHT_EFFECT_SNAKE
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
#define RGBLIGHT_EFFECT_TWINKLE
#endif
#ifdef RGB_MATRIX_ENABLE

View File

@ -1,23 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FINGERPUNCH_EC11
#define FINGERPUNCH_EC11
#endif
#pragma once
#include "config_common.h"

View File

@ -1,28 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = no
PIMORONI_TRACKBALL_ENABLE = no
OLED_DRIVER_ENABLE = no
ENCODER_ENABLE = yes
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
SRC += drivers/sensors/pimoroni_trackball.c
QUANTUM_LIB_SRC += i2c_master.c
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -1,25 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FINGERPUNCH_EVQ
#define FINGERPUNCH_EVQ
#endif
#define ENCODERS_B_REVERSE
#pragma once
#include "config_common.h"

View File

@ -1,28 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = no
PIMORONI_TRACKBALL_ENABLE = no
OLED_DRIVER_ENABLE = no
ENCODER_ENABLE = yes
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
SRC += drivers/sensors/pimoroni_trackball.c
QUANTUM_LIB_SRC += i2c_master.c
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -0,0 +1,22 @@
[
{
"type" : "one-of",
"names" : [ "RGBLIGHT_ENABLE", "RGB_MATRIX_ENABLE" ],
"user_input": "No RGB, RGB light, RGB matrix?"
},
{
"type" : "single",
"name" : "OLED_ENABLE",
"user_input": "Do you have an OLED?"
},
{
"type" : "single",
"name" : "ENCODER_ENABLE",
"user_input": "Do you have one or more rotary encoders?"
},
{
"type" : "single",
"name" : "PIMORONI_TRACKBALL_ENABLE",
"user_input": "Do you have a pimoroni trackball?"
}
]

View File

@ -235,7 +235,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
}
#endif
#ifdef OLED_DRIVER_ENABLE
#ifdef OLED_ENABLE
oled_rotation_t oled_init_user(oled_rotation_t rotation) {

View File

@ -110,7 +110,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
#ifdef OLED_DRIVER_ENABLE
#ifdef OLED_ENABLE
oled_rotation_t oled_init_user(oled_rotation_t rotation) {

View File

@ -206,7 +206,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
}
#endif
#ifdef OLED_DRIVER_ENABLE
#ifdef OLED_ENABLE
oled_rotation_t oled_init_user(oled_rotation_t rotation) {

View File

@ -1,19 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "config_common.h"

View File

@ -1,28 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = no
PIMORONI_TRACKBALL_ENABLE = no
OLED_DRIVER_ENABLE = no
ENCODER_ENABLE = no
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
SRC += drivers/sensors/pimoroni_trackball.c
QUANTUM_LIB_SRC += i2c_master.c
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -1,23 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FINGERPUNCH_OLED
#define FINGERPUNCH_OLED
#endif
#pragma once
#include "config_common.h"

View File

@ -1,28 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = no
PIMORONI_TRACKBALL_ENABLE = no
OLED_DRIVER_ENABLE = yes
ENCODER_ENABLE = no
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
SRC += drivers/sensors/pimoroni_trackball.c
QUANTUM_LIB_SRC += i2c_master.c
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -1,27 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FINGERPUNCH_OLED
#define FINGERPUNCH_OLED
#endif
#ifndef FINGERPUNCH_EC11
#define FINGERPUNCH_EC11
#endif
#pragma once
#include "config_common.h"

View File

@ -1,28 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = no
PIMORONI_TRACKBALL_ENABLE = no
OLED_DRIVER_ENABLE = yes
ENCODER_ENABLE = yes
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
SRC += drivers/sensors/pimoroni_trackball.c
QUANTUM_LIB_SRC += i2c_master.c
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -1,29 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FINGERPUNCH_OLED
#define FINGERPUNCH_OLED
#endif
#ifndef FINGERPUNCH_EVQ
#define FINGERPUNCH_EVQ
#endif
#define ENCODERS_B_REVERSE
#pragma once
#include "config_common.h"

View File

@ -1,28 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = no
PIMORONI_TRACKBALL_ENABLE = no
OLED_DRIVER_ENABLE = yes
ENCODER_ENABLE = yes
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
SRC += drivers/sensors/pimoroni_trackball.c
QUANTUM_LIB_SRC += i2c_master.c
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -1,23 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FINGERPUNCH_PIMORONI
#define FINGERPUNCH_PIMORONI
#endif
#pragma once
#include "config_common.h"

View File

@ -1,27 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = no
PIMORONI_TRACKBALL_ENABLE = yes
OLED_DRIVER_ENABLE = no
ENCODER_ENABLE = no
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
POINTING_DEVICE_DRIVER = pimoroni_trackball
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -1,27 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FINGERPUNCH_PIMORONI
#define FINGERPUNCH_PIMORONI
#endif
#ifndef FINGERPUNCH_EC11
#define FINGERPUNCH_EC11
#endif
#pragma once
#include "config_common.h"

View File

@ -1,27 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = no
PIMORONI_TRACKBALL_ENABLE = yes
OLED_DRIVER_ENABLE = no
ENCODER_ENABLE = yes
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
POINTING_DEVICE_DRIVER = pimoroni_trackball
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -1,29 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FINGERPUNCH_PIMORONI
#define FINGERPUNCH_PIMORONI
#endif
#ifndef FINGERPUNCH_EVQ
#define FINGERPUNCH_EVQ
#endif
#define ENCODERS_B_REVERSE
#pragma once
#include "config_common.h"

View File

@ -1,27 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = no
PIMORONI_TRACKBALL_ENABLE = yes
OLED_DRIVER_ENABLE = no
ENCODER_ENABLE = yes
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
POINTING_DEVICE_DRIVER = pimoroni_trackball
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -6,33 +6,19 @@ An ergonomic 30% keyboard
Barobord supports vial! Build the via keymap as shown in the commands, and then use Vial to sideload via.json
To build the firmware for this keyboard (after setting up your build environment), select from one of the following, depending on what features you have on your board:
make fingerpunch/barobord/ec11:via
make fingerpunch/barobord/evq:via
make fingerpunch/barobord/no-features:via
make fingerpunch/barobord/oled:via
make fingerpunch/barobord/oled-ec11:via
make fingerpunch/barobord/oled-evq:via
make fingerpunch/barobord/pimoroni:via
make fingerpunch/barobord/pimoroni-ec11:via
make fingerpunch/barobord/pimoroni-evq:via
make fingerpunch/barobord/readme.md:via
make fingerpunch/barobord/rgblight:via
make fingerpunch/barobord/rgblight-oled-ec11:via
make fingerpunch/barobord/rgblight-oled-evq:via
make fingerpunch/barobord/rgblight-pimoroni-ec11:via
make fingerpunch/barobord/rgblight-pimoroni-evq:via
make fingerpunch/barobord/rgbmatrix:via
make fingerpunch/barobord/rgbmatrix-oled-ec11:via
make fingerpunch/barobord/rgbmatrix-oled-evq:via
make fingerpunch/barobord/rgbmatrix-pimoroni-ec11:via
make fingerpunch/barobord/rgbmatrix-pimoroni-evq:via
Example of flashing this keyboard:
make fingerpunch/barobord/no-features:via:flash
To build the firmware for this keyboard (after setting up your build environment):
```
make fingerpunch/barobord:default RGBLIGHT_ENABLE=yes ENCODER_ENABLE=yes PIMORONI_TRACKBALL_ENABLE=yes
```
Options are:
```
RGBLIGHT_ENABLE=yes
RGB_MATRIX_ENABLE=yes
OLED_ENABLE=yes
ENCODER_ENABLE=yes
PIMORONI_TRACKBALL_ENABLE=yes
```
Once you have completed the build, flash it onto your keyboard. At this point, make sure you have [Vial](https://get.vial.today/) installed. Use the "Sideload VIA JSON" and use the via.json found in this directory. You should be able to edit your keymap directly from your machine!

View File

@ -1,23 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FINGERPUNCH_RGBLIGHT
#define FINGERPUNCH_RGBLIGHT
#endif
#pragma once
#include "config_common.h"

View File

@ -1,28 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = yes
RGB_MATRIX_ENABLE = no
PIMORONI_TRACKBALL_ENABLE = no
OLED_DRIVER_ENABLE = no
ENCODER_ENABLE = no
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
SRC += drivers/sensors/pimoroni_trackball.c
QUANTUM_LIB_SRC += i2c_master.c
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -1,32 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FINGERPUNCH_RGBLIGHT
#define FINGERPUNCH_RGBLIGHT
#endif
#ifndef FINGERPUNCH_OLED
#define FINGERPUNCH_OLED
#endif
#ifndef FINGERPUNCH_EC11
#define FINGERPUNCH_EC11
#endif
#pragma once
#include "config_common.h"

View File

@ -1,28 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = yes
RGB_MATRIX_ENABLE = no
PIMORONI_TRACKBALL_ENABLE = no
OLED_DRIVER_ENABLE = yes
ENCODER_ENABLE = yes
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
SRC += drivers/sensors/pimoroni_trackball.c
QUANTUM_LIB_SRC += i2c_master.c
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -1,33 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FINGERPUNCH_RGBLIGHT
#define FINGERPUNCH_RGBLIGHT
#endif
#ifndef FINGERPUNCH_OLED
#define FINGERPUNCH_OLED
#endif
#ifndef FINGERPUNCH_EVQ
#define FINGERPUNCH_EVQ
#endif
#define ENCODERS_B_REVERSE
#pragma once
#include "config_common.h"

View File

@ -1,28 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = yes
RGB_MATRIX_ENABLE = no
PIMORONI_TRACKBALL_ENABLE = no
OLED_DRIVER_ENABLE = yes
ENCODER_ENABLE = yes
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
SRC += drivers/sensors/pimoroni_trackball.c
QUANTUM_LIB_SRC += i2c_master.c
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -1,31 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FINGERPUNCH_RGBLIGHT
#define FINGERPUNCH_RGBLIGHT
#endif
#ifndef FINGERPUNCH_PIMORONI
#define FINGERPUNCH_PIMORONI
#endif
#ifndef FINGERPUNCH_EC11
#define FINGERPUNCH_EC11
#endif
#pragma once
#include "config_common.h"

View File

@ -1,27 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = yes
RGB_MATRIX_ENABLE = no
PIMORONI_TRACKBALL_ENABLE = yes
OLED_DRIVER_ENABLE = no
ENCODER_ENABLE = yes
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
POINTING_DEVICE_DRIVER = pimoroni_trackball
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -1,33 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FINGERPUNCH_RGBLIGHT
#define FINGERPUNCH_RGBLIGHT
#endif
#ifndef FINGERPUNCH_PIMORONI
#define FINGERPUNCH_PIMORONI
#endif
#ifndef FINGERPUNCH_EVQ
#define FINGERPUNCH_EVQ
#endif
#define ENCODERS_B_REVERSE
#pragma once
#include "config_common.h"

View File

@ -1,27 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = yes
RGB_MATRIX_ENABLE = no
PIMORONI_TRACKBALL_ENABLE = yes
OLED_DRIVER_ENABLE = no
ENCODER_ENABLE = yes
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
POINTING_DEVICE_DRIVER = pimoroni_trackball
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -1,23 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FINGERPUNCH_RGBMATRIX
#define FINGERPUNCH_RGBMATRIX
#endif
#pragma once
#include "config_common.h"

View File

@ -1,28 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = yes
PIMORONI_TRACKBALL_ENABLE = no
OLED_DRIVER_ENABLE = no
ENCODER_ENABLE = no
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
SRC += drivers/sensors/pimoroni_trackball.c
QUANTUM_LIB_SRC += i2c_master.c
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -1,31 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FINGERPUNCH_RGBMATRIX
#define FINGERPUNCH_RGBMATRIX
#endif
#ifndef FINGERPUNCH_OLED
#define FINGERPUNCH_OLED
#endif
#ifndef FINGERPUNCH_EC11
#define FINGERPUNCH_EC11
#endif
#pragma once
#include "config_common.h"

View File

@ -1,28 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = yes
PIMORONI_TRACKBALL_ENABLE = no
OLED_DRIVER_ENABLE = yes
ENCODER_ENABLE = yes
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
SRC += drivers/sensors/pimoroni_trackball.c
QUANTUM_LIB_SRC += i2c_master.c
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -1,33 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FINGERPUNCH_RGBMATRIX
#define FINGERPUNCH_RGBMATRIX
#endif
#ifndef FINGERPUNCH_OLED
#define FINGERPUNCH_OLED
#endif
#ifndef FINGERPUNCH_EVQ
#define FINGERPUNCH_EVQ
#endif
#define ENCODERS_B_REVERSE
#pragma once
#include "config_common.h"

View File

@ -1,28 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = yes
PIMORONI_TRACKBALL_ENABLE = no
OLED_DRIVER_ENABLE = yes
ENCODER_ENABLE = yes
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
SRC += drivers/sensors/pimoroni_trackball.c
QUANTUM_LIB_SRC += i2c_master.c
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -1,31 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FINGERPUNCH_RGBMATRIX
#define FINGERPUNCH_RGBMATRIX
#endif
#ifndef FINGERPUNCH_PIMORONI
#define FINGERPUNCH_PIMORONI
#endif
#ifndef FINGERPUNCH_EC11
#define FINGERPUNCH_EC11
#endif
#pragma once
#include "config_common.h"

View File

@ -1,27 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = yes
PIMORONI_TRACKBALL_ENABLE = yes
OLED_DRIVER_ENABLE = no
ENCODER_ENABLE = yes
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
POINTING_DEVICE_DRIVER = pimoroni_trackball
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -1,33 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FINGERPUNCH_RGBMATRIX
#define FINGERPUNCH_RGBMATRIX
#endif
#ifndef FINGERPUNCH_PIMORONI
#define FINGERPUNCH_PIMORONI
#endif
#ifndef FINGERPUNCH_EVQ
#define FINGERPUNCH_EVQ
#endif
#define ENCODERS_B_REVERSE
#pragma once
#include "config_common.h"

View File

@ -1,27 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = yes
PIMORONI_TRACKBALL_ENABLE = yes
OLED_DRIVER_ENABLE = no
ENCODER_ENABLE = yes
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
POINTING_DEVICE_DRIVER = pimoroni_trackball
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -23,10 +23,11 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
NKRO_ENABLE = no # USB Nkey Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
MOUSEKEY_ENABLE = no
# Either do RGBLIGHT_ENABLE or RGB_MATRIX_ENABLE and RGB_MATRIX_DRIVER
RGBLIGHT_ENABLE = yes
RGB_MATRIX_ENABLE = yes
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = no
RGB_MATRIX_DRIVER = WS2812
MIDI_ENABLE = no # MIDI support
@ -35,7 +36,14 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output on port C6
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
ENCODER_ENABLE = yes
OLED_DRIVER_ENABLE = yes # this can be yes or no depending on if you have an OLED
EXTRAFLAGS += -flto # macros disabled, as a lot of barobord features require more space, can move this line into all the individual rules.mk, only where needed
OLED_ENABLE = yes # this can be yes or no depending on if you have an OLED
# EXTRAFLAGS += -flto # macros disabled, as a lot of barobord features require more space, can move this line into all the individual rules.mk, only where needed
# for instance, if you build "no_features", it's very unlikely you'll need to disable macros
MOUSEKEY_ENABLE = no
PIMORONI_TRACKBALL_ENABLE = no
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
POINTING_DEVICE_DRIVER := pimoroni_trackball
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define DEVICE_VER 0x0001 // Now defined in the revX/config.h
#define MANUFACTURER sadekbaroudi
#define PRODUCT sadekbaroudi barobord_byomcu
#define DESCRIPTION sadekbaroudi barobord_byomcu
/* key matrix size */
/* Rows are doubled up */
@ -38,7 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{ B6, F4, B5, B4, B2 }
#define MATRIX_COL_PINS \
{ D2, D4, C6, D7, E6, F5, F6, F7, B1 }
#define UNUSED_PINS
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5
@ -54,24 +52,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_VAL_STEP 16
#define RGBLIGHT_LIMIT_VAL 60 /* The maximum brightness level for RGBLIGHT_ENABLE */
#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
// /*== all animations enable ==*/
#define RGBLIGHT_ANIMATIONS
// /*== or choose animations ==*/
// #define RGBLIGHT_EFFECT_BREATHING
// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
// #define RGBLIGHT_EFFECT_SNAKE
// #define RGBLIGHT_EFFECT_KNIGHT
// #define RGBLIGHT_EFFECT_CHRISTMAS
// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
// #define RGBLIGHT_EFFECT_RGB_TEST
// #define RGBLIGHT_EFFECT_ALTERNATING
// /*== customize breathing effect ==*/
// /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
// #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
// /*==== use exp() and sin() ====*/
// #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
// #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_CHRISTMAS
#define RGBLIGHT_EFFECT_KNIGHT
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
#define RGBLIGHT_EFFECT_SNAKE
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
#define RGBLIGHT_EFFECT_TWINKLE
#endif
#ifdef RGB_MATRIX_ENABLE

View File

@ -1,23 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FINGERPUNCH_EC11
#define FINGERPUNCH_EC11
#endif
#pragma once
#include "config_common.h"

View File

@ -1,28 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = no
PIMORONI_TRACKBALL_ENABLE = no
OLED_DRIVER_ENABLE = no
ENCODER_ENABLE = yes
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
SRC += drivers/sensors/pimoroni_trackball.c
QUANTUM_LIB_SRC += i2c_master.c
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -1,25 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FINGERPUNCH_EVQ
#define FINGERPUNCH_EVQ
#endif
#define ENCODERS_B_REVERSE
#pragma once
#include "config_common.h"

View File

@ -1,28 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = no
PIMORONI_TRACKBALL_ENABLE = no
OLED_DRIVER_ENABLE = no
ENCODER_ENABLE = yes
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
SRC += drivers/sensors/pimoroni_trackball.c
QUANTUM_LIB_SRC += i2c_master.c
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -0,0 +1,22 @@
[
{
"type" : "one-of",
"names" : [ "RGBLIGHT_ENABLE", "RGB_MATRIX_ENABLE" ],
"user_input": "No RGB, RGB light, RGB matrix?"
},
{
"type" : "single",
"name" : "OLED_ENABLE",
"user_input": "Do you have an OLED?"
},
{
"type" : "single",
"name" : "ENCODER_ENABLE",
"user_input": "Do you have one or more rotary encoders?"
},
{
"type" : "single",
"name" : "PIMORONI_TRACKBALL_ENABLE",
"user_input": "Do you have a pimoroni trackball?"
}
]

View File

@ -235,7 +235,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
}
#endif
#ifdef OLED_DRIVER_ENABLE
#ifdef OLED_ENABLE
oled_rotation_t oled_init_user(oled_rotation_t rotation) {

View File

@ -110,7 +110,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
#ifdef OLED_DRIVER_ENABLE
#ifdef OLED_ENABLE
oled_rotation_t oled_init_user(oled_rotation_t rotation) {

View File

@ -1,19 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "config_common.h"

View File

@ -1,28 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = no
PIMORONI_TRACKBALL_ENABLE = no
OLED_DRIVER_ENABLE = no
ENCODER_ENABLE = no
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
SRC += drivers/sensors/pimoroni_trackball.c
QUANTUM_LIB_SRC += i2c_master.c
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -1,23 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FINGERPUNCH_OLED
#define FINGERPUNCH_OLED
#endif
#pragma once
#include "config_common.h"

View File

@ -1,28 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = no
PIMORONI_TRACKBALL_ENABLE = no
OLED_DRIVER_ENABLE = yes
ENCODER_ENABLE = no
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
SRC += drivers/sensors/pimoroni_trackball.c
QUANTUM_LIB_SRC += i2c_master.c
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -1,27 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FINGERPUNCH_OLED
#define FINGERPUNCH_OLED
#endif
#ifndef FINGERPUNCH_EC11
#define FINGERPUNCH_EC11
#endif
#pragma once
#include "config_common.h"

View File

@ -1,28 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = no
PIMORONI_TRACKBALL_ENABLE = no
OLED_DRIVER_ENABLE = yes
ENCODER_ENABLE = yes
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
SRC += drivers/sensors/pimoroni_trackball.c
QUANTUM_LIB_SRC += i2c_master.c
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -1,29 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FINGERPUNCH_OLED
#define FINGERPUNCH_OLED
#endif
#ifndef FINGERPUNCH_EVQ
#define FINGERPUNCH_EVQ
#endif
#define ENCODERS_B_REVERSE
#pragma once
#include "config_common.h"

View File

@ -1,28 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = no
PIMORONI_TRACKBALL_ENABLE = no
OLED_DRIVER_ENABLE = yes
ENCODER_ENABLE = yes
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
SRC += drivers/sensors/pimoroni_trackball.c
QUANTUM_LIB_SRC += i2c_master.c
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

View File

@ -1,23 +0,0 @@
/*
Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FINGERPUNCH_PIMORONI
#define FINGERPUNCH_PIMORONI
#endif
#pragma once
#include "config_common.h"

View File

@ -1,27 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = no
PIMORONI_TRACKBALL_ENABLE = yes
OLED_DRIVER_ENABLE = no
ENCODER_ENABLE = no
ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
POINTING_DEVICE_ENABLE := yes
POINTING_DEVICE_DRIVER = pimoroni_trackball
OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
endif

Some files were not shown because too many files have changed in this diff Show More