diff --git a/bin/build-absolem.sh b/bin/build-absolem.sh deleted file mode 100755 index 57cf811aeb17..000000000000 --- a/bin/build-absolem.sh +++ /dev/null @@ -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 diff --git a/bin/build-adux.sh b/bin/build-adux.sh deleted file mode 100755 index 883bf8db4e0d..000000000000 --- a/bin/build-adux.sh +++ /dev/null @@ -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 diff --git a/bin/build-barobord-default.sh b/bin/build-barobord-default.sh deleted file mode 100755 index d557449d0d18..000000000000 --- a/bin/build-barobord-default.sh +++ /dev/null @@ -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/ diff --git a/bin/build-barobord-oled.sh b/bin/build-barobord-oled.sh deleted file mode 100755 index ee62ce6ac5ed..000000000000 --- a/bin/build-barobord-oled.sh +++ /dev/null @@ -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 diff --git a/bin/build-barobord-pimoroni.sh b/bin/build-barobord-pimoroni.sh deleted file mode 100755 index 15eb6877ee77..000000000000 --- a/bin/build-barobord-pimoroni.sh +++ /dev/null @@ -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 diff --git a/bin/build-barobord-rgb-matrix-noenc-nooled.sh b/bin/build-barobord-rgb-matrix-noenc-nooled.sh deleted file mode 100755 index 0851e151f958..000000000000 --- a/bin/build-barobord-rgb-matrix-noenc-nooled.sh +++ /dev/null @@ -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 diff --git a/bin/build-barobord-rgb-matrix.sh b/bin/build-barobord-rgb-matrix.sh deleted file mode 100755 index 46cbf52baa4f..000000000000 --- a/bin/build-barobord-rgb-matrix.sh +++ /dev/null @@ -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 diff --git a/bin/build-barobord-underglow-noenc-nooled.sh b/bin/build-barobord-underglow-noenc-nooled.sh deleted file mode 100755 index e1bc316f51fe..000000000000 --- a/bin/build-barobord-underglow-noenc-nooled.sh +++ /dev/null @@ -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 diff --git a/bin/build-barobord-via.sh b/bin/build-barobord-via.sh deleted file mode 100755 index 56593170c5d8..000000000000 --- a/bin/build-barobord-via.sh +++ /dev/null @@ -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/ diff --git a/bin/build-barobordhw-rgb-matrix.sh b/bin/build-barobordhw-rgb-matrix.sh deleted file mode 100755 index ccf1f18cde3f..000000000000 --- a/bin/build-barobordhw-rgb-matrix.sh +++ /dev/null @@ -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 diff --git a/bin/build-barobordhw-rgb.sh b/bin/build-barobordhw-rgb.sh deleted file mode 100755 index c5e2dbda5a73..000000000000 --- a/bin/build-barobordhw-rgb.sh +++ /dev/null @@ -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 diff --git a/bin/build-bgkeeb-default.sh b/bin/build-bgkeeb-default.sh deleted file mode 100755 index 2d3f9c181da8..000000000000 --- a/bin/build-bgkeeb-default.sh +++ /dev/null @@ -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/ ; diff --git a/bin/build-bgkeeb.sh b/bin/build-bgkeeb.sh deleted file mode 100755 index 2d3f9c181da8..000000000000 --- a/bin/build-bgkeeb.sh +++ /dev/null @@ -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/ ; diff --git a/bin/build-draculad.sh b/bin/build-draculad.sh deleted file mode 100755 index 54c7c7db2f2c..000000000000 --- a/bin/build-draculad.sh +++ /dev/null @@ -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/ ; diff --git a/bin/build-enigma36-v1.sh b/bin/build-enigma36-v1.sh deleted file mode 100755 index c6964bfe9822..000000000000 --- a/bin/build-enigma36-v1.sh +++ /dev/null @@ -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 diff --git a/bin/build-enigma36-v2.sh b/bin/build-enigma36-v2.sh deleted file mode 100755 index 65671736fc79..000000000000 --- a/bin/build-enigma36-v2.sh +++ /dev/null @@ -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 diff --git a/bin/build-euclid36-proto.sh b/bin/build-euclid36-proto.sh deleted file mode 100755 index 268a76759108..000000000000 --- a/bin/build-euclid36-proto.sh +++ /dev/null @@ -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/ diff --git a/bin/build-ffkb-pim-ec11.sh b/bin/build-ffkb-pim-ec11.sh deleted file mode 100755 index 3a6fe9b051c4..000000000000 --- a/bin/build-ffkb-pim-ec11.sh +++ /dev/null @@ -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/ diff --git a/bin/build-ffkb-rgb-matrix-ec11.sh b/bin/build-ffkb-rgb-matrix-ec11.sh deleted file mode 100755 index ce14243d3672..000000000000 --- a/bin/build-ffkb-rgb-matrix-ec11.sh +++ /dev/null @@ -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/ diff --git a/bin/build-ffkb-rgb-matrix-evq-ec11.sh b/bin/build-ffkb-rgb-matrix-evq-ec11.sh deleted file mode 100755 index bf6f61fa5206..000000000000 --- a/bin/build-ffkb-rgb-matrix-evq-ec11.sh +++ /dev/null @@ -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/ diff --git a/bin/build-ffkb-rgblight-ec11.sh b/bin/build-ffkb-rgblight-ec11.sh deleted file mode 100755 index 3ea09cbe413e..000000000000 --- a/bin/build-ffkb-rgblight-ec11.sh +++ /dev/null @@ -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/ diff --git a/bin/build-ffkb-rgblight-evq-ec11.sh b/bin/build-ffkb-rgblight-evq-ec11.sh deleted file mode 100755 index db24957f18f2..000000000000 --- a/bin/build-ffkb-rgblight-evq-ec11.sh +++ /dev/null @@ -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/ diff --git a/bin/build-ffkbhw.sh b/bin/build-ffkbhw.sh deleted file mode 100755 index a6af472bd36e..000000000000 --- a/bin/build-ffkbhw.sh +++ /dev/null @@ -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/ diff --git a/bin/build-freewilly.sh b/bin/build-freewilly.sh deleted file mode 100755 index 762a6a28d136..000000000000 --- a/bin/build-freewilly.sh +++ /dev/null @@ -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/ ; diff --git a/bin/build-halfdash.sh b/bin/build-halfdash.sh deleted file mode 100755 index d1a09f1ea956..000000000000 --- a/bin/build-halfdash.sh +++ /dev/null @@ -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/ diff --git a/bin/build-luakeeb.sh b/bin/build-luakeeb.sh deleted file mode 100755 index 99604b7755ce..000000000000 --- a/bin/build-luakeeb.sh +++ /dev/null @@ -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/ ; diff --git a/bin/build-minidox.sh b/bin/build-minidox.sh deleted file mode 100755 index f4638b590ab4..000000000000 --- a/bin/build-minidox.sh +++ /dev/null @@ -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 diff --git a/bin/build-osprette.sh b/bin/build-osprette.sh deleted file mode 100755 index 59545de1012b..000000000000 --- a/bin/build-osprette.sh +++ /dev/null @@ -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/ ; diff --git a/bin/build-pinkies-out.sh b/bin/build-pinkies-out.sh deleted file mode 100755 index 1e51f83758d3..000000000000 --- a/bin/build-pinkies-out.sh +++ /dev/null @@ -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/ diff --git a/bin/build-rockon-bp.sh b/bin/build-rockon-bp.sh deleted file mode 100755 index 41db700d96d3..000000000000 --- a/bin/build-rockon-bp.sh +++ /dev/null @@ -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/ \ No newline at end of file diff --git a/bin/build-rockon.sh b/bin/build-rockon.sh deleted file mode 100755 index 64509848e955..000000000000 --- a/bin/build-rockon.sh +++ /dev/null @@ -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 diff --git a/bin/build-sweeeeep.sh b/bin/build-sweeeeep.sh deleted file mode 100755 index a32786e5b210..000000000000 --- a/bin/build-sweeeeep.sh +++ /dev/null @@ -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/ diff --git a/bin/fp_build.sh b/bin/fp_build.sh new file mode 100755 index 000000000000..ba63fdb52f46 --- /dev/null +++ b/bin/fp_build.sh @@ -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 -m -c -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 \ No newline at end of file diff --git a/bin/make-all-ffkb.sh b/bin/make-all-ffkb.sh deleted file mode 100755 index 7bc5eda408d6..000000000000 --- a/bin/make-all-ffkb.sh +++ /dev/null @@ -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/ diff --git a/bin/make-all-ffkb_byomcu.sh b/bin/make-all-ffkb_byomcu.sh deleted file mode 100755 index c41358d99676..000000000000 --- a/bin/make-all-ffkb_byomcu.sh +++ /dev/null @@ -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/ diff --git a/bin/make-all-ffkb_stemcell.sh b/bin/make-all-ffkb_stemcell.sh deleted file mode 100755 index 9d304ca1e563..000000000000 --- a/bin/make-all-ffkb_stemcell.sh +++ /dev/null @@ -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/ diff --git a/keyboards/fingerpunch/arachnophobe/rules.mk b/keyboards/fingerpunch/arachnophobe/rules.mk index dd24a3e8d795..da7b41a4807c 100644 --- a/keyboards/fingerpunch/arachnophobe/rules.mk +++ b/keyboards/fingerpunch/arachnophobe/rules.mk @@ -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 diff --git a/keyboards/fingerpunch/barobord/config.h b/keyboards/fingerpunch/barobord/config.h index 85aca77dfd9a..e8e04c033c5c 100644 --- a/keyboards/fingerpunch/barobord/config.h +++ b/keyboards/fingerpunch/barobord/config.h @@ -26,7 +26,6 @@ along with this program. If not, see . //#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 . { 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 . #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 diff --git a/keyboards/fingerpunch/barobord/ec11/config.h b/keyboards/fingerpunch/barobord/ec11/config.h deleted file mode 100644 index 5ece337ba1d4..000000000000 --- a/keyboards/fingerpunch/barobord/ec11/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef FINGERPUNCH_EC11 -#define FINGERPUNCH_EC11 -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/barobord/ec11/rules.mk b/keyboards/fingerpunch/barobord/ec11/rules.mk deleted file mode 100644 index bf59a319db9a..000000000000 --- a/keyboards/fingerpunch/barobord/ec11/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord/evq/config.h b/keyboards/fingerpunch/barobord/evq/config.h deleted file mode 100644 index 41409abf1650..000000000000 --- a/keyboards/fingerpunch/barobord/evq/config.h +++ /dev/null @@ -1,25 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef FINGERPUNCH_EVQ -#define FINGERPUNCH_EVQ -#endif - -#define ENCODERS_B_REVERSE - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/barobord/evq/rules.mk b/keyboards/fingerpunch/barobord/evq/rules.mk deleted file mode 100644 index bf59a319db9a..000000000000 --- a/keyboards/fingerpunch/barobord/evq/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord/fp_build.json b/keyboards/fingerpunch/barobord/fp_build.json new file mode 100644 index 000000000000..07c80e3d4956 --- /dev/null +++ b/keyboards/fingerpunch/barobord/fp_build.json @@ -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?" + } +] \ No newline at end of file diff --git a/keyboards/fingerpunch/barobord/keymaps/default/keymap.c b/keyboards/fingerpunch/barobord/keymaps/default/keymap.c index 6e4c7c6e6b3c..6b0119f649e7 100644 --- a/keyboards/fingerpunch/barobord/keymaps/default/keymap.c +++ b/keyboards/fingerpunch/barobord/keymaps/default/keymap.c @@ -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) { diff --git a/keyboards/fingerpunch/barobord/keymaps/sadekbaroudi/keymap.c b/keyboards/fingerpunch/barobord/keymaps/sadekbaroudi/keymap.c index 96f96985a6db..df275749088d 100644 --- a/keyboards/fingerpunch/barobord/keymaps/sadekbaroudi/keymap.c +++ b/keyboards/fingerpunch/barobord/keymaps/sadekbaroudi/keymap.c @@ -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) { diff --git a/keyboards/fingerpunch/barobord/keymaps/via/keymap.c b/keyboards/fingerpunch/barobord/keymaps/via/keymap.c index 2bde8ddc3ea8..b8769b55a73e 100644 --- a/keyboards/fingerpunch/barobord/keymaps/via/keymap.c +++ b/keyboards/fingerpunch/barobord/keymaps/via/keymap.c @@ -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) { diff --git a/keyboards/fingerpunch/barobord/no_features/config.h b/keyboards/fingerpunch/barobord/no_features/config.h deleted file mode 100644 index d4903b376d72..000000000000 --- a/keyboards/fingerpunch/barobord/no_features/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/barobord/no_features/rules.mk b/keyboards/fingerpunch/barobord/no_features/rules.mk deleted file mode 100644 index 38edc894a4cd..000000000000 --- a/keyboards/fingerpunch/barobord/no_features/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord/oled/config.h b/keyboards/fingerpunch/barobord/oled/config.h deleted file mode 100644 index ad2d60bdb429..000000000000 --- a/keyboards/fingerpunch/barobord/oled/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef FINGERPUNCH_OLED -#define FINGERPUNCH_OLED -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/barobord/oled/rules.mk b/keyboards/fingerpunch/barobord/oled/rules.mk deleted file mode 100644 index af0bb8f88859..000000000000 --- a/keyboards/fingerpunch/barobord/oled/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord/oled_ec11/config.h b/keyboards/fingerpunch/barobord/oled_ec11/config.h deleted file mode 100644 index 220ac4240ba6..000000000000 --- a/keyboards/fingerpunch/barobord/oled_ec11/config.h +++ /dev/null @@ -1,27 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef FINGERPUNCH_OLED -#define FINGERPUNCH_OLED -#endif - -#ifndef FINGERPUNCH_EC11 -#define FINGERPUNCH_EC11 -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/barobord/oled_ec11/rules.mk b/keyboards/fingerpunch/barobord/oled_ec11/rules.mk deleted file mode 100644 index e2d19dfcc484..000000000000 --- a/keyboards/fingerpunch/barobord/oled_ec11/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord/oled_evq/config.h b/keyboards/fingerpunch/barobord/oled_evq/config.h deleted file mode 100644 index 54ed43e07490..000000000000 --- a/keyboards/fingerpunch/barobord/oled_evq/config.h +++ /dev/null @@ -1,29 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef FINGERPUNCH_OLED -#define FINGERPUNCH_OLED -#endif - -#ifndef FINGERPUNCH_EVQ -#define FINGERPUNCH_EVQ -#endif - -#define ENCODERS_B_REVERSE - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/barobord/oled_evq/rules.mk b/keyboards/fingerpunch/barobord/oled_evq/rules.mk deleted file mode 100644 index e2d19dfcc484..000000000000 --- a/keyboards/fingerpunch/barobord/oled_evq/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord/pimoroni/config.h b/keyboards/fingerpunch/barobord/pimoroni/config.h deleted file mode 100644 index e94ecab67de7..000000000000 --- a/keyboards/fingerpunch/barobord/pimoroni/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef FINGERPUNCH_PIMORONI -#define FINGERPUNCH_PIMORONI -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/barobord/pimoroni/rules.mk b/keyboards/fingerpunch/barobord/pimoroni/rules.mk deleted file mode 100644 index 9880edc91129..000000000000 --- a/keyboards/fingerpunch/barobord/pimoroni/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord/pimoroni_ec11/config.h b/keyboards/fingerpunch/barobord/pimoroni_ec11/config.h deleted file mode 100644 index 3824353b1a4b..000000000000 --- a/keyboards/fingerpunch/barobord/pimoroni_ec11/config.h +++ /dev/null @@ -1,27 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef FINGERPUNCH_PIMORONI -#define FINGERPUNCH_PIMORONI -#endif - -#ifndef FINGERPUNCH_EC11 -#define FINGERPUNCH_EC11 -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/barobord/pimoroni_ec11/rules.mk b/keyboards/fingerpunch/barobord/pimoroni_ec11/rules.mk deleted file mode 100644 index dad28b93e51c..000000000000 --- a/keyboards/fingerpunch/barobord/pimoroni_ec11/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord/pimoroni_evq/config.h b/keyboards/fingerpunch/barobord/pimoroni_evq/config.h deleted file mode 100644 index 6e1f4f287ac8..000000000000 --- a/keyboards/fingerpunch/barobord/pimoroni_evq/config.h +++ /dev/null @@ -1,29 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef FINGERPUNCH_PIMORONI -#define FINGERPUNCH_PIMORONI -#endif - -#ifndef FINGERPUNCH_EVQ -#define FINGERPUNCH_EVQ -#endif - -#define ENCODERS_B_REVERSE - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/barobord/pimoroni_evq/rules.mk b/keyboards/fingerpunch/barobord/pimoroni_evq/rules.mk deleted file mode 100644 index dad28b93e51c..000000000000 --- a/keyboards/fingerpunch/barobord/pimoroni_evq/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord/readme.md b/keyboards/fingerpunch/barobord/readme.md index a6c394076b86..529987ca6165 100644 --- a/keyboards/fingerpunch/barobord/readme.md +++ b/keyboards/fingerpunch/barobord/readme.md @@ -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! diff --git a/keyboards/fingerpunch/barobord/rgblight/config.h b/keyboards/fingerpunch/barobord/rgblight/config.h deleted file mode 100644 index 2ba45850ed7f..000000000000 --- a/keyboards/fingerpunch/barobord/rgblight/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef FINGERPUNCH_RGBLIGHT -#define FINGERPUNCH_RGBLIGHT -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/barobord/rgblight/rules.mk b/keyboards/fingerpunch/barobord/rgblight/rules.mk deleted file mode 100644 index 33c2c43ab133..000000000000 --- a/keyboards/fingerpunch/barobord/rgblight/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord/rgblight_oled_ec11/config.h b/keyboards/fingerpunch/barobord/rgblight_oled_ec11/config.h deleted file mode 100644 index 7a486c8a724b..000000000000 --- a/keyboards/fingerpunch/barobord/rgblight_oled_ec11/config.h +++ /dev/null @@ -1,32 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#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" - diff --git a/keyboards/fingerpunch/barobord/rgblight_oled_ec11/rules.mk b/keyboards/fingerpunch/barobord/rgblight_oled_ec11/rules.mk deleted file mode 100644 index f938a09a93b4..000000000000 --- a/keyboards/fingerpunch/barobord/rgblight_oled_ec11/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord/rgblight_oled_evq/config.h b/keyboards/fingerpunch/barobord/rgblight_oled_evq/config.h deleted file mode 100644 index 325d5563ae42..000000000000 --- a/keyboards/fingerpunch/barobord/rgblight_oled_evq/config.h +++ /dev/null @@ -1,33 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#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" diff --git a/keyboards/fingerpunch/barobord/rgblight_oled_evq/rules.mk b/keyboards/fingerpunch/barobord/rgblight_oled_evq/rules.mk deleted file mode 100644 index f938a09a93b4..000000000000 --- a/keyboards/fingerpunch/barobord/rgblight_oled_evq/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord/rgblight_pimoroni_ec11/config.h b/keyboards/fingerpunch/barobord/rgblight_pimoroni_ec11/config.h deleted file mode 100644 index 61c4c51fc53a..000000000000 --- a/keyboards/fingerpunch/barobord/rgblight_pimoroni_ec11/config.h +++ /dev/null @@ -1,31 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#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" diff --git a/keyboards/fingerpunch/barobord/rgblight_pimoroni_ec11/rules.mk b/keyboards/fingerpunch/barobord/rgblight_pimoroni_ec11/rules.mk deleted file mode 100644 index 326b810dfb49..000000000000 --- a/keyboards/fingerpunch/barobord/rgblight_pimoroni_ec11/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord/rgblight_pimoroni_evq/config.h b/keyboards/fingerpunch/barobord/rgblight_pimoroni_evq/config.h deleted file mode 100644 index 4237e51a0780..000000000000 --- a/keyboards/fingerpunch/barobord/rgblight_pimoroni_evq/config.h +++ /dev/null @@ -1,33 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#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" diff --git a/keyboards/fingerpunch/barobord/rgblight_pimoroni_evq/rules.mk b/keyboards/fingerpunch/barobord/rgblight_pimoroni_evq/rules.mk deleted file mode 100644 index 326b810dfb49..000000000000 --- a/keyboards/fingerpunch/barobord/rgblight_pimoroni_evq/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord/rgbmatrix/config.h b/keyboards/fingerpunch/barobord/rgbmatrix/config.h deleted file mode 100644 index 9f98c0bffe3f..000000000000 --- a/keyboards/fingerpunch/barobord/rgbmatrix/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef FINGERPUNCH_RGBMATRIX -#define FINGERPUNCH_RGBMATRIX -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/barobord/rgbmatrix/rules.mk b/keyboards/fingerpunch/barobord/rgbmatrix/rules.mk deleted file mode 100644 index 87455b3cc188..000000000000 --- a/keyboards/fingerpunch/barobord/rgbmatrix/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord/rgbmatrix_oled_ec11/config.h b/keyboards/fingerpunch/barobord/rgbmatrix_oled_ec11/config.h deleted file mode 100644 index 2cdf35ce43ff..000000000000 --- a/keyboards/fingerpunch/barobord/rgbmatrix_oled_ec11/config.h +++ /dev/null @@ -1,31 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#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" diff --git a/keyboards/fingerpunch/barobord/rgbmatrix_oled_ec11/rules.mk b/keyboards/fingerpunch/barobord/rgbmatrix_oled_ec11/rules.mk deleted file mode 100644 index 9ca96193a268..000000000000 --- a/keyboards/fingerpunch/barobord/rgbmatrix_oled_ec11/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord/rgbmatrix_oled_evq/config.h b/keyboards/fingerpunch/barobord/rgbmatrix_oled_evq/config.h deleted file mode 100644 index 6085614871c6..000000000000 --- a/keyboards/fingerpunch/barobord/rgbmatrix_oled_evq/config.h +++ /dev/null @@ -1,33 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#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" diff --git a/keyboards/fingerpunch/barobord/rgbmatrix_oled_evq/rules.mk b/keyboards/fingerpunch/barobord/rgbmatrix_oled_evq/rules.mk deleted file mode 100644 index 9ca96193a268..000000000000 --- a/keyboards/fingerpunch/barobord/rgbmatrix_oled_evq/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord/rgbmatrix_pimoroni_ec11/config.h b/keyboards/fingerpunch/barobord/rgbmatrix_pimoroni_ec11/config.h deleted file mode 100644 index 378001aa2129..000000000000 --- a/keyboards/fingerpunch/barobord/rgbmatrix_pimoroni_ec11/config.h +++ /dev/null @@ -1,31 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#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" diff --git a/keyboards/fingerpunch/barobord/rgbmatrix_pimoroni_ec11/rules.mk b/keyboards/fingerpunch/barobord/rgbmatrix_pimoroni_ec11/rules.mk deleted file mode 100644 index c40db7d2aab1..000000000000 --- a/keyboards/fingerpunch/barobord/rgbmatrix_pimoroni_ec11/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord/rgbmatrix_pimoroni_evq/config.h b/keyboards/fingerpunch/barobord/rgbmatrix_pimoroni_evq/config.h deleted file mode 100644 index 400f626976ad..000000000000 --- a/keyboards/fingerpunch/barobord/rgbmatrix_pimoroni_evq/config.h +++ /dev/null @@ -1,33 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#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" diff --git a/keyboards/fingerpunch/barobord/rgbmatrix_pimoroni_evq/rules.mk b/keyboards/fingerpunch/barobord/rgbmatrix_pimoroni_evq/rules.mk deleted file mode 100644 index c40db7d2aab1..000000000000 --- a/keyboards/fingerpunch/barobord/rgbmatrix_pimoroni_evq/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord/rules.mk b/keyboards/fingerpunch/barobord/rules.mk index 982653506950..4cbeece48f11 100644 --- a/keyboards/fingerpunch/barobord/rules.mk +++ b/keyboards/fingerpunch/barobord/rules.mk @@ -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 \ No newline at end of file diff --git a/keyboards/fingerpunch/barobord_byomcu/config.h b/keyboards/fingerpunch/barobord_byomcu/config.h index 1c3257ee7d04..c8b72194be00 100644 --- a/keyboards/fingerpunch/barobord_byomcu/config.h +++ b/keyboards/fingerpunch/barobord_byomcu/config.h @@ -26,7 +26,6 @@ along with this program. If not, see . //#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 . { 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 . #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 diff --git a/keyboards/fingerpunch/barobord_byomcu/ec11/config.h b/keyboards/fingerpunch/barobord_byomcu/ec11/config.h deleted file mode 100644 index 5ece337ba1d4..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/ec11/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef FINGERPUNCH_EC11 -#define FINGERPUNCH_EC11 -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/barobord_byomcu/ec11/rules.mk b/keyboards/fingerpunch/barobord_byomcu/ec11/rules.mk deleted file mode 100644 index bf59a319db9a..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/ec11/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord_byomcu/evq/config.h b/keyboards/fingerpunch/barobord_byomcu/evq/config.h deleted file mode 100644 index 41409abf1650..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/evq/config.h +++ /dev/null @@ -1,25 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef FINGERPUNCH_EVQ -#define FINGERPUNCH_EVQ -#endif - -#define ENCODERS_B_REVERSE - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/barobord_byomcu/evq/rules.mk b/keyboards/fingerpunch/barobord_byomcu/evq/rules.mk deleted file mode 100644 index bf59a319db9a..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/evq/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord_byomcu/fp_build.json b/keyboards/fingerpunch/barobord_byomcu/fp_build.json new file mode 100644 index 000000000000..07c80e3d4956 --- /dev/null +++ b/keyboards/fingerpunch/barobord_byomcu/fp_build.json @@ -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?" + } +] \ No newline at end of file diff --git a/keyboards/fingerpunch/barobord_byomcu/keymaps/default/keymap.c b/keyboards/fingerpunch/barobord_byomcu/keymaps/default/keymap.c index 6b935d6ec01c..7da4825ac381 100644 --- a/keyboards/fingerpunch/barobord_byomcu/keymaps/default/keymap.c +++ b/keyboards/fingerpunch/barobord_byomcu/keymaps/default/keymap.c @@ -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) { diff --git a/keyboards/fingerpunch/barobord_byomcu/keymaps/sadekbaroudi/keymap.c b/keyboards/fingerpunch/barobord_byomcu/keymaps/sadekbaroudi/keymap.c index 96f96985a6db..df275749088d 100644 --- a/keyboards/fingerpunch/barobord_byomcu/keymaps/sadekbaroudi/keymap.c +++ b/keyboards/fingerpunch/barobord_byomcu/keymaps/sadekbaroudi/keymap.c @@ -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) { diff --git a/keyboards/fingerpunch/barobord_byomcu/no_features/config.h b/keyboards/fingerpunch/barobord_byomcu/no_features/config.h deleted file mode 100644 index d4903b376d72..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/no_features/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/barobord_byomcu/no_features/rules.mk b/keyboards/fingerpunch/barobord_byomcu/no_features/rules.mk deleted file mode 100644 index 38edc894a4cd..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/no_features/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord_byomcu/oled/config.h b/keyboards/fingerpunch/barobord_byomcu/oled/config.h deleted file mode 100644 index ad2d60bdb429..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/oled/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef FINGERPUNCH_OLED -#define FINGERPUNCH_OLED -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/barobord_byomcu/oled/rules.mk b/keyboards/fingerpunch/barobord_byomcu/oled/rules.mk deleted file mode 100644 index af0bb8f88859..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/oled/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord_byomcu/oled_ec11/config.h b/keyboards/fingerpunch/barobord_byomcu/oled_ec11/config.h deleted file mode 100644 index 220ac4240ba6..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/oled_ec11/config.h +++ /dev/null @@ -1,27 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef FINGERPUNCH_OLED -#define FINGERPUNCH_OLED -#endif - -#ifndef FINGERPUNCH_EC11 -#define FINGERPUNCH_EC11 -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/barobord_byomcu/oled_ec11/rules.mk b/keyboards/fingerpunch/barobord_byomcu/oled_ec11/rules.mk deleted file mode 100644 index e2d19dfcc484..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/oled_ec11/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord_byomcu/oled_evq/config.h b/keyboards/fingerpunch/barobord_byomcu/oled_evq/config.h deleted file mode 100644 index 54ed43e07490..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/oled_evq/config.h +++ /dev/null @@ -1,29 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef FINGERPUNCH_OLED -#define FINGERPUNCH_OLED -#endif - -#ifndef FINGERPUNCH_EVQ -#define FINGERPUNCH_EVQ -#endif - -#define ENCODERS_B_REVERSE - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/barobord_byomcu/oled_evq/rules.mk b/keyboards/fingerpunch/barobord_byomcu/oled_evq/rules.mk deleted file mode 100644 index e2d19dfcc484..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/oled_evq/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord_byomcu/pimoroni/config.h b/keyboards/fingerpunch/barobord_byomcu/pimoroni/config.h deleted file mode 100644 index e94ecab67de7..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/pimoroni/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef FINGERPUNCH_PIMORONI -#define FINGERPUNCH_PIMORONI -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/barobord_byomcu/pimoroni/rules.mk b/keyboards/fingerpunch/barobord_byomcu/pimoroni/rules.mk deleted file mode 100644 index 9880edc91129..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/pimoroni/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord_byomcu/pimoroni_ec11/config.h b/keyboards/fingerpunch/barobord_byomcu/pimoroni_ec11/config.h deleted file mode 100644 index 3824353b1a4b..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/pimoroni_ec11/config.h +++ /dev/null @@ -1,27 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef FINGERPUNCH_PIMORONI -#define FINGERPUNCH_PIMORONI -#endif - -#ifndef FINGERPUNCH_EC11 -#define FINGERPUNCH_EC11 -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/barobord_byomcu/pimoroni_ec11/rules.mk b/keyboards/fingerpunch/barobord_byomcu/pimoroni_ec11/rules.mk deleted file mode 100644 index 97e71b6320c9..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/pimoroni_ec11/rules.mk +++ /dev/null @@ -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 = 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 - diff --git a/keyboards/fingerpunch/barobord_byomcu/pimoroni_evq/config.h b/keyboards/fingerpunch/barobord_byomcu/pimoroni_evq/config.h deleted file mode 100644 index 6e1f4f287ac8..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/pimoroni_evq/config.h +++ /dev/null @@ -1,29 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef FINGERPUNCH_PIMORONI -#define FINGERPUNCH_PIMORONI -#endif - -#ifndef FINGERPUNCH_EVQ -#define FINGERPUNCH_EVQ -#endif - -#define ENCODERS_B_REVERSE - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/barobord_byomcu/pimoroni_evq/rules.mk b/keyboards/fingerpunch/barobord_byomcu/pimoroni_evq/rules.mk deleted file mode 100644 index dad28b93e51c..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/pimoroni_evq/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord_byomcu/readme.md b/keyboards/fingerpunch/barobord_byomcu/readme.md index b676fbf63a4b..f28a38f143d7 100644 --- a/keyboards/fingerpunch/barobord_byomcu/readme.md +++ b/keyboards/fingerpunch/barobord_byomcu/readme.md @@ -6,32 +6,19 @@ An ergonomic 30% keyboard Barobord supports vial! Build the via keymap as shown in the commands -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_byomcu/ec11:vial - make fingerpunch/barobord_byomcu/evq:vial - make fingerpunch/barobord_byomcu/no-features:vial - make fingerpunch/barobord_byomcu/oled:vial - make fingerpunch/barobord_byomcu/oled-ec11:vial - make fingerpunch/barobord_byomcu/oled-evq:vial - make fingerpunch/barobord_byomcu/pimoroni:vial - make fingerpunch/barobord_byomcu/pimoroni-ec11:vial - make fingerpunch/barobord_byomcu/pimoroni-evq:vial - make fingerpunch/barobord_byomcu/readme.md:vial - make fingerpunch/barobord_byomcu/rgblight:vial - make fingerpunch/barobord_byomcu/rgblight-oled-ec11:vial - make fingerpunch/barobord_byomcu/rgblight-oled-evq:vial - make fingerpunch/barobord_byomcu/rgblight-pimoroni-ec11:vial - make fingerpunch/barobord_byomcu/rgblight-pimoroni-evq:vial - make fingerpunch/barobord_byomcu/rgbmatrix:vial - make fingerpunch/barobord_byomcu/rgbmatrix-oled-ec11:vial - make fingerpunch/barobord_byomcu/rgbmatrix-oled-evq:vial - make fingerpunch/barobord_byomcu/rgbmatrix-pimoroni-ec11:vial - make fingerpunch/barobord_byomcu/rgbmatrix-pimoroni-evq:vial - -Example of flashing this keyboard: - - make fingerpunch/barobord_byomcu/no-features:vial:flash +To build the firmware for this keyboard (after setting up your build environment): +``` + make fingerpunch/barobord_byomcu: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. You should be able to edit your keymap directly from your machine! diff --git a/keyboards/fingerpunch/barobord_byomcu/rgblight/config.h b/keyboards/fingerpunch/barobord_byomcu/rgblight/config.h deleted file mode 100644 index 2ba45850ed7f..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/rgblight/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef FINGERPUNCH_RGBLIGHT -#define FINGERPUNCH_RGBLIGHT -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/barobord_byomcu/rgblight/rules.mk b/keyboards/fingerpunch/barobord_byomcu/rgblight/rules.mk deleted file mode 100644 index 33c2c43ab133..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/rgblight/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord_byomcu/rgblight_oled_ec11/config.h b/keyboards/fingerpunch/barobord_byomcu/rgblight_oled_ec11/config.h deleted file mode 100644 index 7a486c8a724b..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/rgblight_oled_ec11/config.h +++ /dev/null @@ -1,32 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#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" - diff --git a/keyboards/fingerpunch/barobord_byomcu/rgblight_oled_ec11/rules.mk b/keyboards/fingerpunch/barobord_byomcu/rgblight_oled_ec11/rules.mk deleted file mode 100644 index f938a09a93b4..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/rgblight_oled_ec11/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord_byomcu/rgblight_oled_evq/config.h b/keyboards/fingerpunch/barobord_byomcu/rgblight_oled_evq/config.h deleted file mode 100644 index 325d5563ae42..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/rgblight_oled_evq/config.h +++ /dev/null @@ -1,33 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#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" diff --git a/keyboards/fingerpunch/barobord_byomcu/rgblight_oled_evq/rules.mk b/keyboards/fingerpunch/barobord_byomcu/rgblight_oled_evq/rules.mk deleted file mode 100644 index f938a09a93b4..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/rgblight_oled_evq/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord_byomcu/rgblight_pimoroni_ec11/config.h b/keyboards/fingerpunch/barobord_byomcu/rgblight_pimoroni_ec11/config.h deleted file mode 100644 index 61c4c51fc53a..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/rgblight_pimoroni_ec11/config.h +++ /dev/null @@ -1,31 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#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" diff --git a/keyboards/fingerpunch/barobord_byomcu/rgblight_pimoroni_ec11/rules.mk b/keyboards/fingerpunch/barobord_byomcu/rgblight_pimoroni_ec11/rules.mk deleted file mode 100644 index 326b810dfb49..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/rgblight_pimoroni_ec11/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord_byomcu/rgblight_pimoroni_evq/config.h b/keyboards/fingerpunch/barobord_byomcu/rgblight_pimoroni_evq/config.h deleted file mode 100644 index 4237e51a0780..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/rgblight_pimoroni_evq/config.h +++ /dev/null @@ -1,33 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#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" diff --git a/keyboards/fingerpunch/barobord_byomcu/rgblight_pimoroni_evq/rules.mk b/keyboards/fingerpunch/barobord_byomcu/rgblight_pimoroni_evq/rules.mk deleted file mode 100644 index 326b810dfb49..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/rgblight_pimoroni_evq/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord_byomcu/rgbmatrix/config.h b/keyboards/fingerpunch/barobord_byomcu/rgbmatrix/config.h deleted file mode 100644 index 9f98c0bffe3f..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/rgbmatrix/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef FINGERPUNCH_RGBMATRIX -#define FINGERPUNCH_RGBMATRIX -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/barobord_byomcu/rgbmatrix/rules.mk b/keyboards/fingerpunch/barobord_byomcu/rgbmatrix/rules.mk deleted file mode 100644 index 87455b3cc188..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/rgbmatrix/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord_byomcu/rgbmatrix_oled_ec11/config.h b/keyboards/fingerpunch/barobord_byomcu/rgbmatrix_oled_ec11/config.h deleted file mode 100644 index 2cdf35ce43ff..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/rgbmatrix_oled_ec11/config.h +++ /dev/null @@ -1,31 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#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" diff --git a/keyboards/fingerpunch/barobord_byomcu/rgbmatrix_oled_ec11/rules.mk b/keyboards/fingerpunch/barobord_byomcu/rgbmatrix_oled_ec11/rules.mk deleted file mode 100644 index 9ca96193a268..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/rgbmatrix_oled_ec11/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord_byomcu/rgbmatrix_oled_evq/config.h b/keyboards/fingerpunch/barobord_byomcu/rgbmatrix_oled_evq/config.h deleted file mode 100644 index 6085614871c6..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/rgbmatrix_oled_evq/config.h +++ /dev/null @@ -1,33 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#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" diff --git a/keyboards/fingerpunch/barobord_byomcu/rgbmatrix_oled_evq/rules.mk b/keyboards/fingerpunch/barobord_byomcu/rgbmatrix_oled_evq/rules.mk deleted file mode 100644 index 9ca96193a268..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/rgbmatrix_oled_evq/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord_byomcu/rgbmatrix_pimoroni_ec11/config.h b/keyboards/fingerpunch/barobord_byomcu/rgbmatrix_pimoroni_ec11/config.h deleted file mode 100644 index 378001aa2129..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/rgbmatrix_pimoroni_ec11/config.h +++ /dev/null @@ -1,31 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#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" diff --git a/keyboards/fingerpunch/barobord_byomcu/rgbmatrix_pimoroni_ec11/rules.mk b/keyboards/fingerpunch/barobord_byomcu/rgbmatrix_pimoroni_ec11/rules.mk deleted file mode 100644 index c40db7d2aab1..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/rgbmatrix_pimoroni_ec11/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord_byomcu/rgbmatrix_pimoroni_evq/config.h b/keyboards/fingerpunch/barobord_byomcu/rgbmatrix_pimoroni_evq/config.h deleted file mode 100644 index 400f626976ad..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/rgbmatrix_pimoroni_evq/config.h +++ /dev/null @@ -1,33 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#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" diff --git a/keyboards/fingerpunch/barobord_byomcu/rgbmatrix_pimoroni_evq/rules.mk b/keyboards/fingerpunch/barobord_byomcu/rgbmatrix_pimoroni_evq/rules.mk deleted file mode 100644 index c40db7d2aab1..000000000000 --- a/keyboards/fingerpunch/barobord_byomcu/rgbmatrix_pimoroni_evq/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/barobord_byomcu/rules.mk b/keyboards/fingerpunch/barobord_byomcu/rules.mk index cf9d1fbecdc2..13cb43a5ee05 100644 --- a/keyboards/fingerpunch/barobord_byomcu/rules.mk +++ b/keyboards/fingerpunch/barobord_byomcu/rules.mk @@ -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 @@ -34,14 +35,22 @@ UNICODE_ENABLE = no # Unicode 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 +ENCODER_ENABLE = no +OLED_ENABLE = no # 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 + CASEMODES_ENABLE = yes ifeq ($(strip $(CASEMODES_ENABLE)), yes) SRC += users/sadekbaroudi/casemodes.c endif + +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 \ No newline at end of file diff --git a/keyboards/fingerpunch/bgkeeb/fp_build.json b/keyboards/fingerpunch/bgkeeb/fp_build.json new file mode 100644 index 000000000000..86e4cf714369 --- /dev/null +++ b/keyboards/fingerpunch/bgkeeb/fp_build.json @@ -0,0 +1,12 @@ +[ + { + "type" : "single", + "name" : "RGBLIGHT_ENABLE", + "user_input": "Do you have RGB?" + }, + { + "type" : "single", + "name" : "ENCODER_ENABLE", + "user_input": "Do you have one or more rotary encoders?" + } +] \ No newline at end of file diff --git a/keyboards/fingerpunch/bgkeeb/readme.md b/keyboards/fingerpunch/bgkeeb/readme.md index 140210448133..233321d1b6ca 100644 --- a/keyboards/fingerpunch/bgkeeb/readme.md +++ b/keyboards/fingerpunch/bgkeeb/readme.md @@ -4,12 +4,15 @@ * Hardware Supported: bgkeeb PCB rev1 Pro Micro Make example for this keyboard (after setting up your build environment): - - make fingerpunch/bgkeeb:default - -Flashing example for this keyboard ([using the command line](https://docs.qmk.fm/#/newbs_flashing?id=flash-your-keyboard-from-the-command-line)): - - make fingerpunch/bgkeeb:default:flash +``` + make fingerpunch/bgkeeb:default RGBLIGHT_ENABLE=yes ENCODER_ENABLE=yes +``` + +Options are: +``` + RGBLIGHT_ENABLE=yes + ENCODER_ENABLE=yes +``` See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. diff --git a/keyboards/fingerpunch/bgkeeb/rules.mk b/keyboards/fingerpunch/bgkeeb/rules.mk index 2df50f1a1ff7..18ffd7223c33 100644 --- a/keyboards/fingerpunch/bgkeeb/rules.mk +++ b/keyboards/fingerpunch/bgkeeb/rules.mk @@ -17,9 +17,9 @@ 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 -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes +ENCODER_ENABLE = no SPLIT_KEYBOARD = yes diff --git a/keyboards/fingerpunch/bigbarobord/config.h b/keyboards/fingerpunch/bigbarobord/config.h index 58532032ec86..72a176aaaa09 100644 --- a/keyboards/fingerpunch/bigbarobord/config.h +++ b/keyboards/fingerpunch/bigbarobord/config.h @@ -25,7 +25,6 @@ along with this program. If not, see . #define PRODUCT_ID 0xFFBB #define MANUFACTURER sadekbaroudi #define PRODUCT sadekbaroudi bigbarobord -#define DESCRIPTION sadekbaroudi bigbarobord /* key matrix size */ /* Rows are doubled up */ @@ -37,7 +36,6 @@ along with this program. If not, see . { B6, F4, B5, B4, B2, B3 } #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 @@ -55,24 +53,15 @@ along with this program. If not, see . #define RGBLIGHT_VAL_STEP 16 #define RGBLIGHT_LIMIT_VAL 112 /* 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 @@ -84,39 +73,39 @@ along with this program. If not, see . #define RGB_MATRIX_FRAMEBUFFER_EFFECTS #define RGB_MATRIX_KEYREACTIVE_ENABLED #define ENABLE_RGB_MATRIX_ALPHAS_MODS - // #define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN - // #define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT + #define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN + #define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT #define ENABLE_RGB_MATRIX_BREATHING #define ENABLE_RGB_MATRIX_BAND_SAT #define ENABLE_RGB_MATRIX_BAND_VAL - // #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT - // #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL - // #define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT - // #define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL - // #define ENABLE_RGB_MATRIX_CYCLE_ALL + #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT + #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL + #define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT + #define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL + #define ENABLE_RGB_MATRIX_CYCLE_ALL #define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT #define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN - // #define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON + #define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON #define ENABLE_RGB_MATRIX_DUAL_BEACON - // #define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL - // #define ENABLE_RGB_MATRIX_CYCLE_SPIRAL - // #define ENABLE_RGB_MATRIX_RAINBOW_BEACON - // #define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS - // #define ENABLE_RGB_MATRIX_RAINDROPS - // #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS - // #define ENABLE_RGB_MATRIX_DIGITAL_RAIN + #define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL + #define ENABLE_RGB_MATRIX_CYCLE_SPIRAL + #define ENABLE_RGB_MATRIX_RAINBOW_BEACON + #define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS + #define ENABLE_RGB_MATRIX_RAINDROPS + #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS + #define ENABLE_RGB_MATRIX_DIGITAL_RAIN #define ENABLE_RGB_MATRIX_SOLID_REACTIVE #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE - // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE - // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE - // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS - // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS - // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS - // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS - // #define ENABLE_RGB_MATRIX_SPLASH - // #define ENABLE_RGB_MATRIX_MULTISPLASH - // #define ENABLE_RGB_MATRIX_SOLID_SPLASH - // #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS + #define ENABLE_RGB_MATRIX_SPLASH + #define ENABLE_RGB_MATRIX_MULTISPLASH + #define ENABLE_RGB_MATRIX_SOLID_SPLASH + #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH #endif #define ENCODERS_PAD_A {D1} diff --git a/keyboards/fingerpunch/bigbarobord/ec11/config.h b/keyboards/fingerpunch/bigbarobord/ec11/config.h deleted file mode 100644 index f97f7e8c5fd7..000000000000 --- a/keyboards/fingerpunch/bigbarobord/ec11/config.h +++ /dev/null @@ -1,25 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#define ENCODERS_C_REVERSE - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/bigbarobord/ec11/rules.mk b/keyboards/fingerpunch/bigbarobord/ec11/rules.mk deleted file mode 100644 index 51c7c8e9b70d..000000000000 --- a/keyboards/fingerpunch/bigbarobord/ec11/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# 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 diff --git a/keyboards/fingerpunch/bigbarobord/evq/config.h b/keyboards/fingerpunch/bigbarobord/evq/config.h deleted file mode 100644 index d9ca5022a3e1..000000000000 --- a/keyboards/fingerpunch/bigbarobord/evq/config.h +++ /dev/null @@ -1,26 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE -#define ENCODERS_B_REVERSE - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/bigbarobord/evq/rules.mk b/keyboards/fingerpunch/bigbarobord/evq/rules.mk deleted file mode 100644 index 51c7c8e9b70d..000000000000 --- a/keyboards/fingerpunch/bigbarobord/evq/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# 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 diff --git a/keyboards/fingerpunch/bigbarobord/fp_build.json b/keyboards/fingerpunch/bigbarobord/fp_build.json new file mode 100644 index 000000000000..07c80e3d4956 --- /dev/null +++ b/keyboards/fingerpunch/bigbarobord/fp_build.json @@ -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?" + } +] \ No newline at end of file diff --git a/keyboards/fingerpunch/bigbarobord/no_features/config.h b/keyboards/fingerpunch/bigbarobord/no_features/config.h deleted file mode 100644 index 2665925400d4..000000000000 --- a/keyboards/fingerpunch/bigbarobord/no_features/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#pragma once -#include "config_common.h" - diff --git a/keyboards/fingerpunch/bigbarobord/no_features/rules.mk b/keyboards/fingerpunch/bigbarobord/no_features/rules.mk deleted file mode 100644 index c6dcb2402616..000000000000 --- a/keyboards/fingerpunch/bigbarobord/no_features/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# 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 diff --git a/keyboards/fingerpunch/bigbarobord/oled/config.h b/keyboards/fingerpunch/bigbarobord/oled/config.h deleted file mode 100644 index 8a31245df6dd..000000000000 --- a/keyboards/fingerpunch/bigbarobord/oled/config.h +++ /dev/null @@ -1,26 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#undef ENCODERS_PAD_A -#undef ENCODERS_PAD_B - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/bigbarobord/oled/rules.mk b/keyboards/fingerpunch/bigbarobord/oled/rules.mk deleted file mode 100644 index 0691c6f6410b..000000000000 --- a/keyboards/fingerpunch/bigbarobord/oled/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/bigbarobord/pimoroni/config.h b/keyboards/fingerpunch/bigbarobord/pimoroni/config.h deleted file mode 100644 index 6acef750e918..000000000000 --- a/keyboards/fingerpunch/bigbarobord/pimoroni/config.h +++ /dev/null @@ -1,26 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_PIMORONI -#define XOIVIOX_PIMORONI -#endif - -#undef ENCODERS_PAD_A -#undef ENCODERS_PAD_B - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/bigbarobord/pimoroni/rules.mk b/keyboards/fingerpunch/bigbarobord/pimoroni/rules.mk deleted file mode 100644 index fb958f89187d..000000000000 --- a/keyboards/fingerpunch/bigbarobord/pimoroni/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# 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 diff --git a/keyboards/fingerpunch/bigbarobord/readme.md b/keyboards/fingerpunch/bigbarobord/readme.md index 54b26e1f7d2d..1fcb3b952d63 100644 --- a/keyboards/fingerpunch/bigbarobord/readme.md +++ b/keyboards/fingerpunch/bigbarobord/readme.md @@ -7,25 +7,17 @@ An ergonomic 50% keyboard Big Barobord Make example for this keyboard (after setting up your build environment): - - make fingerpunch/bigbarobord/ec11:default - make fingerpunch/bigbarobord/evq:default - make fingerpunch/bigbarobord/no_features:default - make fingerpunch/bigbarobord/oled:default - make fingerpunch/bigbarobord/pimoroni:default - make fingerpunch/bigbarobord/rgblight:default - make fingerpunch/bigbarobord/rgblight_ec11:default - make fingerpunch/bigbarobord/rgblight_evq:default - make fingerpunch/bigbarobord/rgblight_oled:default - make fingerpunch/bigbarobord/rgblight_pimoroni:default - make fingerpunch/bigbarobord/rgbmatrix:default - make fingerpunch/bigbarobord/rgbmatrix_ec11:default - make fingerpunch/bigbarobord/rgbmatrix_evq:default - make fingerpunch/bigbarobord/rgbmatrix_oled:default - make fingerpunch/bigbarobord/rgbmatrix_pimoroni:default - -Example of flashing this keyboard: - - make fingerpunch/bigbarobord/rgblight_oled:default:flash +``` + make fingerpunch/bigbarobord: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 +``` See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/fingerpunch/bigbarobord/rgblight/config.h b/keyboards/fingerpunch/bigbarobord/rgblight/config.h deleted file mode 100644 index 64579bc0166d..000000000000 --- a/keyboards/fingerpunch/bigbarobord/rgblight/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/bigbarobord/rgblight/rules.mk b/keyboards/fingerpunch/bigbarobord/rgblight/rules.mk deleted file mode 100644 index d89358af2b07..000000000000 --- a/keyboards/fingerpunch/bigbarobord/rgblight/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# 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 diff --git a/keyboards/fingerpunch/bigbarobord/rgblight_ec11/config.h b/keyboards/fingerpunch/bigbarobord/rgblight_ec11/config.h deleted file mode 100644 index 9a8db4ff0d30..000000000000 --- a/keyboards/fingerpunch/bigbarobord/rgblight_ec11/config.h +++ /dev/null @@ -1,29 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#define ENCODERS_C_REVERSE - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/bigbarobord/rgblight_ec11/rules.mk b/keyboards/fingerpunch/bigbarobord/rgblight_ec11/rules.mk deleted file mode 100644 index 3edb19fd0ee8..000000000000 --- a/keyboards/fingerpunch/bigbarobord/rgblight_ec11/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# 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 = 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 diff --git a/keyboards/fingerpunch/bigbarobord/rgblight_evq/config.h b/keyboards/fingerpunch/bigbarobord/rgblight_evq/config.h deleted file mode 100644 index 59600236273e..000000000000 --- a/keyboards/fingerpunch/bigbarobord/rgblight_evq/config.h +++ /dev/null @@ -1,30 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE true -#define ENCODERS_B_REVERSE true - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/bigbarobord/rgblight_evq/rules.mk b/keyboards/fingerpunch/bigbarobord/rgblight_evq/rules.mk deleted file mode 100644 index 3edb19fd0ee8..000000000000 --- a/keyboards/fingerpunch/bigbarobord/rgblight_evq/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# 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 = 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 diff --git a/keyboards/fingerpunch/bigbarobord/rgblight_oled/config.h b/keyboards/fingerpunch/bigbarobord/rgblight_oled/config.h deleted file mode 100644 index e0b25aca4e2a..000000000000 --- a/keyboards/fingerpunch/bigbarobord/rgblight_oled/config.h +++ /dev/null @@ -1,30 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#undef ENCODERS_PAD_A -#undef ENCODERS_PAD_B - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/bigbarobord/rgblight_oled/rules.mk b/keyboards/fingerpunch/bigbarobord/rgblight_oled/rules.mk deleted file mode 100644 index ee06510f39a6..000000000000 --- a/keyboards/fingerpunch/bigbarobord/rgblight_oled/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = yes -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/bigbarobord/rgblight_pimoroni/config.h b/keyboards/fingerpunch/bigbarobord/rgblight_pimoroni/config.h deleted file mode 100644 index 77a7c9705fdb..000000000000 --- a/keyboards/fingerpunch/bigbarobord/rgblight_pimoroni/config.h +++ /dev/null @@ -1,30 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_PIMORONI -#define XOIVIOX_PIMORONI -#endif - -#undef ENCODERS_PAD_A -#undef ENCODERS_PAD_B - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/bigbarobord/rgblight_pimoroni/rules.mk b/keyboards/fingerpunch/bigbarobord/rgblight_pimoroni/rules.mk deleted file mode 100644 index 66fc5b8e8e8f..000000000000 --- a/keyboards/fingerpunch/bigbarobord/rgblight_pimoroni/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# 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 = no - -ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes) - POINTING_DEVICE_ENABLE := yes - POINTING_DEVICE_DRIVER = pimoroni_trackball - OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE -endif diff --git a/keyboards/fingerpunch/bigbarobord/rgbmatrix/config.h b/keyboards/fingerpunch/bigbarobord/rgbmatrix/config.h deleted file mode 100644 index 7efaf36db9c0..000000000000 --- a/keyboards/fingerpunch/bigbarobord/rgbmatrix/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/bigbarobord/rgbmatrix/rules.mk b/keyboards/fingerpunch/bigbarobord/rgbmatrix/rules.mk deleted file mode 100644 index 7b9b02c58d08..000000000000 --- a/keyboards/fingerpunch/bigbarobord/rgbmatrix/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# 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 diff --git a/keyboards/fingerpunch/bigbarobord/rgbmatrix_ec11/config.h b/keyboards/fingerpunch/bigbarobord/rgbmatrix_ec11/config.h deleted file mode 100644 index 4c48e40746ad..000000000000 --- a/keyboards/fingerpunch/bigbarobord/rgbmatrix_ec11/config.h +++ /dev/null @@ -1,29 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#define ENCODERS_C_REVERSE - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/bigbarobord/rgbmatrix_ec11/rules.mk b/keyboards/fingerpunch/bigbarobord/rgbmatrix_ec11/rules.mk deleted file mode 100644 index 862c80855ad2..000000000000 --- a/keyboards/fingerpunch/bigbarobord/rgbmatrix_ec11/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# 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 = 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 diff --git a/keyboards/fingerpunch/bigbarobord/rgbmatrix_evq/config.h b/keyboards/fingerpunch/bigbarobord/rgbmatrix_evq/config.h deleted file mode 100644 index 31b81fc9d20e..000000000000 --- a/keyboards/fingerpunch/bigbarobord/rgbmatrix_evq/config.h +++ /dev/null @@ -1,30 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE true -#define ENCODERS_B_REVERSE true - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/bigbarobord/rgbmatrix_evq/rules.mk b/keyboards/fingerpunch/bigbarobord/rgbmatrix_evq/rules.mk deleted file mode 100644 index 862c80855ad2..000000000000 --- a/keyboards/fingerpunch/bigbarobord/rgbmatrix_evq/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# 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 = 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 diff --git a/keyboards/fingerpunch/bigbarobord/rgbmatrix_oled/config.h b/keyboards/fingerpunch/bigbarobord/rgbmatrix_oled/config.h deleted file mode 100644 index 277ab2e5a2c7..000000000000 --- a/keyboards/fingerpunch/bigbarobord/rgbmatrix_oled/config.h +++ /dev/null @@ -1,30 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#undef ENCODERS_PAD_A -#undef ENCODERS_PAD_B - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/bigbarobord/rgbmatrix_oled/rules.mk b/keyboards/fingerpunch/bigbarobord/rgbmatrix_oled/rules.mk deleted file mode 100644 index 4a8489f025bc..000000000000 --- a/keyboards/fingerpunch/bigbarobord/rgbmatrix_oled/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = yes -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/bigbarobord/rgbmatrix_pimoroni/config.h b/keyboards/fingerpunch/bigbarobord/rgbmatrix_pimoroni/config.h deleted file mode 100644 index ff48287f4c41..000000000000 --- a/keyboards/fingerpunch/bigbarobord/rgbmatrix_pimoroni/config.h +++ /dev/null @@ -1,30 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_PIMORONI -#define XOIVIOX_PIMORONI -#endif - -#undef ENCODERS_PAD_A -#undef ENCODERS_PAD_B - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/bigbarobord/rgbmatrix_pimoroni/rules.mk b/keyboards/fingerpunch/bigbarobord/rgbmatrix_pimoroni/rules.mk deleted file mode 100644 index 00f3fc675cb4..000000000000 --- a/keyboards/fingerpunch/bigbarobord/rgbmatrix_pimoroni/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# 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 = no - -ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes) - POINTING_DEVICE_ENABLE := yes - POINTING_DEVICE_DRIVER = pimoroni_trackball - OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE -endif diff --git a/keyboards/fingerpunch/bigbarobord/rules.mk b/keyboards/fingerpunch/bigbarobord/rules.mk index dcedfd9c7768..3e9921b5e0de 100644 --- a/keyboards/fingerpunch/bigbarobord/rules.mk +++ b/keyboards/fingerpunch/bigbarobord/rules.mk @@ -25,8 +25,8 @@ NKRO_ENABLE = no # USB Nkey Rollover BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality # 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 @@ -34,9 +34,16 @@ UNICODE_ENABLE = no # Unicode 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 - # for instance, if you build "no_features", it's very unlikely you'll need to disable macros +ENCODER_ENABLE = no +OLED_ENABLE = no # 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 + 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 \ No newline at end of file diff --git a/keyboards/fingerpunch/euclid36/rules.mk b/keyboards/fingerpunch/euclid36/rules.mk index e745c6b6a561..23eed92d8b32 100644 --- a/keyboards/fingerpunch/euclid36/rules.mk +++ b/keyboards/fingerpunch/euclid36/rules.mk @@ -31,7 +31,7 @@ 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 +OLED_ENABLE = yes THUMBSTICK_ENABLE = yes ifeq ($(strip $(THUMBSTICK_ENABLE)), yes) diff --git a/keyboards/fingerpunch/ffkb/config.h b/keyboards/fingerpunch/ffkb/config.h index 610b8339df9b..0658e4af78c6 100644 --- a/keyboards/fingerpunch/ffkb/config.h +++ b/keyboards/fingerpunch/ffkb/config.h @@ -26,7 +26,6 @@ along with this program. If not, see . //#define DEVICE_VER 0x0001 // Now defined in the revX/config.h #define MANUFACTURER sadekbaroudi #define PRODUCT sadekbaroudi ffkb -#define DESCRIPTION sadekbaroudi ffkb /* key matrix size */ /* Rows are doubled up */ @@ -35,10 +34,9 @@ along with this program. If not, see . // wiring #define MATRIX_ROW_PINS \ - { B0, B1, C6, B6 } // 8, 9, 31, 30 + { B0, B1, C6, B6 } #define MATRIX_COL_PINS \ - { F4, F6, F5, F7, F1, B3, B2, D2, D3, D5, B5, B7 } // 39, 37, 38, 36, 40, 11, 10, 20, 21, 22, 29, 12 -#define UNUSED_PINS + { F4, F6, F5, F7, F1, B3, B2, D2, D3, D5, B5, B7 } /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ #define DEBOUNCE 5 @@ -56,24 +54,15 @@ along with this program. If not, see . #define RGBLIGHT_VAL_STEP 16 #define RGBLIGHT_LIMIT_VAL 112 /* 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 @@ -85,39 +74,39 @@ along with this program. If not, see . #define RGB_MATRIX_FRAMEBUFFER_EFFECTS #define RGB_MATRIX_KEYREACTIVE_ENABLED #define ENABLE_RGB_MATRIX_ALPHAS_MODS - // #define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN - // #define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT + #define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN + #define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT #define ENABLE_RGB_MATRIX_BREATHING #define ENABLE_RGB_MATRIX_BAND_SAT #define ENABLE_RGB_MATRIX_BAND_VAL - // #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT - // #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL - // #define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT - // #define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL - // #define ENABLE_RGB_MATRIX_CYCLE_ALL + #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT + #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL + #define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT + #define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL + #define ENABLE_RGB_MATRIX_CYCLE_ALL #define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT #define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN - // #define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON + #define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON #define ENABLE_RGB_MATRIX_DUAL_BEACON - // #define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL - // #define ENABLE_RGB_MATRIX_CYCLE_SPIRAL - // #define ENABLE_RGB_MATRIX_RAINBOW_BEACON - // #define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS - // #define ENABLE_RGB_MATRIX_RAINDROPS - // #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS - // #define ENABLE_RGB_MATRIX_DIGITAL_RAIN + #define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL + #define ENABLE_RGB_MATRIX_CYCLE_SPIRAL + #define ENABLE_RGB_MATRIX_RAINBOW_BEACON + #define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS + #define ENABLE_RGB_MATRIX_RAINDROPS + #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS + #define ENABLE_RGB_MATRIX_DIGITAL_RAIN #define ENABLE_RGB_MATRIX_SOLID_REACTIVE #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE - // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE - // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE - // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS - // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS - // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS - // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS - // #define ENABLE_RGB_MATRIX_SPLASH - // #define ENABLE_RGB_MATRIX_MULTISPLASH - // #define ENABLE_RGB_MATRIX_SOLID_SPLASH - // #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS + #define ENABLE_RGB_MATRIX_SPLASH + #define ENABLE_RGB_MATRIX_MULTISPLASH + #define ENABLE_RGB_MATRIX_SOLID_SPLASH + #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH #endif // SDA, 27, 25 @@ -127,9 +116,23 @@ along with this program. If not, see . // 28, 28, 26 #define ENCODERS_PAD_B {B4, D6, D0} +#ifdef FP_EVQ_UNDER_PALMS +#define ENCODERS_A_REVERSE +#define ENCODERS_B_REVERSE +#endif + +#ifdef FP_EC11_UNDER_PALMS +#define ENCODERS_C_REVERSE +#endif + +#if defined(OLED_ENABLE) || defined(PIMORONI_TRACKBALL_ENABLE) +#undef ENCODERS_PAD_A +#define ENCODERS_PAD_A {D7, D4} +#undef ENCODERS_PAD_B +#define ENCODERS_PAD_B {B4, D6} +#endif + #define ENCODER_RESOLUTION 2 -// Per encoder settings -//#define ENCODER_RESOLUTIONS { 2, 2 } /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/fingerpunch/ffkb/ec11/config.h b/keyboards/fingerpunch/ffkb/ec11/config.h deleted file mode 100644 index f97f7e8c5fd7..000000000000 --- a/keyboards/fingerpunch/ffkb/ec11/config.h +++ /dev/null @@ -1,25 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#define ENCODERS_C_REVERSE - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/ec11/rules.mk b/keyboards/fingerpunch/ffkb/ec11/rules.mk deleted file mode 100644 index bf59a319db9a..000000000000 --- a/keyboards/fingerpunch/ffkb/ec11/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/ffkb/ec11_evq/config.h b/keyboards/fingerpunch/ffkb/ec11_evq/config.h deleted file mode 100644 index 43a073fb6b22..000000000000 --- a/keyboards/fingerpunch/ffkb/ec11_evq/config.h +++ /dev/null @@ -1,30 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE -#define ENCODERS_B_REVERSE - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/ec11_evq/rules.mk b/keyboards/fingerpunch/ffkb/ec11_evq/rules.mk deleted file mode 100644 index bf59a319db9a..000000000000 --- a/keyboards/fingerpunch/ffkb/ec11_evq/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/ffkb/evq/config.h b/keyboards/fingerpunch/ffkb/evq/config.h deleted file mode 100644 index d9ca5022a3e1..000000000000 --- a/keyboards/fingerpunch/ffkb/evq/config.h +++ /dev/null @@ -1,26 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE -#define ENCODERS_B_REVERSE - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/evq/rules.mk b/keyboards/fingerpunch/ffkb/evq/rules.mk deleted file mode 100644 index bf59a319db9a..000000000000 --- a/keyboards/fingerpunch/ffkb/evq/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/ffkb/fp_build.json b/keyboards/fingerpunch/ffkb/fp_build.json new file mode 100644 index 000000000000..38ef3f0c4240 --- /dev/null +++ b/keyboards/fingerpunch/ffkb/fp_build.json @@ -0,0 +1,27 @@ +[ + { + "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" : "FP_EC11_CENTER", + "user_input": "Do you have an EC11 in the center?" + }, + { + "type" : "one-of", + "names" : [ "FP_EC11_UNDER_PALMS", "FP_EVQ_UNDER_PALMS" ], + "user_input": "No under palm encoders, EC11, or EVQ?" + }, + { + "type" : "single", + "name" : "PIMORONI_TRACKBALL_ENABLE", + "user_input": "Do you have a pimoroni trackball?" + } +] \ No newline at end of file diff --git a/keyboards/fingerpunch/ffkb/no_features/config.h b/keyboards/fingerpunch/ffkb/no_features/config.h deleted file mode 100644 index 2665925400d4..000000000000 --- a/keyboards/fingerpunch/ffkb/no_features/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#pragma once -#include "config_common.h" - diff --git a/keyboards/fingerpunch/ffkb/no_features/rules.mk b/keyboards/fingerpunch/ffkb/no_features/rules.mk deleted file mode 100644 index 38edc894a4cd..000000000000 --- a/keyboards/fingerpunch/ffkb/no_features/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/ffkb/oled/config.h b/keyboards/fingerpunch/ffkb/oled/config.h deleted file mode 100644 index 641c2863fb85..000000000000 --- a/keyboards/fingerpunch/ffkb/oled/config.h +++ /dev/null @@ -1,28 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D7, D4} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B4, D6} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/oled/rules.mk b/keyboards/fingerpunch/ffkb/oled/rules.mk deleted file mode 100644 index 123064d22714..000000000000 --- a/keyboards/fingerpunch/ffkb/oled/rules.mk +++ /dev/null @@ -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_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 diff --git a/keyboards/fingerpunch/ffkb/oled_ec11/config.h b/keyboards/fingerpunch/ffkb/oled_ec11/config.h deleted file mode 100644 index 2abde390b6ab..000000000000 --- a/keyboards/fingerpunch/ffkb/oled_ec11/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#define ENCODERS_C_REVERSE - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D7, D4} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B4, D6} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/oled_ec11/rules.mk b/keyboards/fingerpunch/ffkb/oled_ec11/rules.mk deleted file mode 100644 index f248cb208122..000000000000 --- a/keyboards/fingerpunch/ffkb/oled_ec11/rules.mk +++ /dev/null @@ -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_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 diff --git a/keyboards/fingerpunch/ffkb/oled_evq/config.h b/keyboards/fingerpunch/ffkb/oled_evq/config.h deleted file mode 100644 index b3e410943655..000000000000 --- a/keyboards/fingerpunch/ffkb/oled_evq/config.h +++ /dev/null @@ -1,35 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE -#define ENCODERS_B_REVERSE - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D7, D4} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B4, D6} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/oled_evq/rules.mk b/keyboards/fingerpunch/ffkb/oled_evq/rules.mk deleted file mode 100644 index f248cb208122..000000000000 --- a/keyboards/fingerpunch/ffkb/oled_evq/rules.mk +++ /dev/null @@ -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_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 diff --git a/keyboards/fingerpunch/ffkb/pimoroni/config.h b/keyboards/fingerpunch/ffkb/pimoroni/config.h deleted file mode 100644 index 87884ae93c42..000000000000 --- a/keyboards/fingerpunch/ffkb/pimoroni/config.h +++ /dev/null @@ -1,28 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_PIMORONI -#define XOIVIOX_PIMORONI -#endif - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D7, D4} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B4, D6} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/pimoroni/rules.mk b/keyboards/fingerpunch/ffkb/pimoroni/rules.mk deleted file mode 100644 index 9880edc91129..000000000000 --- a/keyboards/fingerpunch/ffkb/pimoroni/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/ffkb/pimoroni_ec11/config.h b/keyboards/fingerpunch/ffkb/pimoroni_ec11/config.h deleted file mode 100644 index 0d557cb64f83..000000000000 --- a/keyboards/fingerpunch/ffkb/pimoroni_ec11/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_PIMORONI -#define XOIVIOX_PIMORONI -#endif - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#define ENCODERS_C_REVERSE - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D7, D4} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B4, D6} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/pimoroni_ec11/rules.mk b/keyboards/fingerpunch/ffkb/pimoroni_ec11/rules.mk deleted file mode 100644 index dad28b93e51c..000000000000 --- a/keyboards/fingerpunch/ffkb/pimoroni_ec11/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/ffkb/pimoroni_evq/config.h b/keyboards/fingerpunch/ffkb/pimoroni_evq/config.h deleted file mode 100644 index bc94c964954a..000000000000 --- a/keyboards/fingerpunch/ffkb/pimoroni_evq/config.h +++ /dev/null @@ -1,35 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_PIMORONI -#define XOIVIOX_PIMORONI -#endif - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE -#define ENCODERS_B_REVERSE - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D7, D4} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B4, D6} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/pimoroni_evq/rules.mk b/keyboards/fingerpunch/ffkb/pimoroni_evq/rules.mk deleted file mode 100644 index dad28b93e51c..000000000000 --- a/keyboards/fingerpunch/ffkb/pimoroni_evq/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/ffkb/readme.md b/keyboards/fingerpunch/ffkb/readme.md index 615000b45428..aaafb1e9d0cc 100644 --- a/keyboards/fingerpunch/ffkb/readme.md +++ b/keyboards/fingerpunch/ffkb/readme.md @@ -7,40 +7,19 @@ An ergonomic 30% keyboard Faux fox keyboard (ffkb) Make example for this keyboard (after setting up your build environment): - - make fingerpunch/ffkb/ec11:default - make fingerpunch/ffkb/ec11_evq:default - make fingerpunch/ffkb/evq:default - make fingerpunch/ffkb/no_features:default - make fingerpunch/ffkb/oled:default - make fingerpunch/ffkb/oled_ec11:default - make fingerpunch/ffkb/oled_evq:default - make fingerpunch/ffkb/pimoroni:default - make fingerpunch/ffkb/pimoroni_ec11:default - make fingerpunch/ffkb/pimoroni_evq:default - make fingerpunch/ffkb/rgblight:default - make fingerpunch/ffkb/rgblight_ec11:default - make fingerpunch/ffkb/rgblight_ec11_evq:default - make fingerpunch/ffkb/rgblight_evq:default - make fingerpunch/ffkb/rgblight_oled:default - make fingerpunch/ffkb/rgblight_oled_ec11:default - make fingerpunch/ffkb/rgblight_oled_evq:default - make fingerpunch/ffkb/rgblight_pimoroni:default - make fingerpunch/ffkb/rgblight_pimoroni_ec11:default - make fingerpunch/ffkb/rgblight_pimoroni_evq:default - make fingerpunch/ffkb/rgbmatrix:default - make fingerpunch/ffkb/rgbmatrix_ec11:default - make fingerpunch/ffkb/rgbmatrix_ec11_evq:default - make fingerpunch/ffkb/rgbmatrix_evq:default - make fingerpunch/ffkb/rgbmatrix_oled:default - make fingerpunch/ffkb/rgbmatrix_oled_ec11:default - make fingerpunch/ffkb/rgbmatrix_oled_evq:default - make fingerpunch/ffkb/rgbmatrix_pimoroni:default - make fingerpunch/ffkb/rgbmatrix_pimoroni_ec11:default - make fingerpunch/ffkb/rgbmatrix_pimoroni_evq:default - -Example of flashing this keyboard: - - make fingerpunch/ffkb/rgblight_oled_ec11:default:flash +``` + make fingerpunch/ffkb:default RGBLIGHT_ENABLE=yes FP_EC11_UNDER_PALMS=yes PIMORONI_TRACKBALL_ENABLE=yes +``` + +Options are: +``` + RGBLIGHT_ENABLE=yes + RGB_MATRIX_ENABLE=yes + OLED_ENABLE=yes + FP_EC11_CENTER=yes + FP_EC11_UNDER_PALMS=yes + FP_EVQ_UNDER_PALMS=yes + PIMORONI_TRACKBALL_ENABLE=yes +``` See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/fingerpunch/ffkb/rgblight/config.h b/keyboards/fingerpunch/ffkb/rgblight/config.h deleted file mode 100644 index 64579bc0166d..000000000000 --- a/keyboards/fingerpunch/ffkb/rgblight/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/rgblight/rules.mk b/keyboards/fingerpunch/ffkb/rgblight/rules.mk deleted file mode 100644 index 33c2c43ab133..000000000000 --- a/keyboards/fingerpunch/ffkb/rgblight/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/ffkb/rgblight_ec11/config.h b/keyboards/fingerpunch/ffkb/rgblight_ec11/config.h deleted file mode 100644 index 9a8db4ff0d30..000000000000 --- a/keyboards/fingerpunch/ffkb/rgblight_ec11/config.h +++ /dev/null @@ -1,29 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#define ENCODERS_C_REVERSE - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/rgblight_ec11/rules.mk b/keyboards/fingerpunch/ffkb/rgblight_ec11/rules.mk deleted file mode 100644 index ce562e393f31..000000000000 --- a/keyboards/fingerpunch/ffkb/rgblight_ec11/rules.mk +++ /dev/null @@ -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 = 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 diff --git a/keyboards/fingerpunch/ffkb/rgblight_ec11_evq/config.h b/keyboards/fingerpunch/ffkb/rgblight_ec11_evq/config.h deleted file mode 100644 index b406f7b886c7..000000000000 --- a/keyboards/fingerpunch/ffkb/rgblight_ec11_evq/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE true -#define ENCODERS_B_REVERSE true - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/rgblight_ec11_evq/rules.mk b/keyboards/fingerpunch/ffkb/rgblight_ec11_evq/rules.mk deleted file mode 100644 index ce562e393f31..000000000000 --- a/keyboards/fingerpunch/ffkb/rgblight_ec11_evq/rules.mk +++ /dev/null @@ -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 = 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 diff --git a/keyboards/fingerpunch/ffkb/rgblight_evq/config.h b/keyboards/fingerpunch/ffkb/rgblight_evq/config.h deleted file mode 100644 index 59600236273e..000000000000 --- a/keyboards/fingerpunch/ffkb/rgblight_evq/config.h +++ /dev/null @@ -1,30 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE true -#define ENCODERS_B_REVERSE true - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/rgblight_evq/rules.mk b/keyboards/fingerpunch/ffkb/rgblight_evq/rules.mk deleted file mode 100644 index ce562e393f31..000000000000 --- a/keyboards/fingerpunch/ffkb/rgblight_evq/rules.mk +++ /dev/null @@ -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 = 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 diff --git a/keyboards/fingerpunch/ffkb/rgblight_oled/config.h b/keyboards/fingerpunch/ffkb/rgblight_oled/config.h deleted file mode 100644 index 76e0fcb66d99..000000000000 --- a/keyboards/fingerpunch/ffkb/rgblight_oled/config.h +++ /dev/null @@ -1,32 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D7, D4} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B4, D6} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/rgblight_oled/rules.mk b/keyboards/fingerpunch/ffkb/rgblight_oled/rules.mk deleted file mode 100644 index f04575f8a30f..000000000000 --- a/keyboards/fingerpunch/ffkb/rgblight_oled/rules.mk +++ /dev/null @@ -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_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 diff --git a/keyboards/fingerpunch/ffkb/rgblight_oled_ec11/config.h b/keyboards/fingerpunch/ffkb/rgblight_oled_ec11/config.h deleted file mode 100644 index 151d3de8a3be..000000000000 --- a/keyboards/fingerpunch/ffkb/rgblight_oled_ec11/config.h +++ /dev/null @@ -1,38 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#define ENCODERS_C_REVERSE - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D7, D4} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B4, D6} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/rgblight_oled_ec11/rules.mk b/keyboards/fingerpunch/ffkb/rgblight_oled_ec11/rules.mk deleted file mode 100644 index 1159805b74fa..000000000000 --- a/keyboards/fingerpunch/ffkb/rgblight_oled_ec11/rules.mk +++ /dev/null @@ -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_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 diff --git a/keyboards/fingerpunch/ffkb/rgblight_oled_evq/config.h b/keyboards/fingerpunch/ffkb/rgblight_oled_evq/config.h deleted file mode 100644 index 7c8fcc702d04..000000000000 --- a/keyboards/fingerpunch/ffkb/rgblight_oled_evq/config.h +++ /dev/null @@ -1,39 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE true -#define ENCODERS_B_REVERSE true - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D7, D4} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B4, D6} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/rgblight_oled_evq/rules.mk b/keyboards/fingerpunch/ffkb/rgblight_oled_evq/rules.mk deleted file mode 100644 index 1159805b74fa..000000000000 --- a/keyboards/fingerpunch/ffkb/rgblight_oled_evq/rules.mk +++ /dev/null @@ -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_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 diff --git a/keyboards/fingerpunch/ffkb/rgblight_pimoroni/config.h b/keyboards/fingerpunch/ffkb/rgblight_pimoroni/config.h deleted file mode 100644 index 0f131f9e2ae6..000000000000 --- a/keyboards/fingerpunch/ffkb/rgblight_pimoroni/config.h +++ /dev/null @@ -1,32 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_PIMORONI -#define XOIVIOX_PIMORONI -#endif - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D7, D4} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B4, D6} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/rgblight_pimoroni/rules.mk b/keyboards/fingerpunch/ffkb/rgblight_pimoroni/rules.mk deleted file mode 100644 index 1ba0ee581511..000000000000 --- a/keyboards/fingerpunch/ffkb/rgblight_pimoroni/rules.mk +++ /dev/null @@ -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 = no - -ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes) - POINTING_DEVICE_ENABLE := yes - POINTING_DEVICE_DRIVER = pimoroni_trackball - OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE -endif diff --git a/keyboards/fingerpunch/ffkb/rgblight_pimoroni_ec11/config.h b/keyboards/fingerpunch/ffkb/rgblight_pimoroni_ec11/config.h deleted file mode 100644 index 4ba9e5ac22e5..000000000000 --- a/keyboards/fingerpunch/ffkb/rgblight_pimoroni_ec11/config.h +++ /dev/null @@ -1,38 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_PIMORONI -#define XOIVIOX_PIMORONI -#endif - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#define ENCODERS_C_REVERSE - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D7, D4} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B4, D6} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/rgblight_pimoroni_ec11/rules.mk b/keyboards/fingerpunch/ffkb/rgblight_pimoroni_ec11/rules.mk deleted file mode 100644 index 326b810dfb49..000000000000 --- a/keyboards/fingerpunch/ffkb/rgblight_pimoroni_ec11/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/ffkb/rgblight_pimoroni_evq/config.h b/keyboards/fingerpunch/ffkb/rgblight_pimoroni_evq/config.h deleted file mode 100644 index f90e52f04c87..000000000000 --- a/keyboards/fingerpunch/ffkb/rgblight_pimoroni_evq/config.h +++ /dev/null @@ -1,39 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_PIMORONI -#define XOIVIOX_PIMORONI -#endif - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE true -#define ENCODERS_B_REVERSE true - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D7, D4} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B4, D6} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/rgblight_pimoroni_evq/rules.mk b/keyboards/fingerpunch/ffkb/rgblight_pimoroni_evq/rules.mk deleted file mode 100644 index 326b810dfb49..000000000000 --- a/keyboards/fingerpunch/ffkb/rgblight_pimoroni_evq/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/ffkb/rgbmatrix/config.h b/keyboards/fingerpunch/ffkb/rgbmatrix/config.h deleted file mode 100644 index 7efaf36db9c0..000000000000 --- a/keyboards/fingerpunch/ffkb/rgbmatrix/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/rgbmatrix/rules.mk b/keyboards/fingerpunch/ffkb/rgbmatrix/rules.mk deleted file mode 100644 index 87455b3cc188..000000000000 --- a/keyboards/fingerpunch/ffkb/rgbmatrix/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/ffkb/rgbmatrix_ec11/config.h b/keyboards/fingerpunch/ffkb/rgbmatrix_ec11/config.h deleted file mode 100644 index 4c48e40746ad..000000000000 --- a/keyboards/fingerpunch/ffkb/rgbmatrix_ec11/config.h +++ /dev/null @@ -1,29 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#define ENCODERS_C_REVERSE - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/rgbmatrix_ec11/rules.mk b/keyboards/fingerpunch/ffkb/rgbmatrix_ec11/rules.mk deleted file mode 100644 index 5f4a6a0db3e9..000000000000 --- a/keyboards/fingerpunch/ffkb/rgbmatrix_ec11/rules.mk +++ /dev/null @@ -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 = 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 diff --git a/keyboards/fingerpunch/ffkb/rgbmatrix_ec11_evq/config.h b/keyboards/fingerpunch/ffkb/rgbmatrix_ec11_evq/config.h deleted file mode 100644 index 5edcf027d11b..000000000000 --- a/keyboards/fingerpunch/ffkb/rgbmatrix_ec11_evq/config.h +++ /dev/null @@ -1,30 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#define ENCODERS_A_REVERSE true -#define ENCODERS_B_REVERSE true - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/rgbmatrix_ec11_evq/rules.mk b/keyboards/fingerpunch/ffkb/rgbmatrix_ec11_evq/rules.mk deleted file mode 100644 index 5f4a6a0db3e9..000000000000 --- a/keyboards/fingerpunch/ffkb/rgbmatrix_ec11_evq/rules.mk +++ /dev/null @@ -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 = 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 diff --git a/keyboards/fingerpunch/ffkb/rgbmatrix_evq/config.h b/keyboards/fingerpunch/ffkb/rgbmatrix_evq/config.h deleted file mode 100644 index 31b81fc9d20e..000000000000 --- a/keyboards/fingerpunch/ffkb/rgbmatrix_evq/config.h +++ /dev/null @@ -1,30 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE true -#define ENCODERS_B_REVERSE true - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/rgbmatrix_evq/rules.mk b/keyboards/fingerpunch/ffkb/rgbmatrix_evq/rules.mk deleted file mode 100644 index 5f4a6a0db3e9..000000000000 --- a/keyboards/fingerpunch/ffkb/rgbmatrix_evq/rules.mk +++ /dev/null @@ -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 = 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 diff --git a/keyboards/fingerpunch/ffkb/rgbmatrix_oled/config.h b/keyboards/fingerpunch/ffkb/rgbmatrix_oled/config.h deleted file mode 100644 index 7350fcedab97..000000000000 --- a/keyboards/fingerpunch/ffkb/rgbmatrix_oled/config.h +++ /dev/null @@ -1,32 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D7, D4} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B4, D6} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/rgbmatrix_oled/rules.mk b/keyboards/fingerpunch/ffkb/rgbmatrix_oled/rules.mk deleted file mode 100644 index 673e966c2a19..000000000000 --- a/keyboards/fingerpunch/ffkb/rgbmatrix_oled/rules.mk +++ /dev/null @@ -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_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 diff --git a/keyboards/fingerpunch/ffkb/rgbmatrix_oled_ec11/config.h b/keyboards/fingerpunch/ffkb/rgbmatrix_oled_ec11/config.h deleted file mode 100644 index bf22b65bf67a..000000000000 --- a/keyboards/fingerpunch/ffkb/rgbmatrix_oled_ec11/config.h +++ /dev/null @@ -1,38 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#define ENCODERS_C_REVERSE - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D7, D4} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B4, D6} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/rgbmatrix_oled_ec11/rules.mk b/keyboards/fingerpunch/ffkb/rgbmatrix_oled_ec11/rules.mk deleted file mode 100644 index a73c6172dd87..000000000000 --- a/keyboards/fingerpunch/ffkb/rgbmatrix_oled_ec11/rules.mk +++ /dev/null @@ -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_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 diff --git a/keyboards/fingerpunch/ffkb/rgbmatrix_oled_evq/config.h b/keyboards/fingerpunch/ffkb/rgbmatrix_oled_evq/config.h deleted file mode 100644 index bcc19b1b2e44..000000000000 --- a/keyboards/fingerpunch/ffkb/rgbmatrix_oled_evq/config.h +++ /dev/null @@ -1,39 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE true -#define ENCODERS_B_REVERSE true - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D5, B6} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B7, F1} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/rgbmatrix_oled_evq/rules.mk b/keyboards/fingerpunch/ffkb/rgbmatrix_oled_evq/rules.mk deleted file mode 100644 index a73c6172dd87..000000000000 --- a/keyboards/fingerpunch/ffkb/rgbmatrix_oled_evq/rules.mk +++ /dev/null @@ -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_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 diff --git a/keyboards/fingerpunch/ffkb/rgbmatrix_pimoroni/config.h b/keyboards/fingerpunch/ffkb/rgbmatrix_pimoroni/config.h deleted file mode 100644 index 83d45f2054e2..000000000000 --- a/keyboards/fingerpunch/ffkb/rgbmatrix_pimoroni/config.h +++ /dev/null @@ -1,32 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_PIMORONI -#define XOIVIOX_PIMORONI -#endif - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D7, D4} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B4, D6} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/rgbmatrix_pimoroni/rules.mk b/keyboards/fingerpunch/ffkb/rgbmatrix_pimoroni/rules.mk deleted file mode 100644 index b925b6796990..000000000000 --- a/keyboards/fingerpunch/ffkb/rgbmatrix_pimoroni/rules.mk +++ /dev/null @@ -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 = no - -ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes) - POINTING_DEVICE_ENABLE := yes - POINTING_DEVICE_DRIVER = pimoroni_trackball - OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE -endif diff --git a/keyboards/fingerpunch/ffkb/rgbmatrix_pimoroni_ec11/config.h b/keyboards/fingerpunch/ffkb/rgbmatrix_pimoroni_ec11/config.h deleted file mode 100644 index f6ca8afbfdbd..000000000000 --- a/keyboards/fingerpunch/ffkb/rgbmatrix_pimoroni_ec11/config.h +++ /dev/null @@ -1,38 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_PIMORONI -#define XOIVIOX_PIMORONI -#endif - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#define ENCODERS_C_REVERSE - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D5, B6} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B7, F1} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/rgbmatrix_pimoroni_ec11/rules.mk b/keyboards/fingerpunch/ffkb/rgbmatrix_pimoroni_ec11/rules.mk deleted file mode 100644 index c40db7d2aab1..000000000000 --- a/keyboards/fingerpunch/ffkb/rgbmatrix_pimoroni_ec11/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/ffkb/rgbmatrix_pimoroni_evq/config.h b/keyboards/fingerpunch/ffkb/rgbmatrix_pimoroni_evq/config.h deleted file mode 100644 index b45e758a4fb3..000000000000 --- a/keyboards/fingerpunch/ffkb/rgbmatrix_pimoroni_evq/config.h +++ /dev/null @@ -1,39 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_PIMORONI -#define XOIVIOX_PIMORONI -#endif - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE true -#define ENCODERS_B_REVERSE true - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D7, D4} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B4, D6} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb/rgbmatrix_pimoroni_evq/rules.mk b/keyboards/fingerpunch/ffkb/rgbmatrix_pimoroni_evq/rules.mk deleted file mode 100644 index c40db7d2aab1..000000000000 --- a/keyboards/fingerpunch/ffkb/rgbmatrix_pimoroni_evq/rules.mk +++ /dev/null @@ -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 diff --git a/keyboards/fingerpunch/ffkb/rules.mk b/keyboards/fingerpunch/ffkb/rules.mk index 982653506950..a64a82193ee6 100644 --- a/keyboards/fingerpunch/ffkb/rules.mk +++ b/keyboards/fingerpunch/ffkb/rules.mk @@ -25,8 +25,8 @@ NKRO_ENABLE = no # USB Nkey Rollover BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality # 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 @@ -34,8 +34,31 @@ UNICODE_ENABLE = no # Unicode 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 +ENCODER_ENABLE = no +OLED_ENABLE = no # 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 + +ifeq ($(strip $(FP_EC11_CENTER)), yes) + ENCODER_ENABLE := yes + OPT_DEFS += -DFP_EC11_CENTER +endif + +ifeq ($(strip $(FP_EC11_UNDER_PALMS)), yes) + ENCODER_ENABLE := yes + OPT_DEFS += -DFP_EC11_UNDER_PALMS +endif + +ifeq ($(strip $(FP_EVQ_UNDER_PALMS)), yes) + ENCODER_ENABLE := yes + OPT_DEFS += -DFP_EVQ_UNDER_PALMS +endif \ No newline at end of file diff --git a/keyboards/fingerpunch/ffkb_byomcu/cirque/config.h b/keyboards/fingerpunch/ffkb_byomcu/cirque/config.h deleted file mode 100644 index d4903b376d72..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/cirque/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/cirque/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/cirque/rules.mk deleted file mode 100644 index 94fdcee2771d..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/cirque/rules.mk +++ /dev/null @@ -1,22 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_ENABLE = no -ENCODER_ENABLE = no -CIRQUE_ENABLE = yes -MOUSEKEY_ENABLE = yes - -ifeq ($(strip $(CIRQUE_ENABLE)), yes) - POINTING_DEVICE_ENABLE = yes - POINTING_DEVICE_DRIVER = cirque_pinnacle_i2c -endif - -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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/cirque_ec11/config.h b/keyboards/fingerpunch/ffkb_byomcu/cirque_ec11/config.h deleted file mode 100644 index d4903b376d72..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/cirque_ec11/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/cirque_ec11/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/cirque_ec11/rules.mk deleted file mode 100644 index 65a6380f8813..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/cirque_ec11/rules.mk +++ /dev/null @@ -1,22 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_ENABLE = no -ENCODER_ENABLE = yes -CIRQUE_ENABLE = yes -MOUSEKEY_ENABLE = yes - -ifeq ($(strip $(CIRQUE_ENABLE)), yes) - POINTING_DEVICE_ENABLE = yes - POINTING_DEVICE_DRIVER = cirque_pinnacle_i2c -endif - -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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/cirque_evq/config.h b/keyboards/fingerpunch/ffkb_byomcu/cirque_evq/config.h deleted file mode 100644 index 968605031873..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/cirque_evq/config.h +++ /dev/null @@ -1,22 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#define ENCODERS_A_REVERSE -#define ENCODERS_B_REVERSE - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/cirque_evq/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/cirque_evq/rules.mk deleted file mode 100644 index 65a6380f8813..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/cirque_evq/rules.mk +++ /dev/null @@ -1,22 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_ENABLE = no -ENCODER_ENABLE = yes -CIRQUE_ENABLE = yes -MOUSEKEY_ENABLE = yes - -ifeq ($(strip $(CIRQUE_ENABLE)), yes) - POINTING_DEVICE_ENABLE = yes - POINTING_DEVICE_DRIVER = cirque_pinnacle_i2c -endif - -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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/ec11/config.h b/keyboards/fingerpunch/ffkb_byomcu/ec11/config.h deleted file mode 100644 index f97f7e8c5fd7..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/ec11/config.h +++ /dev/null @@ -1,25 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#define ENCODERS_C_REVERSE - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/ec11/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/ec11/rules.mk deleted file mode 100644 index 51c7c8e9b70d..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/ec11/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# 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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/ec11_evq/config.h b/keyboards/fingerpunch/ffkb_byomcu/ec11_evq/config.h deleted file mode 100644 index 43a073fb6b22..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/ec11_evq/config.h +++ /dev/null @@ -1,30 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE -#define ENCODERS_B_REVERSE - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/ec11_evq/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/ec11_evq/rules.mk deleted file mode 100644 index 51c7c8e9b70d..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/ec11_evq/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# 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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/evq/config.h b/keyboards/fingerpunch/ffkb_byomcu/evq/config.h deleted file mode 100644 index d9ca5022a3e1..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/evq/config.h +++ /dev/null @@ -1,26 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE -#define ENCODERS_B_REVERSE - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/evq/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/evq/rules.mk deleted file mode 100644 index 51c7c8e9b70d..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/evq/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# 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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/ffkb_byomcu.c b/keyboards/fingerpunch/ffkb_byomcu/ffkb_byomcu.c index 84a314fe5f0e..97c60a1a5985 100644 --- a/keyboards/fingerpunch/ffkb_byomcu/ffkb_byomcu.c +++ b/keyboards/fingerpunch/ffkb_byomcu/ffkb_byomcu.c @@ -60,4 +60,3 @@ led_config_t g_led_config = { { */ #endif - diff --git a/keyboards/fingerpunch/ffkb_byomcu/fp_build.json b/keyboards/fingerpunch/ffkb_byomcu/fp_build.json new file mode 100644 index 000000000000..30332ef66400 --- /dev/null +++ b/keyboards/fingerpunch/ffkb_byomcu/fp_build.json @@ -0,0 +1,32 @@ +[ + { + "type" : "single", + "name" : "CIRQUE_ENABLE", + "user_input": "Do you have a cirque?" + }, + { + "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" : "FP_EC11_CENTER", + "user_input": "Do you have an EC11 in the center?" + }, + { + "type" : "one-of", + "names" : [ "FP_EC11_UNDER_PALMS", "FP_EVQ_UNDER_PALMS" ], + "user_input": "No under palm encoders, EC11, or EVQ?" + }, + { + "type" : "single", + "name" : "PIMORONI_TRACKBALL_ENABLE", + "user_input": "Do you have a pimoroni trackball?" + } +] \ No newline at end of file diff --git a/keyboards/fingerpunch/ffkb_byomcu/no_features/config.h b/keyboards/fingerpunch/ffkb_byomcu/no_features/config.h deleted file mode 100644 index 2665925400d4..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/no_features/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#pragma once -#include "config_common.h" - diff --git a/keyboards/fingerpunch/ffkb_byomcu/no_features/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/no_features/rules.mk deleted file mode 100644 index c6dcb2402616..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/no_features/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# 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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/oled/config.h b/keyboards/fingerpunch/ffkb_byomcu/oled/config.h deleted file mode 100644 index d9651e9ee6bb..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/oled/config.h +++ /dev/null @@ -1,28 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D5, B6} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B7, F1} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/oled/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/oled/rules.mk deleted file mode 100644 index 0691c6f6410b..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/oled/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/oled_ec11/config.h b/keyboards/fingerpunch/ffkb_byomcu/oled_ec11/config.h deleted file mode 100644 index 6b700d4c170f..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/oled_ec11/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#define ENCODERS_C_REVERSE - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D5, B6} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B7, F1} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/oled_ec11/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/oled_ec11/rules.mk deleted file mode 100644 index 18db16e53b67..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/oled_ec11/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/oled_evq/config.h b/keyboards/fingerpunch/ffkb_byomcu/oled_evq/config.h deleted file mode 100644 index 74a86b513757..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/oled_evq/config.h +++ /dev/null @@ -1,35 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE -#define ENCODERS_B_REVERSE - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D5, B6} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B7, F1} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/oled_evq/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/oled_evq/rules.mk deleted file mode 100644 index 18db16e53b67..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/oled_evq/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/pimoroni/config.h b/keyboards/fingerpunch/ffkb_byomcu/pimoroni/config.h deleted file mode 100644 index c186b76a54db..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/pimoroni/config.h +++ /dev/null @@ -1,28 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_PIMORONI -#define XOIVIOX_PIMORONI -#endif - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D5, B6} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B7, F1} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/pimoroni/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/pimoroni/rules.mk deleted file mode 100644 index fb958f89187d..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/pimoroni/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# 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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/pimoroni_ec11/config.h b/keyboards/fingerpunch/ffkb_byomcu/pimoroni_ec11/config.h deleted file mode 100644 index a0e683a1f789..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/pimoroni_ec11/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_PIMORONI -#define XOIVIOX_PIMORONI -#endif - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#define ENCODERS_C_REVERSE - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D5, B6} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B7, F1} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/pimoroni_ec11/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/pimoroni_ec11/rules.mk deleted file mode 100644 index b170f5ce7ace..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/pimoroni_ec11/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# 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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/pimoroni_evq/config.h b/keyboards/fingerpunch/ffkb_byomcu/pimoroni_evq/config.h deleted file mode 100644 index d11a8c578d21..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/pimoroni_evq/config.h +++ /dev/null @@ -1,35 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_PIMORONI -#define XOIVIOX_PIMORONI -#endif - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE -#define ENCODERS_B_REVERSE - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D5, B6} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B7, F1} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/pimoroni_evq/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/pimoroni_evq/rules.mk deleted file mode 100644 index b170f5ce7ace..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/pimoroni_evq/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# 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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/readme.md b/keyboards/fingerpunch/ffkb_byomcu/readme.md index bdf2ad26f8c6..5111e7c21f72 100644 --- a/keyboards/fingerpunch/ffkb_byomcu/readme.md +++ b/keyboards/fingerpunch/ffkb_byomcu/readme.md @@ -7,37 +7,23 @@ An ergonomic 30% keyboard Faux fox keyboard (ffkb) Make example for this keyboard (after setting up your build environment): - - make fingerpunch/ffkb_byomcu/ec11:default - make fingerpunch/ffkb_byomcu/ec11_evq:default - make fingerpunch/ffkb_byomcu/evq:default - make fingerpunch/ffkb_byomcu/no_features:default - make fingerpunch/ffkb_byomcu/oled:default - make fingerpunch/ffkb_byomcu/oled_ec11:default - make fingerpunch/ffkb_byomcu/oled_evq:default - make fingerpunch/ffkb_byomcu/pimoroni:default - make fingerpunch/ffkb_byomcu/pimoroni_ec11:default - make fingerpunch/ffkb_byomcu/pimoroni_evq:default - make fingerpunch/ffkb_byomcu/rgblight:default - make fingerpunch/ffkb_byomcu/rgblight_ec11:default - make fingerpunch/ffkb_byomcu/rgblight_ec11_evq:default - make fingerpunch/ffkb_byomcu/rgblight_evq:default - make fingerpunch/ffkb_byomcu/rgblight_oled:default - make fingerpunch/ffkb_byomcu/rgblight_oled_ec11:default - make fingerpunch/ffkb_byomcu/rgblight_oled_evq:default - make fingerpunch/ffkb_byomcu/rgblight_pimoroni:default - make fingerpunch/ffkb_byomcu/rgblight_pimoroni_ec11:default - make fingerpunch/ffkb_byomcu/rgblight_pimoroni_evq:default - make fingerpunch/ffkb_byomcu/rgbmatrix:default - make fingerpunch/ffkb_byomcu/rgbmatrix_ec11:default - make fingerpunch/ffkb_byomcu/rgbmatrix_ec11_evq:default - make fingerpunch/ffkb_byomcu/rgbmatrix_evq:default - make fingerpunch/ffkb_byomcu/rgbmatrix_oled:default - make fingerpunch/ffkb_byomcu/rgbmatrix_oled_ec11:default - make fingerpunch/ffkb_byomcu/rgbmatrix_oled_evq:default - make fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni:default - make fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni_ec11:default - make fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni_evq:default +``` + make fingerpunch/ffkb_byomcu:default RGBLIGHT_ENABLE=yes FP_EC11_UNDER_PALMS=yes CIRQUE_ENABLE=yes OLED_ENABLE=yes +``` + +Don't forget to add ```CONVERT_TO=stemcell``` if using a stemcell controller. + +Options are: +``` + CIRQUE_ENABLE=yes + RGBLIGHT_ENABLE=yes + RGB_MATRIX_ENABLE=yes + OLED_ENABLE=yes + FP_EC11_CENTER=yes + FP_EC11_UNDER_PALMS=yes + FP_EVQ_UNDER_PALMS=yes + PIMORONI_TRACKBALL_ENABLE=yes +``` Example of flashing this keyboard: diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgblight/config.h deleted file mode 100644 index 64579bc0166d..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgblight/rules.mk deleted file mode 100644 index d89358af2b07..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# 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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight_cirque/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgblight_cirque/config.h deleted file mode 100644 index 64579bc0166d..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight_cirque/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight_cirque/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgblight_cirque/rules.mk deleted file mode 100644 index 05467e348590..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight_cirque/rules.mk +++ /dev/null @@ -1,22 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = yes -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_ENABLE = no -ENCODER_ENABLE = no -CIRQUE_ENABLE = yes -MOUSEKEY_ENABLE = yes - -ifeq ($(strip $(CIRQUE_ENABLE)), yes) - POINTING_DEVICE_ENABLE = yes - POINTING_DEVICE_DRIVER = cirque_pinnacle_i2c -endif - -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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight_cirque_ec11/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgblight_cirque_ec11/config.h deleted file mode 100644 index 64579bc0166d..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight_cirque_ec11/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight_cirque_ec11/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgblight_cirque_ec11/rules.mk deleted file mode 100644 index 22cd87039f23..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight_cirque_ec11/rules.mk +++ /dev/null @@ -1,22 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = yes -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_ENABLE = no -ENCODER_ENABLE = yes -CIRQUE_ENABLE = yes -MOUSEKEY_ENABLE = yes - -ifeq ($(strip $(CIRQUE_ENABLE)), yes) - POINTING_DEVICE_ENABLE = yes - POINTING_DEVICE_DRIVER = cirque_pinnacle_i2c -endif - -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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight_cirque_evq/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgblight_cirque_evq/config.h deleted file mode 100644 index 68ccb17942d1..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight_cirque_evq/config.h +++ /dev/null @@ -1,30 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE -#define ENCODERS_B_REVERSE - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight_cirque_evq/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgblight_cirque_evq/rules.mk deleted file mode 100644 index 22cd87039f23..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight_cirque_evq/rules.mk +++ /dev/null @@ -1,22 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = yes -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_ENABLE = no -ENCODER_ENABLE = yes -CIRQUE_ENABLE = yes -MOUSEKEY_ENABLE = yes - -ifeq ($(strip $(CIRQUE_ENABLE)), yes) - POINTING_DEVICE_ENABLE = yes - POINTING_DEVICE_DRIVER = cirque_pinnacle_i2c -endif - -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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight_ec11/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgblight_ec11/config.h deleted file mode 100644 index 9a8db4ff0d30..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight_ec11/config.h +++ /dev/null @@ -1,29 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#define ENCODERS_C_REVERSE - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight_ec11/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgblight_ec11/rules.mk deleted file mode 100644 index 3edb19fd0ee8..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight_ec11/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# 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 = 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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight_ec11_evq/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgblight_ec11_evq/config.h deleted file mode 100644 index b406f7b886c7..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight_ec11_evq/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE true -#define ENCODERS_B_REVERSE true - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight_ec11_evq/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgblight_ec11_evq/rules.mk deleted file mode 100644 index 3edb19fd0ee8..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight_ec11_evq/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# 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 = 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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight_evq/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgblight_evq/config.h deleted file mode 100644 index 59600236273e..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight_evq/config.h +++ /dev/null @@ -1,30 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE true -#define ENCODERS_B_REVERSE true - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight_evq/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgblight_evq/rules.mk deleted file mode 100644 index 3edb19fd0ee8..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight_evq/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# 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 = 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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight_oled/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgblight_oled/config.h deleted file mode 100644 index 34b1c09ba7eb..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight_oled/config.h +++ /dev/null @@ -1,32 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D5, B6} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B7, F1} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight_oled/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgblight_oled/rules.mk deleted file mode 100644 index ee06510f39a6..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight_oled/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = yes -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight_oled_ec11/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgblight_oled_ec11/config.h deleted file mode 100644 index 6796665ede23..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight_oled_ec11/config.h +++ /dev/null @@ -1,38 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#define ENCODERS_C_REVERSE - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D5, B6} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B7, F1} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight_oled_ec11/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgblight_oled_ec11/rules.mk deleted file mode 100644 index 7bfa3a1c6386..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight_oled_ec11/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = yes -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight_oled_evq/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgblight_oled_evq/config.h deleted file mode 100644 index 25730e6f6095..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight_oled_evq/config.h +++ /dev/null @@ -1,39 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE true -#define ENCODERS_B_REVERSE true - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D5, B6} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B7, F1} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight_oled_evq/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgblight_oled_evq/rules.mk deleted file mode 100644 index 7bfa3a1c6386..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight_oled_evq/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = yes -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight_pimoroni/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgblight_pimoroni/config.h deleted file mode 100644 index b038387113c2..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight_pimoroni/config.h +++ /dev/null @@ -1,32 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_PIMORONI -#define XOIVIOX_PIMORONI -#endif - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D5, B6} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B7, F1} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight_pimoroni/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgblight_pimoroni/rules.mk deleted file mode 100644 index 66fc5b8e8e8f..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight_pimoroni/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# 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 = no - -ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes) - POINTING_DEVICE_ENABLE := yes - POINTING_DEVICE_DRIVER = pimoroni_trackball - OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE -endif diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight_pimoroni_ec11/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgblight_pimoroni_ec11/config.h deleted file mode 100644 index 6a07312dc2b4..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight_pimoroni_ec11/config.h +++ /dev/null @@ -1,38 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_PIMORONI -#define XOIVIOX_PIMORONI -#endif - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#define ENCODERS_C_REVERSE - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D5, B6} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B7, F1} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight_pimoroni_ec11/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgblight_pimoroni_ec11/rules.mk deleted file mode 100644 index c460bdeeede6..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight_pimoroni_ec11/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# 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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight_pimoroni_evq/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgblight_pimoroni_evq/config.h deleted file mode 100644 index 2533a991ae50..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight_pimoroni_evq/config.h +++ /dev/null @@ -1,39 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_PIMORONI -#define XOIVIOX_PIMORONI -#endif - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE true -#define ENCODERS_B_REVERSE true - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D5, B6} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B7, F1} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgblight_pimoroni_evq/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgblight_pimoroni_evq/rules.mk deleted file mode 100644 index c460bdeeede6..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgblight_pimoroni_evq/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# 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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix/config.h deleted file mode 100644 index 7efaf36db9c0..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix/rules.mk deleted file mode 100644 index 7b9b02c58d08..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# 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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_cirque/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_cirque/config.h deleted file mode 100644 index 7efaf36db9c0..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_cirque/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_cirque/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_cirque/rules.mk deleted file mode 100644 index 9f168fd4a073..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_cirque/rules.mk +++ /dev/null @@ -1,22 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = yes -PIMORONI_TRACKBALL_ENABLE = no -OLED_ENABLE = no -ENCODER_ENABLE = no -CIRQUE_ENABLE = yes -MOUSEKEY_ENABLE = yes - -ifeq ($(strip $(CIRQUE_ENABLE)), yes) - POINTING_DEVICE_ENABLE = yes - POINTING_DEVICE_DRIVER = cirque_pinnacle_i2c -endif - -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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_cirque_ec11/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_cirque_ec11/config.h deleted file mode 100644 index 7efaf36db9c0..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_cirque_ec11/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_cirque_ec11/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_cirque_ec11/rules.mk deleted file mode 100644 index 1f97a8e9d97b..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_cirque_ec11/rules.mk +++ /dev/null @@ -1,22 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = yes -PIMORONI_TRACKBALL_ENABLE = no -OLED_ENABLE = no -ENCODER_ENABLE = yes -CIRQUE_ENABLE = yes -MOUSEKEY_ENABLE = yes - -ifeq ($(strip $(CIRQUE_ENABLE)), yes) - POINTING_DEVICE_ENABLE = yes - POINTING_DEVICE_DRIVER = cirque_pinnacle_i2c -endif - -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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_cirque_evq/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_cirque_evq/config.h deleted file mode 100644 index b6d724b0980f..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_cirque_evq/config.h +++ /dev/null @@ -1,30 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE -#define ENCODERS_B_REVERSE - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_cirque_evq/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_cirque_evq/rules.mk deleted file mode 100644 index 1f97a8e9d97b..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_cirque_evq/rules.mk +++ /dev/null @@ -1,22 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = yes -PIMORONI_TRACKBALL_ENABLE = no -OLED_ENABLE = no -ENCODER_ENABLE = yes -CIRQUE_ENABLE = yes -MOUSEKEY_ENABLE = yes - -ifeq ($(strip $(CIRQUE_ENABLE)), yes) - POINTING_DEVICE_ENABLE = yes - POINTING_DEVICE_DRIVER = cirque_pinnacle_i2c -endif - -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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_ec11/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_ec11/config.h deleted file mode 100644 index 4c48e40746ad..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_ec11/config.h +++ /dev/null @@ -1,29 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#define ENCODERS_C_REVERSE - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_ec11/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_ec11/rules.mk deleted file mode 100644 index 862c80855ad2..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_ec11/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# 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 = 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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_ec11_evq/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_ec11_evq/config.h deleted file mode 100644 index 5edcf027d11b..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_ec11_evq/config.h +++ /dev/null @@ -1,30 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#define ENCODERS_A_REVERSE true -#define ENCODERS_B_REVERSE true - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_ec11_evq/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_ec11_evq/rules.mk deleted file mode 100644 index 862c80855ad2..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_ec11_evq/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# 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 = 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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_evq/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_evq/config.h deleted file mode 100644 index 31b81fc9d20e..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_evq/config.h +++ /dev/null @@ -1,30 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE true -#define ENCODERS_B_REVERSE true - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_evq/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_evq/rules.mk deleted file mode 100644 index 862c80855ad2..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_evq/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# 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 = 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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_oled/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_oled/config.h deleted file mode 100644 index c7795b884ea0..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_oled/config.h +++ /dev/null @@ -1,32 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D5, B6} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B7, F1} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_oled/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_oled/rules.mk deleted file mode 100644 index 4a8489f025bc..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_oled/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = yes -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_oled_ec11/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_oled_ec11/config.h deleted file mode 100644 index 20a78ca2cde4..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_oled_ec11/config.h +++ /dev/null @@ -1,38 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#define ENCODERS_C_REVERSE - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D5, B6} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B7, F1} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_oled_ec11/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_oled_ec11/rules.mk deleted file mode 100644 index 6afc22e0481a..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_oled_ec11/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = yes -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_oled_evq/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_oled_evq/config.h deleted file mode 100644 index bcc19b1b2e44..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_oled_evq/config.h +++ /dev/null @@ -1,39 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE true -#define ENCODERS_B_REVERSE true - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D5, B6} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B7, F1} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_oled_evq/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_oled_evq/rules.mk deleted file mode 100644 index 6afc22e0481a..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_oled_evq/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = yes -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni/config.h deleted file mode 100644 index 0fecb25fe477..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni/config.h +++ /dev/null @@ -1,32 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_PIMORONI -#define XOIVIOX_PIMORONI -#endif - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D5, B6} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B7, F1} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni/rules.mk deleted file mode 100644 index 00f3fc675cb4..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# 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 = no - -ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes) - POINTING_DEVICE_ENABLE := yes - POINTING_DEVICE_DRIVER = pimoroni_trackball - OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE -endif diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni_ec11/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni_ec11/config.h deleted file mode 100644 index f6ca8afbfdbd..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni_ec11/config.h +++ /dev/null @@ -1,38 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_PIMORONI -#define XOIVIOX_PIMORONI -#endif - -#ifndef XOIVIOX_EC11 -#define XOIVIOX_EC11 -#endif - -#define ENCODERS_C_REVERSE - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D5, B6} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B7, F1} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni_ec11/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni_ec11/rules.mk deleted file mode 100644 index 1acf7ec7b6fd..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni_ec11/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# 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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni_evq/config.h b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni_evq/config.h deleted file mode 100644 index 361d09528e0d..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni_evq/config.h +++ /dev/null @@ -1,39 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_PIMORONI -#define XOIVIOX_PIMORONI -#endif - -#ifndef XOIVIOX_EVQ -#define XOIVIOX_EVQ -#endif - -#define ENCODERS_A_REVERSE true -#define ENCODERS_B_REVERSE true - -#undef ENCODERS_PAD_A -#define ENCODERS_PAD_A {D5, B6} -#undef ENCODERS_PAD_B -#define ENCODERS_PAD_B {B7, F1} - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni_evq/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni_evq/rules.mk deleted file mode 100644 index 1acf7ec7b6fd..000000000000 --- a/keyboards/fingerpunch/ffkb_byomcu/rgbmatrix_pimoroni_evq/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# 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 diff --git a/keyboards/fingerpunch/ffkb_byomcu/rules.mk b/keyboards/fingerpunch/ffkb_byomcu/rules.mk index dcedfd9c7768..f066d276d71b 100644 --- a/keyboards/fingerpunch/ffkb_byomcu/rules.mk +++ b/keyboards/fingerpunch/ffkb_byomcu/rules.mk @@ -25,8 +25,8 @@ NKRO_ENABLE = no # USB Nkey Rollover BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality # 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 @@ -34,9 +34,39 @@ UNICODE_ENABLE = no # Unicode 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 +ENCODER_ENABLE = no +OLED_ENABLE = no # 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 +CIRQUE_ENABLE = no + +ifeq ($(strip $(CIRQUE_ENABLE)), yes) + POINTING_DEVICE_ENABLE := yes + POINTING_DEVICE_DRIVER := cirque_pinnacle_i2c + OPT_DEFS += -DCIRQUE_ENABLE +endif + +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 + +ifeq ($(strip $(FP_EC11_CENTER)), yes) + ENCODER_ENABLE := yes + OPT_DEFS += -DFP_EC11_CENTER +endif + +ifeq ($(strip $(FP_EC11_UNDER_PALMS)), yes) + ENCODER_ENABLE := yes + OPT_DEFS += -DFP_EC11_UNDER_PALMS +endif + +ifeq ($(strip $(FP_EVQ_UNDER_PALMS)), yes) + ENCODER_ENABLE := yes + OPT_DEFS += -DFP_EVQ_UNDER_PALMS +endif \ No newline at end of file diff --git a/keyboards/fingerpunch/luakeeb/config.h b/keyboards/fingerpunch/luakeeb/config.h index 41e476abb36b..58f79216a8d1 100644 --- a/keyboards/fingerpunch/luakeeb/config.h +++ b/keyboards/fingerpunch/luakeeb/config.h @@ -25,7 +25,6 @@ along with this program. If not, see . #define PRODUCT_ID 0x7178 #define MANUFACTURER sadekbaroudi #define PRODUCT sadekbaroudi luakeeb -#define DESCRIPTION sadekbaroudi luakeeb /* key matrix size */ // Rows are doubled-up @@ -47,33 +46,21 @@ along with this program. If not, see . #ifdef RGBLIGHT_ENABLE #define RGBLIGHT_SPLIT #define RGBLED_SPLIT { 21, 21 } - #ifdef RGBLIGHT_ANIMATIONS - #undef RGBLIGHT_ANIMATIONS - #endif #define RGBLED_NUM 42 #define RGBLIGHT_HUE_STEP 16 #define RGBLIGHT_SAT_STEP 16 #define RGBLIGHT_VAL_STEP 16 #define RGBLIGHT_LIMIT_VAL 120 /* 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 #define ENCODERS_PAD_A {B4} diff --git a/keyboards/fingerpunch/luakeeb/fp_build.json b/keyboards/fingerpunch/luakeeb/fp_build.json new file mode 100644 index 000000000000..86e4cf714369 --- /dev/null +++ b/keyboards/fingerpunch/luakeeb/fp_build.json @@ -0,0 +1,12 @@ +[ + { + "type" : "single", + "name" : "RGBLIGHT_ENABLE", + "user_input": "Do you have RGB?" + }, + { + "type" : "single", + "name" : "ENCODER_ENABLE", + "user_input": "Do you have one or more rotary encoders?" + } +] \ No newline at end of file diff --git a/keyboards/fingerpunch/luakeeb/readme.md b/keyboards/fingerpunch/luakeeb/readme.md index 0098d2e40119..743517cf514a 100644 --- a/keyboards/fingerpunch/luakeeb/readme.md +++ b/keyboards/fingerpunch/luakeeb/readme.md @@ -4,12 +4,17 @@ * Hardware Supported: luakeeb PCB Make example for this keyboard (after setting up your build environment): +``` + make fingerpunch/luakeeb:default RGBLIGHT_ENABLE=yes ENCODER_ENABLE=yes +``` - make fingerpunch/luakeeb:default +Don't forget to add ```CONVERT_TO=stemcell``` if using a stemcell controller. -Flashing example for this keyboard ([using the command line](https://docs.qmk.fm/#/newbs_flashing?id=flash-your-keyboard-from-the-command-line)): - - make fingerpunch/luakeeb:default:flash +Options are: +``` + RGBLIGHT_ENABLE=yes + ENCODER_ENABLE=yes +``` See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. diff --git a/keyboards/fingerpunch/luakeeb/rules.mk b/keyboards/fingerpunch/luakeeb/rules.mk index a4fe3e0d4c7f..ceaf7edec565 100644 --- a/keyboards/fingerpunch/luakeeb/rules.mk +++ b/keyboards/fingerpunch/luakeeb/rules.mk @@ -17,9 +17,9 @@ 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 -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes +ENCODER_ENABLE = no SPLIT_KEYBOARD = yes diff --git a/keyboards/fingerpunch/pinkiesout/config.h b/keyboards/fingerpunch/pinkiesout/config.h index dc4e9ffc5572..f5d83033bdd5 100644 --- a/keyboards/fingerpunch/pinkiesout/config.h +++ b/keyboards/fingerpunch/pinkiesout/config.h @@ -26,7 +26,6 @@ along with this program. If not, see . //#define DEVICE_VER 0x0001 // Now defined in the revX/config.h #define MANUFACTURER sadekbaroudi #define PRODUCT sadekbaroudi pinkiesout -#define DESCRIPTION sadekbaroudi pinkiesout /* key matrix size */ /* Rows are doubled up */ @@ -38,7 +37,6 @@ along with this program. If not, see . { B6, F4, B5, B4, B2, B3, B7, D5 } #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 . #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 diff --git a/keyboards/fingerpunch/pinkiesout/fp_build.json b/keyboards/fingerpunch/pinkiesout/fp_build.json new file mode 100644 index 000000000000..839f6b383536 --- /dev/null +++ b/keyboards/fingerpunch/pinkiesout/fp_build.json @@ -0,0 +1,12 @@ +[ + { + "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?" + } +] \ No newline at end of file diff --git a/keyboards/fingerpunch/pinkiesout/keymaps/sadekbaroudi/rules.mk b/keyboards/fingerpunch/pinkiesout/keymaps/sadekbaroudi/rules.mk index 981196cd7e73..a892a8222e28 100644 --- a/keyboards/fingerpunch/pinkiesout/keymaps/sadekbaroudi/rules.mk +++ b/keyboards/fingerpunch/pinkiesout/keymaps/sadekbaroudi/rules.mk @@ -1,2 +1 @@ -OLED_DRIVER_ENABLE = yes OLED_ENABLE = yes \ No newline at end of file diff --git a/keyboards/fingerpunch/pinkiesout/no_features/config.h b/keyboards/fingerpunch/pinkiesout/no_features/config.h deleted file mode 100644 index d4903b376d72..000000000000 --- a/keyboards/fingerpunch/pinkiesout/no_features/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/pinkiesout/no_features/rules.mk b/keyboards/fingerpunch/pinkiesout/no_features/rules.mk deleted file mode 100644 index 1be0d0d7b369..000000000000 --- a/keyboards/fingerpunch/pinkiesout/no_features/rules.mk +++ /dev/null @@ -1,29 +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_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 diff --git a/keyboards/fingerpunch/pinkiesout/oled/config.h b/keyboards/fingerpunch/pinkiesout/oled/config.h deleted file mode 100644 index 94472f300a80..000000000000 --- a/keyboards/fingerpunch/pinkiesout/oled/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/pinkiesout/oled/rules.mk b/keyboards/fingerpunch/pinkiesout/oled/rules.mk deleted file mode 100644 index 123064d22714..000000000000 --- a/keyboards/fingerpunch/pinkiesout/oled/rules.mk +++ /dev/null @@ -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_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 diff --git a/keyboards/fingerpunch/pinkiesout/readme.md b/keyboards/fingerpunch/pinkiesout/readme.md index f47f7ed2b6e2..acd11f0e6b7c 100644 --- a/keyboards/fingerpunch/pinkiesout/readme.md +++ b/keyboards/fingerpunch/pinkiesout/readme.md @@ -6,14 +6,20 @@ An ergonomic 30% keyboard Pinkies Out supports vial! If you want to use Vial, go to https://github.com/sadekbaroudi/vial-qmk/keyboards/fingerpunch/pinkiesout/ -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/pinkiesout/no-features:default - make fingerpunch/pinkiesout/oled:default - make fingerpunch/pinkiesout/rgblight:default - make fingerpunch/pinkiesout/rgblight-oled:default - make fingerpunch/pinkiesout/rgbmatrix:default - make fingerpunch/pinkiesout/rgbmatrix-oled:default +To build the firmware for this keyboard (after setting up your build environment): +``` + make fingerpunch/pinkiesout:default RGBLIGHT_ENABLE=yes OLED_ENABLE=yes +``` + +Don't forget to add ```CONVERT_TO=stemcell``` if using a stemcell controller. + +Options are: +``` + RGBLIGHT_ENABLE=yes + RGB_MATRIX_ENABLE=yes + OLED_ENABLE=yes + PIMORONI_TRACKBALL_ENABLE=yes +``` If using the vial repository, use these: make fingerpunch/pinkiesout/no-features:vial diff --git a/keyboards/fingerpunch/pinkiesout/rgblight/config.h b/keyboards/fingerpunch/pinkiesout/rgblight/config.h deleted file mode 100644 index 64579bc0166d..000000000000 --- a/keyboards/fingerpunch/pinkiesout/rgblight/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/pinkiesout/rgblight/rules.mk b/keyboards/fingerpunch/pinkiesout/rgblight/rules.mk deleted file mode 100644 index e1a5e61510ae..000000000000 --- a/keyboards/fingerpunch/pinkiesout/rgblight/rules.mk +++ /dev/null @@ -1,29 +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_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 diff --git a/keyboards/fingerpunch/pinkiesout/rgblight_oled/config.h b/keyboards/fingerpunch/pinkiesout/rgblight_oled/config.h deleted file mode 100644 index 771d83f52d42..000000000000 --- a/keyboards/fingerpunch/pinkiesout/rgblight_oled/config.h +++ /dev/null @@ -1,28 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#pragma once -#include "config_common.h" - diff --git a/keyboards/fingerpunch/pinkiesout/rgblight_oled/rules.mk b/keyboards/fingerpunch/pinkiesout/rgblight_oled/rules.mk deleted file mode 100644 index f04575f8a30f..000000000000 --- a/keyboards/fingerpunch/pinkiesout/rgblight_oled/rules.mk +++ /dev/null @@ -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_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 diff --git a/keyboards/fingerpunch/pinkiesout/rgbmatrix/config.h b/keyboards/fingerpunch/pinkiesout/rgbmatrix/config.h deleted file mode 100644 index 7efaf36db9c0..000000000000 --- a/keyboards/fingerpunch/pinkiesout/rgbmatrix/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/pinkiesout/rgbmatrix/rules.mk b/keyboards/fingerpunch/pinkiesout/rgbmatrix/rules.mk deleted file mode 100644 index 694da383f76e..000000000000 --- a/keyboards/fingerpunch/pinkiesout/rgbmatrix/rules.mk +++ /dev/null @@ -1,29 +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_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 diff --git a/keyboards/fingerpunch/pinkiesout/rgbmatrix_oled/config.h b/keyboards/fingerpunch/pinkiesout/rgbmatrix_oled/config.h deleted file mode 100644 index d2e1240e1ea3..000000000000 --- a/keyboards/fingerpunch/pinkiesout/rgbmatrix_oled/config.h +++ /dev/null @@ -1,27 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/pinkiesout/rgbmatrix_oled/rules.mk b/keyboards/fingerpunch/pinkiesout/rgbmatrix_oled/rules.mk deleted file mode 100644 index 673e966c2a19..000000000000 --- a/keyboards/fingerpunch/pinkiesout/rgbmatrix_oled/rules.mk +++ /dev/null @@ -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_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 diff --git a/keyboards/fingerpunch/pinkiesout/rules.mk b/keyboards/fingerpunch/pinkiesout/rules.mk index 789ca561b8c3..82a1ad6a170b 100644 --- a/keyboards/fingerpunch/pinkiesout/rules.mk +++ b/keyboards/fingerpunch/pinkiesout/rules.mk @@ -25,8 +25,8 @@ NKRO_ENABLE = no # USB Nkey Rollover BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality # 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 +35,7 @@ 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_ENABLE = yes +OLED_ENABLE = no # EXTRAFLAGS += -flto # macros disabled, if you need the extra space MOUSEKEY_ENABLE = no diff --git a/keyboards/fingerpunch/rockon/config.h b/keyboards/fingerpunch/rockon/config.h index a3831b2c996f..640073edae4d 100644 --- a/keyboards/fingerpunch/rockon/config.h +++ b/keyboards/fingerpunch/rockon/config.h @@ -25,7 +25,6 @@ along with this program. If not, see . //#define DEVICE_VER 0x0001 // Now defined in the vX/config.h #define MANUFACTURER sadekbaroudi #define PRODUCT sadekbaroudi rockon -#define DESCRIPTION sadekbaroudi rockon /* key matrix size */ /* Rows are doubled up */ @@ -37,7 +36,6 @@ along with this program. If not, see . { B6, F4, B5, B4, B2, B3, B7, D5 } #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 @@ -53,24 +51,15 @@ along with this program. If not, see . #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 @@ -84,37 +73,37 @@ along with this program. If not, see . #define ENABLE_RGB_MATRIX_ALPHAS_MODS #define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN #define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT - // #define ENABLE_RGB_MATRIX_BREATHING + #define ENABLE_RGB_MATRIX_BREATHING #define ENABLE_RGB_MATRIX_BAND_SAT #define ENABLE_RGB_MATRIX_BAND_VAL - // #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT - // #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL - // #define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT - // #define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL - // #define ENABLE_RGB_MATRIX_CYCLE_ALL - // #define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT - // #define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN - // #define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON - // #define ENABLE_RGB_MATRIX_DUAL_BEACON - // #define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL - // #define ENABLE_RGB_MATRIX_CYCLE_SPIRAL - // #define ENABLE_RGB_MATRIX_RAINBOW_BEACON - // #define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS + #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT + #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL + #define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT + #define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL + #define ENABLE_RGB_MATRIX_CYCLE_ALL + #define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT + #define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN + #define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON + #define ENABLE_RGB_MATRIX_DUAL_BEACON + #define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL + #define ENABLE_RGB_MATRIX_CYCLE_SPIRAL + #define ENABLE_RGB_MATRIX_RAINBOW_BEACON + #define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS #define ENABLE_RGB_MATRIX_RAINDROPS - // #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS + #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS #define ENABLE_RGB_MATRIX_DIGITAL_RAIN #define ENABLE_RGB_MATRIX_SOLID_REACTIVE #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE - // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE - // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE - // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS - // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS - // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS - // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS - // #define ENABLE_RGB_MATRIX_SPLASH - // #define ENABLE_RGB_MATRIX_MULTISPLASH - // #define ENABLE_RGB_MATRIX_SOLID_SPLASH - // #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS + #define ENABLE_RGB_MATRIX_SPLASH + #define ENABLE_RGB_MATRIX_MULTISPLASH + #define ENABLE_RGB_MATRIX_SOLID_SPLASH + #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH #endif /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ diff --git a/keyboards/fingerpunch/rockon/v1/fp_build.json b/keyboards/fingerpunch/rockon/v1/fp_build.json new file mode 100644 index 000000000000..839f6b383536 --- /dev/null +++ b/keyboards/fingerpunch/rockon/v1/fp_build.json @@ -0,0 +1,12 @@ +[ + { + "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?" + } +] \ No newline at end of file diff --git a/keyboards/fingerpunch/rockon/v1/keymaps/sadekbaroudi/rules.mk b/keyboards/fingerpunch/rockon/v1/keymaps/sadekbaroudi/rules.mk index 981196cd7e73..a892a8222e28 100644 --- a/keyboards/fingerpunch/rockon/v1/keymaps/sadekbaroudi/rules.mk +++ b/keyboards/fingerpunch/rockon/v1/keymaps/sadekbaroudi/rules.mk @@ -1,2 +1 @@ -OLED_DRIVER_ENABLE = yes OLED_ENABLE = yes \ No newline at end of file diff --git a/keyboards/fingerpunch/rockon/v1/no_features/config.h b/keyboards/fingerpunch/rockon/v1/no_features/config.h deleted file mode 100644 index d4903b376d72..000000000000 --- a/keyboards/fingerpunch/rockon/v1/no_features/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon/v1/no_features/rules.mk b/keyboards/fingerpunch/rockon/v1/no_features/rules.mk deleted file mode 100644 index 1be0d0d7b369..000000000000 --- a/keyboards/fingerpunch/rockon/v1/no_features/rules.mk +++ /dev/null @@ -1,29 +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_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 diff --git a/keyboards/fingerpunch/rockon/v1/oled/config.h b/keyboards/fingerpunch/rockon/v1/oled/config.h deleted file mode 100644 index 94472f300a80..000000000000 --- a/keyboards/fingerpunch/rockon/v1/oled/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon/v1/oled/rules.mk b/keyboards/fingerpunch/rockon/v1/oled/rules.mk deleted file mode 100644 index 123064d22714..000000000000 --- a/keyboards/fingerpunch/rockon/v1/oled/rules.mk +++ /dev/null @@ -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_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 diff --git a/keyboards/fingerpunch/rockon/v1/readme.md b/keyboards/fingerpunch/rockon/v1/readme.md index 3ce2104191ab..80b0d201e39e 100644 --- a/keyboards/fingerpunch/rockon/v1/readme.md +++ b/keyboards/fingerpunch/rockon/v1/readme.md @@ -6,14 +6,19 @@ An ergonomic 30% keyboard Rock On supports vial! If you want to use Vial, go to https://github.com/sadekbaroudi/vial-qmk/keyboards/fingerpunch/rockon/v1/ -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: +To build the firmware for this keyboard (after setting up your build environment): +``` + make fingerpunch/rockon/v1:default RGBLIGHT_ENABLE=yes OLED_ENABLE=yes +``` - make fingerpunch/rockon/v1/no-features:default - make fingerpunch/rockon/v1/oled:default - make fingerpunch/rockon/v1/rgblight:default - make fingerpunch/rockon/v1/rgblight-oled:default - make fingerpunch/rockon/v1/rgbmatrix:default - make fingerpunch/rockon/v1/rgbmatrix-oled:default +Don't forget to add ```CONVERT_TO=stemcell``` if using a stemcell controller. + +Options are: +``` + RGBLIGHT_ENABLE=yes + RGB_MATRIX_ENABLE=yes + OLED_ENABLE=yes +``` If using the vial repository, use these: make fingerpunch/rockon/v1/no-features:vial @@ -23,12 +28,4 @@ If using the vial repository, use these: make fingerpunch/rockon/v1/rgbmatrix:vial make fingerpunch/rockon/v1/rgbmatrix-oled:vial -Example of flashing this keyboard: - - make fingerpunch/rockon/v1/no-features:default:flash - -Or in the vial repository: - - make fingerpunch/rockon/v1/no-features:vial:flash - See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/fingerpunch/rockon/v1/rgblight/config.h b/keyboards/fingerpunch/rockon/v1/rgblight/config.h deleted file mode 100644 index 64579bc0166d..000000000000 --- a/keyboards/fingerpunch/rockon/v1/rgblight/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon/v1/rgblight/rules.mk b/keyboards/fingerpunch/rockon/v1/rgblight/rules.mk deleted file mode 100644 index e1a5e61510ae..000000000000 --- a/keyboards/fingerpunch/rockon/v1/rgblight/rules.mk +++ /dev/null @@ -1,29 +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_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 diff --git a/keyboards/fingerpunch/rockon/v1/rgblight_oled/config.h b/keyboards/fingerpunch/rockon/v1/rgblight_oled/config.h deleted file mode 100644 index 771d83f52d42..000000000000 --- a/keyboards/fingerpunch/rockon/v1/rgblight_oled/config.h +++ /dev/null @@ -1,28 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#pragma once -#include "config_common.h" - diff --git a/keyboards/fingerpunch/rockon/v1/rgblight_oled/rules.mk b/keyboards/fingerpunch/rockon/v1/rgblight_oled/rules.mk deleted file mode 100644 index f04575f8a30f..000000000000 --- a/keyboards/fingerpunch/rockon/v1/rgblight_oled/rules.mk +++ /dev/null @@ -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_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 diff --git a/keyboards/fingerpunch/rockon/v1/rgbmatrix/config.h b/keyboards/fingerpunch/rockon/v1/rgbmatrix/config.h deleted file mode 100644 index 7efaf36db9c0..000000000000 --- a/keyboards/fingerpunch/rockon/v1/rgbmatrix/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon/v1/rgbmatrix/rules.mk b/keyboards/fingerpunch/rockon/v1/rgbmatrix/rules.mk deleted file mode 100644 index 694da383f76e..000000000000 --- a/keyboards/fingerpunch/rockon/v1/rgbmatrix/rules.mk +++ /dev/null @@ -1,29 +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_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 diff --git a/keyboards/fingerpunch/rockon/v1/rgbmatrix_oled/config.h b/keyboards/fingerpunch/rockon/v1/rgbmatrix_oled/config.h deleted file mode 100644 index d2e1240e1ea3..000000000000 --- a/keyboards/fingerpunch/rockon/v1/rgbmatrix_oled/config.h +++ /dev/null @@ -1,27 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon/v1/rgbmatrix_oled/rules.mk b/keyboards/fingerpunch/rockon/v1/rgbmatrix_oled/rules.mk deleted file mode 100644 index 673e966c2a19..000000000000 --- a/keyboards/fingerpunch/rockon/v1/rgbmatrix_oled/rules.mk +++ /dev/null @@ -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_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 diff --git a/keyboards/fingerpunch/rockon/v1/rules.mk b/keyboards/fingerpunch/rockon/v1/rules.mk index b75838dd0d86..b3c714b9ff63 100644 --- a/keyboards/fingerpunch/rockon/v1/rules.mk +++ b/keyboards/fingerpunch/rockon/v1/rules.mk @@ -25,8 +25,8 @@ NKRO_ENABLE = no # USB Nkey Rollover BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality # 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,6 +35,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_ENABLE = yes +OLED_ENABLE = no # EXTRAFLAGS += -flto # macros disabled, if you need the extra space MOUSEKEY_ENABLE = no diff --git a/keyboards/fingerpunch/rockon/v2/cirque/config.h b/keyboards/fingerpunch/rockon/v2/cirque/config.h deleted file mode 100644 index 6715cc84b5d6..000000000000 --- a/keyboards/fingerpunch/rockon/v2/cirque/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_CIRQUE -#define XOIVIOX_CIRQUE -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon/v2/cirque/rules.mk b/keyboards/fingerpunch/rockon/v2/cirque/rules.mk deleted file mode 100644 index 94fdcee2771d..000000000000 --- a/keyboards/fingerpunch/rockon/v2/cirque/rules.mk +++ /dev/null @@ -1,22 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_ENABLE = no -ENCODER_ENABLE = no -CIRQUE_ENABLE = yes -MOUSEKEY_ENABLE = yes - -ifeq ($(strip $(CIRQUE_ENABLE)), yes) - POINTING_DEVICE_ENABLE = yes - POINTING_DEVICE_DRIVER = cirque_pinnacle_i2c -endif - -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 diff --git a/keyboards/fingerpunch/rockon/v2/cirque_ec11/config.h b/keyboards/fingerpunch/rockon/v2/cirque_ec11/config.h deleted file mode 100644 index 6715cc84b5d6..000000000000 --- a/keyboards/fingerpunch/rockon/v2/cirque_ec11/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_CIRQUE -#define XOIVIOX_CIRQUE -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon/v2/cirque_ec11/rules.mk b/keyboards/fingerpunch/rockon/v2/cirque_ec11/rules.mk deleted file mode 100644 index 65a6380f8813..000000000000 --- a/keyboards/fingerpunch/rockon/v2/cirque_ec11/rules.mk +++ /dev/null @@ -1,22 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_ENABLE = no -ENCODER_ENABLE = yes -CIRQUE_ENABLE = yes -MOUSEKEY_ENABLE = yes - -ifeq ($(strip $(CIRQUE_ENABLE)), yes) - POINTING_DEVICE_ENABLE = yes - POINTING_DEVICE_DRIVER = cirque_pinnacle_i2c -endif - -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 diff --git a/keyboards/fingerpunch/rockon/v2/cirque_oled/config.h b/keyboards/fingerpunch/rockon/v2/cirque_oled/config.h deleted file mode 100644 index 0a35ebf668b1..000000000000 --- a/keyboards/fingerpunch/rockon/v2/cirque_oled/config.h +++ /dev/null @@ -1,27 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#ifndef XOIVIOX_CIRQUE -#define XOIVIOX_CIRQUE -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon/v2/cirque_oled/rules.mk b/keyboards/fingerpunch/rockon/v2/cirque_oled/rules.mk deleted file mode 100644 index 6ce6407980d0..000000000000 --- a/keyboards/fingerpunch/rockon/v2/cirque_oled/rules.mk +++ /dev/null @@ -1,22 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_ENABLE = yes -ENCODER_ENABLE = no -CIRQUE_ENABLE = yes -MOUSEKEY_ENABLE = yes - -ifeq ($(strip $(CIRQUE_ENABLE)), yes) - POINTING_DEVICE_ENABLE = yes - POINTING_DEVICE_DRIVER = cirque_pinnacle_i2c -endif - -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 diff --git a/keyboards/fingerpunch/rockon/v2/cirque_oled_ec11/config.h b/keyboards/fingerpunch/rockon/v2/cirque_oled_ec11/config.h deleted file mode 100644 index 0a35ebf668b1..000000000000 --- a/keyboards/fingerpunch/rockon/v2/cirque_oled_ec11/config.h +++ /dev/null @@ -1,27 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#ifndef XOIVIOX_CIRQUE -#define XOIVIOX_CIRQUE -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon/v2/cirque_oled_ec11/rules.mk b/keyboards/fingerpunch/rockon/v2/cirque_oled_ec11/rules.mk deleted file mode 100644 index 2bda66ca467b..000000000000 --- a/keyboards/fingerpunch/rockon/v2/cirque_oled_ec11/rules.mk +++ /dev/null @@ -1,22 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_ENABLE = yes -ENCODER_ENABLE = yes -CIRQUE_ENABLE = yes -MOUSEKEY_ENABLE = yes - -ifeq ($(strip $(CIRQUE_ENABLE)), yes) - POINTING_DEVICE_ENABLE = yes - POINTING_DEVICE_DRIVER = cirque_pinnacle_i2c -endif - -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 diff --git a/keyboards/fingerpunch/rockon/v2/config.h b/keyboards/fingerpunch/rockon/v2/config.h index ccc71e53abe5..aca730ccbdd3 100644 --- a/keyboards/fingerpunch/rockon/v2/config.h +++ b/keyboards/fingerpunch/rockon/v2/config.h @@ -24,13 +24,15 @@ along with this program. If not, see . #define ENCODERS_PAD_B {F1, F1} #define ENCODER_RESOLUTION 2 -// cirque trackpad config -#define CIRQUE_PINNACLE_ADDR 0x2A -// If using fingerpunch case -// #define POINTING_DEVICE_ROTATION_270 -// If using chewiedies case -#define POINTING_DEVICE_ROTATION_90 -#define POINTING_DEVICE_TASK_THROTTLE_MS 5 +#ifdef CIRQUE_ENABLE + // cirque trackpad config + #define CIRQUE_PINNACLE_ADDR 0x2A + // If using fingerpunch case + // #define POINTING_DEVICE_ROTATION_270 + // If using chewiedies case + #define POINTING_DEVICE_ROTATION_90 + #define POINTING_DEVICE_TASK_THROTTLE_MS 5 +#endif // BEGIN PWM driver: uncomment if using STeMcell as it's a better led driver // #define WS2812_PWM_DRIVER PWMD2 // default: PWMD2 @@ -43,18 +45,3 @@ along with this program. If not, see . #define I2C1_CLOCK_SPEED 400000 #define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2 - -// #define CIRQUE_PINNACLE_TAPPING_TERM 150 -// #define CIRQUE_PINNACLE_TOUCH_DEBOUNCE 100 -// #define CIRQUE_PINNACLE_X_LOWER 200 -// #define CIRQUE_PINNACLE_X_UPPER 1919 -// #define CIRQUE_PINNACLE_Y_LOWER 200 -// #define CIRQUE_PINNACLE_Y_UPPER 1471 - -// Known issue with the cirque and AVR, jumpy mouse movements... -// message from sillyworld 01/31/2022 stating that these improved usability for AVR based MCUs on the cirque -// https://discord.com/channels/440868230475677696/867530303261114398/937731130440970260 -//#define F_SCL 100000UL -//#define POINTING_DEVICE_TASK_THROTTLE_MS 5 - -// Sadek note: tried the above for the cirque fix, and no dice \ No newline at end of file diff --git a/keyboards/fingerpunch/rockon/v2/ec11/config.h b/keyboards/fingerpunch/rockon/v2/ec11/config.h deleted file mode 100644 index d4903b376d72..000000000000 --- a/keyboards/fingerpunch/rockon/v2/ec11/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon/v2/ec11/rules.mk b/keyboards/fingerpunch/rockon/v2/ec11/rules.mk deleted file mode 100644 index ac83c7e1dad4..000000000000 --- a/keyboards/fingerpunch/rockon/v2/ec11/rules.mk +++ /dev/null @@ -1,16 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/rockon/v2/fp_build.json b/keyboards/fingerpunch/rockon/v2/fp_build.json new file mode 100644 index 000000000000..b30bf093fdf9 --- /dev/null +++ b/keyboards/fingerpunch/rockon/v2/fp_build.json @@ -0,0 +1,27 @@ +[ + { + "type" : "single", + "name" : "CIRQUE_ENABLE", + "user_input": "Do you have a cirque?" + }, + { + "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?" + } +] \ No newline at end of file diff --git a/keyboards/fingerpunch/rockon/v2/no_features/config.h b/keyboards/fingerpunch/rockon/v2/no_features/config.h deleted file mode 100644 index d4903b376d72..000000000000 --- a/keyboards/fingerpunch/rockon/v2/no_features/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon/v2/no_features/rules.mk b/keyboards/fingerpunch/rockon/v2/no_features/rules.mk deleted file mode 100644 index 1be0d0d7b369..000000000000 --- a/keyboards/fingerpunch/rockon/v2/no_features/rules.mk +++ /dev/null @@ -1,29 +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_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 diff --git a/keyboards/fingerpunch/rockon/v2/oled/config.h b/keyboards/fingerpunch/rockon/v2/oled/config.h deleted file mode 100644 index 94472f300a80..000000000000 --- a/keyboards/fingerpunch/rockon/v2/oled/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon/v2/oled/rules.mk b/keyboards/fingerpunch/rockon/v2/oled/rules.mk deleted file mode 100644 index 123064d22714..000000000000 --- a/keyboards/fingerpunch/rockon/v2/oled/rules.mk +++ /dev/null @@ -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_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 diff --git a/keyboards/fingerpunch/rockon/v2/oled_ec11/config.h b/keyboards/fingerpunch/rockon/v2/oled_ec11/config.h deleted file mode 100644 index 94472f300a80..000000000000 --- a/keyboards/fingerpunch/rockon/v2/oled_ec11/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon/v2/oled_ec11/rules.mk b/keyboards/fingerpunch/rockon/v2/oled_ec11/rules.mk deleted file mode 100644 index 18db16e53b67..000000000000 --- a/keyboards/fingerpunch/rockon/v2/oled_ec11/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/rockon/v2/readme.md b/keyboards/fingerpunch/rockon/v2/readme.md index 3ce2104191ab..def7688c62f2 100644 --- a/keyboards/fingerpunch/rockon/v2/readme.md +++ b/keyboards/fingerpunch/rockon/v2/readme.md @@ -7,28 +7,30 @@ An ergonomic 30% keyboard Rock On supports vial! If you want to use Vial, go to https://github.com/sadekbaroudi/vial-qmk/keyboards/fingerpunch/rockon/v1/ 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/rockon/v1/no-features:default - make fingerpunch/rockon/v1/oled:default - make fingerpunch/rockon/v1/rgblight:default - make fingerpunch/rockon/v1/rgblight-oled:default - make fingerpunch/rockon/v1/rgbmatrix:default - make fingerpunch/rockon/v1/rgbmatrix-oled:default - -If using the vial repository, use these: - make fingerpunch/rockon/v1/no-features:vial - make fingerpunch/rockon/v1/oled:vial - make fingerpunch/rockon/v1/rgblight:vial - make fingerpunch/rockon/v1/rgblight-oled:vial - make fingerpunch/rockon/v1/rgbmatrix:vial - make fingerpunch/rockon/v1/rgbmatrix-oled:vial +``` + make fingerpunch/rockon/v2:default RGBLIGHT_ENABLE=yes ENCODER_ENABLE=yes CIRQUE_ENABLE=yes OLED_ENABLE=yes +``` + +Don't forget to add ```CONVERT_TO=stemcell``` if using a stemcell controller. + +Options are: +``` + CIRQUE_ENABLE=yes + RGBLIGHT_ENABLE=yes + RGB_MATRIX_ENABLE=yes + OLED_ENABLE=yes + ENCODER_ENABLE=yes + PIMORONI_TRACKBALL_ENABLE=yes +``` Example of flashing this keyboard: - - make fingerpunch/rockon/v1/no-features:default:flash +``` + make fingerpunch/rockon/v2:default:flash RGBLIGHT_ENABLE=yes ENCODER_ENABLE=yes CIRQUE_ENABLE=yes +``` Or in the vial repository: - - make fingerpunch/rockon/v1/no-features:vial:flash +``` + make fingerpunch/rockon/v2/no-features:vial:flash +``` See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/fingerpunch/rockon/v2/rgblight/config.h b/keyboards/fingerpunch/rockon/v2/rgblight/config.h deleted file mode 100644 index 64579bc0166d..000000000000 --- a/keyboards/fingerpunch/rockon/v2/rgblight/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon/v2/rgblight/rules.mk b/keyboards/fingerpunch/rockon/v2/rgblight/rules.mk deleted file mode 100644 index e1a5e61510ae..000000000000 --- a/keyboards/fingerpunch/rockon/v2/rgblight/rules.mk +++ /dev/null @@ -1,29 +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_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 diff --git a/keyboards/fingerpunch/rockon/v2/rgblight_cirque/config.h b/keyboards/fingerpunch/rockon/v2/rgblight_cirque/config.h deleted file mode 100644 index 6715cc84b5d6..000000000000 --- a/keyboards/fingerpunch/rockon/v2/rgblight_cirque/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_CIRQUE -#define XOIVIOX_CIRQUE -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon/v2/rgblight_cirque/rules.mk b/keyboards/fingerpunch/rockon/v2/rgblight_cirque/rules.mk deleted file mode 100644 index 05467e348590..000000000000 --- a/keyboards/fingerpunch/rockon/v2/rgblight_cirque/rules.mk +++ /dev/null @@ -1,22 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = yes -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_ENABLE = no -ENCODER_ENABLE = no -CIRQUE_ENABLE = yes -MOUSEKEY_ENABLE = yes - -ifeq ($(strip $(CIRQUE_ENABLE)), yes) - POINTING_DEVICE_ENABLE = yes - POINTING_DEVICE_DRIVER = cirque_pinnacle_i2c -endif - -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 diff --git a/keyboards/fingerpunch/rockon/v2/rgblight_cirque_ec11/config.h b/keyboards/fingerpunch/rockon/v2/rgblight_cirque_ec11/config.h deleted file mode 100644 index 6715cc84b5d6..000000000000 --- a/keyboards/fingerpunch/rockon/v2/rgblight_cirque_ec11/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_CIRQUE -#define XOIVIOX_CIRQUE -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon/v2/rgblight_cirque_ec11/rules.mk b/keyboards/fingerpunch/rockon/v2/rgblight_cirque_ec11/rules.mk deleted file mode 100644 index 22cd87039f23..000000000000 --- a/keyboards/fingerpunch/rockon/v2/rgblight_cirque_ec11/rules.mk +++ /dev/null @@ -1,22 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = yes -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_ENABLE = no -ENCODER_ENABLE = yes -CIRQUE_ENABLE = yes -MOUSEKEY_ENABLE = yes - -ifeq ($(strip $(CIRQUE_ENABLE)), yes) - POINTING_DEVICE_ENABLE = yes - POINTING_DEVICE_DRIVER = cirque_pinnacle_i2c -endif - -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 diff --git a/keyboards/fingerpunch/rockon/v2/rgblight_ec11/config.h b/keyboards/fingerpunch/rockon/v2/rgblight_ec11/config.h deleted file mode 100644 index 64579bc0166d..000000000000 --- a/keyboards/fingerpunch/rockon/v2/rgblight_ec11/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon/v2/rgblight_ec11/rules.mk b/keyboards/fingerpunch/rockon/v2/rgblight_ec11/rules.mk deleted file mode 100644 index 0efff70855a1..000000000000 --- a/keyboards/fingerpunch/rockon/v2/rgblight_ec11/rules.mk +++ /dev/null @@ -1,16 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = yes -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/rockon/v2/rgblight_oled/config.h b/keyboards/fingerpunch/rockon/v2/rgblight_oled/config.h deleted file mode 100644 index 771d83f52d42..000000000000 --- a/keyboards/fingerpunch/rockon/v2/rgblight_oled/config.h +++ /dev/null @@ -1,28 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#pragma once -#include "config_common.h" - diff --git a/keyboards/fingerpunch/rockon/v2/rgblight_oled/rules.mk b/keyboards/fingerpunch/rockon/v2/rgblight_oled/rules.mk deleted file mode 100644 index f04575f8a30f..000000000000 --- a/keyboards/fingerpunch/rockon/v2/rgblight_oled/rules.mk +++ /dev/null @@ -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_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 diff --git a/keyboards/fingerpunch/rockon/v2/rgblight_oled_ec11/config.h b/keyboards/fingerpunch/rockon/v2/rgblight_oled_ec11/config.h deleted file mode 100644 index 771d83f52d42..000000000000 --- a/keyboards/fingerpunch/rockon/v2/rgblight_oled_ec11/config.h +++ /dev/null @@ -1,28 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#pragma once -#include "config_common.h" - diff --git a/keyboards/fingerpunch/rockon/v2/rgblight_oled_ec11/rules.mk b/keyboards/fingerpunch/rockon/v2/rgblight_oled_ec11/rules.mk deleted file mode 100644 index 7bfa3a1c6386..000000000000 --- a/keyboards/fingerpunch/rockon/v2/rgblight_oled_ec11/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = yes -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/rockon/v2/rgbmatrix/config.h b/keyboards/fingerpunch/rockon/v2/rgbmatrix/config.h deleted file mode 100644 index 7efaf36db9c0..000000000000 --- a/keyboards/fingerpunch/rockon/v2/rgbmatrix/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon/v2/rgbmatrix/rules.mk b/keyboards/fingerpunch/rockon/v2/rgbmatrix/rules.mk deleted file mode 100644 index 694da383f76e..000000000000 --- a/keyboards/fingerpunch/rockon/v2/rgbmatrix/rules.mk +++ /dev/null @@ -1,29 +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_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 diff --git a/keyboards/fingerpunch/rockon/v2/rgbmatrix_cirque/config.h b/keyboards/fingerpunch/rockon/v2/rgbmatrix_cirque/config.h deleted file mode 100644 index 6715cc84b5d6..000000000000 --- a/keyboards/fingerpunch/rockon/v2/rgbmatrix_cirque/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_CIRQUE -#define XOIVIOX_CIRQUE -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon/v2/rgbmatrix_cirque/rules.mk b/keyboards/fingerpunch/rockon/v2/rgbmatrix_cirque/rules.mk deleted file mode 100644 index 9f168fd4a073..000000000000 --- a/keyboards/fingerpunch/rockon/v2/rgbmatrix_cirque/rules.mk +++ /dev/null @@ -1,22 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = yes -PIMORONI_TRACKBALL_ENABLE = no -OLED_ENABLE = no -ENCODER_ENABLE = no -CIRQUE_ENABLE = yes -MOUSEKEY_ENABLE = yes - -ifeq ($(strip $(CIRQUE_ENABLE)), yes) - POINTING_DEVICE_ENABLE = yes - POINTING_DEVICE_DRIVER = cirque_pinnacle_i2c -endif - -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 diff --git a/keyboards/fingerpunch/rockon/v2/rgbmatrix_cirque_ec11/config.h b/keyboards/fingerpunch/rockon/v2/rgbmatrix_cirque_ec11/config.h deleted file mode 100644 index 6715cc84b5d6..000000000000 --- a/keyboards/fingerpunch/rockon/v2/rgbmatrix_cirque_ec11/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_CIRQUE -#define XOIVIOX_CIRQUE -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon/v2/rgbmatrix_cirque_ec11/rules.mk b/keyboards/fingerpunch/rockon/v2/rgbmatrix_cirque_ec11/rules.mk deleted file mode 100644 index 1f97a8e9d97b..000000000000 --- a/keyboards/fingerpunch/rockon/v2/rgbmatrix_cirque_ec11/rules.mk +++ /dev/null @@ -1,22 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = yes -PIMORONI_TRACKBALL_ENABLE = no -OLED_ENABLE = no -ENCODER_ENABLE = yes -CIRQUE_ENABLE = yes -MOUSEKEY_ENABLE = yes - -ifeq ($(strip $(CIRQUE_ENABLE)), yes) - POINTING_DEVICE_ENABLE = yes - POINTING_DEVICE_DRIVER = cirque_pinnacle_i2c -endif - -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 diff --git a/keyboards/fingerpunch/rockon/v2/rgbmatrix_ec11/config.h b/keyboards/fingerpunch/rockon/v2/rgbmatrix_ec11/config.h deleted file mode 100644 index 7efaf36db9c0..000000000000 --- a/keyboards/fingerpunch/rockon/v2/rgbmatrix_ec11/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon/v2/rgbmatrix_ec11/rules.mk b/keyboards/fingerpunch/rockon/v2/rgbmatrix_ec11/rules.mk deleted file mode 100644 index d4d2db92b5ee..000000000000 --- a/keyboards/fingerpunch/rockon/v2/rgbmatrix_ec11/rules.mk +++ /dev/null @@ -1,16 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = yes -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/rockon/v2/rgbmatrix_oled/config.h b/keyboards/fingerpunch/rockon/v2/rgbmatrix_oled/config.h deleted file mode 100644 index d2e1240e1ea3..000000000000 --- a/keyboards/fingerpunch/rockon/v2/rgbmatrix_oled/config.h +++ /dev/null @@ -1,27 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon/v2/rgbmatrix_oled/rules.mk b/keyboards/fingerpunch/rockon/v2/rgbmatrix_oled/rules.mk deleted file mode 100644 index 673e966c2a19..000000000000 --- a/keyboards/fingerpunch/rockon/v2/rgbmatrix_oled/rules.mk +++ /dev/null @@ -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_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 diff --git a/keyboards/fingerpunch/rockon/v2/rgbmatrix_oled_ec11/config.h b/keyboards/fingerpunch/rockon/v2/rgbmatrix_oled_ec11/config.h deleted file mode 100644 index d2e1240e1ea3..000000000000 --- a/keyboards/fingerpunch/rockon/v2/rgbmatrix_oled_ec11/config.h +++ /dev/null @@ -1,27 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon/v2/rgbmatrix_oled_ec11/rules.mk b/keyboards/fingerpunch/rockon/v2/rgbmatrix_oled_ec11/rules.mk deleted file mode 100644 index 6afc22e0481a..000000000000 --- a/keyboards/fingerpunch/rockon/v2/rgbmatrix_oled_ec11/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = yes -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/rockon/v2/rules.mk b/keyboards/fingerpunch/rockon/v2/rules.mk index 4715f7644fc4..d2a24126762d 100644 --- a/keyboards/fingerpunch/rockon/v2/rules.mk +++ b/keyboards/fingerpunch/rockon/v2/rules.mk @@ -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 = yes # 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 # BEGIN PWM driver: uncomment if using STeMcell as it's a better led driver @@ -39,6 +40,20 @@ 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_ENABLE = yes +OLED_ENABLE = no # EXTRAFLAGS += -flto # macros disabled, if you need the extra space MOUSEKEY_ENABLE = no + +CIRQUE_ENABLE = no +ifeq ($(strip $(CIRQUE_ENABLE)), yes) + POINTING_DEVICE_ENABLE := yes + POINTING_DEVICE_DRIVER := cirque_pinnacle_i2c + OPT_DEFS += -DCIRQUE_ENABLE +endif + +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 \ No newline at end of file diff --git a/keyboards/fingerpunch/rockon_bp/config.h b/keyboards/fingerpunch/rockon_bp/config.h index 8a1eb2642f65..854584fb175e 100644 --- a/keyboards/fingerpunch/rockon_bp/config.h +++ b/keyboards/fingerpunch/rockon_bp/config.h @@ -26,7 +26,6 @@ along with this program. If not, see . //#define DEVICE_VER 0x0001 // Now defined in the revX/config.h #define MANUFACTURER sadekbaroudi #define PRODUCT sadekbaroudi rockon_bp -#define DESCRIPTION sadekbaroudi rockon_bp /* key matrix size */ /* Rows are doubled up */ @@ -36,7 +35,6 @@ along with this program. If not, see . // wiring #define MATRIX_ROW_PINS { A2, B1, B5, B4, A3, A4, B8, B9 } #define MATRIX_COL_PINS { A10, C15, C14, A15, B3, B0, A7, A6, A5 } -#define UNUSED_PINS /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ #define DEBOUNCE 5 @@ -78,24 +76,15 @@ along with this program. If not, see . #define RGBLIGHT_VAL_STEP 16 #define RGBLIGHT_LIMIT_VAL 120 /* 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 diff --git a/keyboards/fingerpunch/rockon_bp/ec11/config.h b/keyboards/fingerpunch/rockon_bp/ec11/config.h deleted file mode 100644 index d4903b376d72..000000000000 --- a/keyboards/fingerpunch/rockon_bp/ec11/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon_bp/ec11/rules.mk b/keyboards/fingerpunch/rockon_bp/ec11/rules.mk deleted file mode 100644 index ac83c7e1dad4..000000000000 --- a/keyboards/fingerpunch/rockon_bp/ec11/rules.mk +++ /dev/null @@ -1,16 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/rockon_bp/fp_build.json b/keyboards/fingerpunch/rockon_bp/fp_build.json new file mode 100644 index 000000000000..b30bf093fdf9 --- /dev/null +++ b/keyboards/fingerpunch/rockon_bp/fp_build.json @@ -0,0 +1,27 @@ +[ + { + "type" : "single", + "name" : "CIRQUE_ENABLE", + "user_input": "Do you have a cirque?" + }, + { + "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?" + } +] \ No newline at end of file diff --git a/keyboards/fingerpunch/rockon_bp/no_features/config.h b/keyboards/fingerpunch/rockon_bp/no_features/config.h deleted file mode 100644 index d4903b376d72..000000000000 --- a/keyboards/fingerpunch/rockon_bp/no_features/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon_bp/no_features/rules.mk b/keyboards/fingerpunch/rockon_bp/no_features/rules.mk deleted file mode 100644 index c1e3f00c4823..000000000000 --- a/keyboards/fingerpunch/rockon_bp/no_features/rules.mk +++ /dev/null @@ -1,16 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/rockon_bp/oled/config.h b/keyboards/fingerpunch/rockon_bp/oled/config.h deleted file mode 100644 index 94472f300a80..000000000000 --- a/keyboards/fingerpunch/rockon_bp/oled/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon_bp/oled/rules.mk b/keyboards/fingerpunch/rockon_bp/oled/rules.mk deleted file mode 100644 index 0691c6f6410b..000000000000 --- a/keyboards/fingerpunch/rockon_bp/oled/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/rockon_bp/oled_ec11/config.h b/keyboards/fingerpunch/rockon_bp/oled_ec11/config.h deleted file mode 100644 index 94472f300a80..000000000000 --- a/keyboards/fingerpunch/rockon_bp/oled_ec11/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon_bp/oled_ec11/rules.mk b/keyboards/fingerpunch/rockon_bp/oled_ec11/rules.mk deleted file mode 100644 index 18db16e53b67..000000000000 --- a/keyboards/fingerpunch/rockon_bp/oled_ec11/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/rockon_bp/readme.md b/keyboards/fingerpunch/rockon_bp/readme.md index 5ccd235a9ab9..b0eaa5a213e9 100644 --- a/keyboards/fingerpunch/rockon_bp/readme.md +++ b/keyboards/fingerpunch/rockon_bp/readme.md @@ -6,20 +6,20 @@ An ergonomic 50% keyboard (unimplemented for black pill as of now) Rock On supports vial! If you want to use Vial, go to https://github.com/sadekbaroudi/vial-qmk/keyboards/fingerpunch/rockon_bp/ -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/rockon_bp/no-features:default - make fingerpunch/rockon_bp/oled:default - make fingerpunch/rockon_bp/rgblight:default - make fingerpunch/rockon_bp/rgblight-oled:default - make fingerpunch/rockon_bp/rgbmatrix:default - make fingerpunch/rockon_bp/rgbmatrix-oled:default - make fingerpunch/rockon_bp/ec11:default - make fingerpunch/rockon_bp/oled_ec11:default - make fingerpunch/rockon_bp/rgblight_ec11:default - make fingerpunch/rockon_bp/rgblight_oled_ec11:default - make fingerpunch/rockon_bp/rgbmatrix_ec11:default - make fingerpunch/rockon_bp/rgbmatrix_oled_ec11:default +To build the firmware for this keyboard (after setting up your build environment): +``` + make fingerpunch/rockon_bp:default RGBLIGHT_ENABLE=yes ENCODER_ENABLE=yes CIRQUE_ENABLE=yes OLED_ENABLE=yes +``` + +Options are: +``` + CIRQUE_ENABLE=yes + RGBLIGHT_ENABLE=yes + RGB_MATRIX_ENABLE=yes + OLED_ENABLE=yes + ENCODER_ENABLE=yes + PIMORONI_TRACKBALL_ENABLE=yes +``` (As of April 2022, Vial not supported for this board yet) If using the vial repository, use these: make fingerpunch/rockon_bp/no-features:vial diff --git a/keyboards/fingerpunch/rockon_bp/rgblight/config.h b/keyboards/fingerpunch/rockon_bp/rgblight/config.h deleted file mode 100644 index 64579bc0166d..000000000000 --- a/keyboards/fingerpunch/rockon_bp/rgblight/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon_bp/rgblight/rules.mk b/keyboards/fingerpunch/rockon_bp/rgblight/rules.mk deleted file mode 100644 index 8d7dfc18160f..000000000000 --- a/keyboards/fingerpunch/rockon_bp/rgblight/rules.mk +++ /dev/null @@ -1,16 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = yes -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/rockon_bp/rgblight_ec11/config.h b/keyboards/fingerpunch/rockon_bp/rgblight_ec11/config.h deleted file mode 100644 index 64579bc0166d..000000000000 --- a/keyboards/fingerpunch/rockon_bp/rgblight_ec11/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon_bp/rgblight_ec11/rules.mk b/keyboards/fingerpunch/rockon_bp/rgblight_ec11/rules.mk deleted file mode 100644 index 0efff70855a1..000000000000 --- a/keyboards/fingerpunch/rockon_bp/rgblight_ec11/rules.mk +++ /dev/null @@ -1,16 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = yes -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/rockon_bp/rgblight_oled/config.h b/keyboards/fingerpunch/rockon_bp/rgblight_oled/config.h deleted file mode 100644 index 771d83f52d42..000000000000 --- a/keyboards/fingerpunch/rockon_bp/rgblight_oled/config.h +++ /dev/null @@ -1,28 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#pragma once -#include "config_common.h" - diff --git a/keyboards/fingerpunch/rockon_bp/rgblight_oled/rules.mk b/keyboards/fingerpunch/rockon_bp/rgblight_oled/rules.mk deleted file mode 100644 index ee06510f39a6..000000000000 --- a/keyboards/fingerpunch/rockon_bp/rgblight_oled/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = yes -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/rockon_bp/rgblight_oled_ec11/config.h b/keyboards/fingerpunch/rockon_bp/rgblight_oled_ec11/config.h deleted file mode 100644 index 771d83f52d42..000000000000 --- a/keyboards/fingerpunch/rockon_bp/rgblight_oled_ec11/config.h +++ /dev/null @@ -1,28 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#pragma once -#include "config_common.h" - diff --git a/keyboards/fingerpunch/rockon_bp/rgblight_oled_ec11/rules.mk b/keyboards/fingerpunch/rockon_bp/rgblight_oled_ec11/rules.mk deleted file mode 100644 index 7bfa3a1c6386..000000000000 --- a/keyboards/fingerpunch/rockon_bp/rgblight_oled_ec11/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = yes -RGB_MATRIX_ENABLE = no -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/rockon_bp/rgbmatrix/config.h b/keyboards/fingerpunch/rockon_bp/rgbmatrix/config.h deleted file mode 100644 index 7efaf36db9c0..000000000000 --- a/keyboards/fingerpunch/rockon_bp/rgbmatrix/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon_bp/rgbmatrix/rules.mk b/keyboards/fingerpunch/rockon_bp/rgbmatrix/rules.mk deleted file mode 100644 index 47094934f679..000000000000 --- a/keyboards/fingerpunch/rockon_bp/rgbmatrix/rules.mk +++ /dev/null @@ -1,16 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = yes -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/rockon_bp/rgbmatrix_ec11/config.h b/keyboards/fingerpunch/rockon_bp/rgbmatrix_ec11/config.h deleted file mode 100644 index 7efaf36db9c0..000000000000 --- a/keyboards/fingerpunch/rockon_bp/rgbmatrix_ec11/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon_bp/rgbmatrix_ec11/rules.mk b/keyboards/fingerpunch/rockon_bp/rgbmatrix_ec11/rules.mk deleted file mode 100644 index d4d2db92b5ee..000000000000 --- a/keyboards/fingerpunch/rockon_bp/rgbmatrix_ec11/rules.mk +++ /dev/null @@ -1,16 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = yes -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/rockon_bp/rgbmatrix_oled/config.h b/keyboards/fingerpunch/rockon_bp/rgbmatrix_oled/config.h deleted file mode 100644 index d2e1240e1ea3..000000000000 --- a/keyboards/fingerpunch/rockon_bp/rgbmatrix_oled/config.h +++ /dev/null @@ -1,27 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon_bp/rgbmatrix_oled/rules.mk b/keyboards/fingerpunch/rockon_bp/rgbmatrix_oled/rules.mk deleted file mode 100644 index 4a8489f025bc..000000000000 --- a/keyboards/fingerpunch/rockon_bp/rgbmatrix_oled/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = yes -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/rockon_bp/rgbmatrix_oled_ec11/config.h b/keyboards/fingerpunch/rockon_bp/rgbmatrix_oled_ec11/config.h deleted file mode 100644 index d2e1240e1ea3..000000000000 --- a/keyboards/fingerpunch/rockon_bp/rgbmatrix_oled_ec11/config.h +++ /dev/null @@ -1,27 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBMATRIX -#define XOIVIOX_RGBMATRIX -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/rockon_bp/rgbmatrix_oled_ec11/rules.mk b/keyboards/fingerpunch/rockon_bp/rgbmatrix_oled_ec11/rules.mk deleted file mode 100644 index 6afc22e0481a..000000000000 --- a/keyboards/fingerpunch/rockon_bp/rgbmatrix_oled_ec11/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = yes -PIMORONI_TRACKBALL_ENABLE = no -OLED_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 diff --git a/keyboards/fingerpunch/rockon_bp/rules.mk b/keyboards/fingerpunch/rockon_bp/rules.mk index ac0b9d76d7d3..a3c92d66f0fc 100644 --- a/keyboards/fingerpunch/rockon_bp/rules.mk +++ b/keyboards/fingerpunch/rockon_bp/rules.mk @@ -18,9 +18,9 @@ NKRO_ENABLE = no # USB Nkey Rollover BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality # Either do RGBLIGHT_ENABLE or RGB_MATRIX_ENABLE and RGB_MATRIX_DRIVER -#RGBLIGHT_ENABLE = yes -#RGBLIGHT_DRIVER = WS2812 -RGB_MATRIX_ENABLE = yes +RGBLIGHT_ENABLE = no +RGBLIGHT_DRIVER = WS2812 +RGB_MATRIX_ENABLE = no RGB_MATRIX_DRIVER = WS2812 #// disable testing WS2812_DRIVER = pwm @@ -31,7 +31,7 @@ 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_ENABLE = yes +OLED_ENABLE = no # EXTRAFLAGS += -flto # macros disabled, if you need the extra space MOUSEKEY_ENABLE = yes @@ -42,13 +42,19 @@ OPT_DEFS += -DSTM32_DMA_REQUIRED=TRUE KEYBOARD_SHARED_EP = yes # Free up some extra endpoints - needed if console+mouse+extra -CIRQUE_ENABLE = yes - DEFERRED_EXEC_ENABLE = yes -ENCODER_MAP_ENABLE = yes -# // disable testing +CIRQUE_ENABLE = no + ifeq ($(strip $(CIRQUE_ENABLE)), yes) - POINTING_DEVICE_ENABLE = yes - POINTING_DEVICE_DRIVER = cirque_pinnacle_i2c + POINTING_DEVICE_ENABLE := yes + POINTING_DEVICE_DRIVER := cirque_pinnacle_i2c endif + +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 \ No newline at end of file diff --git a/keyboards/fingerpunch/stemcell_jumper_tester/rules.mk b/keyboards/fingerpunch/stemcell_jumper_tester/rules.mk index 71323a6131cf..1309a707a306 100644 --- a/keyboards/fingerpunch/stemcell_jumper_tester/rules.mk +++ b/keyboards/fingerpunch/stemcell_jumper_tester/rules.mk @@ -34,8 +34,8 @@ 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 -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 = no # 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 diff --git a/keyboards/fingerpunch/sweeeeep/config.h b/keyboards/fingerpunch/sweeeeep/config.h index 0372fee941a3..69a3bcde07c0 100644 --- a/keyboards/fingerpunch/sweeeeep/config.h +++ b/keyboards/fingerpunch/sweeeeep/config.h @@ -24,7 +24,6 @@ #define PRODUCT_ID 0x5111 #define MANUFACTURER sadekbaroudi #define PRODUCT sadekbaroudi sweeeeep -#define DESCRIPTION sadekbaroudi sweeeeep /* * Keyboard Matrix Assignments @@ -62,32 +61,21 @@ #define RGBLIGHT_VAL_STEP 16 #define RGBLIGHT_LIMIT_VAL 150 /* 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 OLED_ENABLE #define OLED_DISPLAY_128X32 #endif -#define UNUSED_PINS - /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ #define DEBOUNCE 5 diff --git a/keyboards/fingerpunch/sweeeeep/evq/config.h b/keyboards/fingerpunch/sweeeeep/evq/config.h deleted file mode 100644 index 92f927666295..000000000000 --- a/keyboards/fingerpunch/sweeeeep/evq/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#pragma once -#include "config_common.h" \ No newline at end of file diff --git a/keyboards/fingerpunch/sweeeeep/evq/rules.mk b/keyboards/fingerpunch/sweeeeep/evq/rules.mk deleted file mode 100644 index 4b21dccad2b1..000000000000 --- a/keyboards/fingerpunch/sweeeeep/evq/rules.mk +++ /dev/null @@ -1,7 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -OLED_ENABLE = no -OLED_DRIVER_ENABLE = no -ENCODER_ENABLE = yes diff --git a/keyboards/fingerpunch/sweeeeep/fp_build.json b/keyboards/fingerpunch/sweeeeep/fp_build.json new file mode 100644 index 000000000000..177536d322c0 --- /dev/null +++ b/keyboards/fingerpunch/sweeeeep/fp_build.json @@ -0,0 +1,17 @@ +[ + { + "type" : "single", + "name" : "RGBLIGHT_ENABLE", + "user_input": "Do you have RGB?" + }, + { + "type" : "single", + "name" : "ENCODER_ENABLE", + "user_input": "Do you have one or more rotary encoders?" + }, + { + "type" : "single", + "name" : "OLED_ENABLE", + "user_input": "Do you have an OLED?" + } +] \ No newline at end of file diff --git a/keyboards/fingerpunch/sweeeeep/no_features/config.h b/keyboards/fingerpunch/sweeeeep/no_features/config.h deleted file mode 100644 index 92f927666295..000000000000 --- a/keyboards/fingerpunch/sweeeeep/no_features/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#pragma once -#include "config_common.h" \ No newline at end of file diff --git a/keyboards/fingerpunch/sweeeeep/no_features/rules.mk b/keyboards/fingerpunch/sweeeeep/no_features/rules.mk deleted file mode 100644 index fc775fab24fd..000000000000 --- a/keyboards/fingerpunch/sweeeeep/no_features/rules.mk +++ /dev/null @@ -1,6 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -OLED_ENABLE = no -OLED_DRIVER_ENABLE = no diff --git a/keyboards/fingerpunch/sweeeeep/oled/config.h b/keyboards/fingerpunch/sweeeeep/oled/config.h deleted file mode 100644 index 94472f300a80..000000000000 --- a/keyboards/fingerpunch/sweeeeep/oled/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/sweeeeep/oled/rules.mk b/keyboards/fingerpunch/sweeeeep/oled/rules.mk deleted file mode 100644 index d2ba31991209..000000000000 --- a/keyboards/fingerpunch/sweeeeep/oled/rules.mk +++ /dev/null @@ -1,6 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = no -OLED_ENABLE = yes - diff --git a/keyboards/fingerpunch/sweeeeep/readme.md b/keyboards/fingerpunch/sweeeeep/readme.md index a88e848c6f52..ec59632a1b78 100644 --- a/keyboards/fingerpunch/sweeeeep/readme.md +++ b/keyboards/fingerpunch/sweeeeep/readme.md @@ -12,13 +12,19 @@ This is a reversible sweep pcb with support for 36 keys, per key leds, oled, and # Firmware -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/sweeeeep/no-features:default - make fingerpunch/sweeeeep/oled:default - make fingerpunch/sweeeeep/rgblight:default - make fingerpunch/sweeeeep/rgblight_oled:default - +To build the firmware for this keyboard (after setting up your build environment): +``` + make fingerpunch/sweeeeep:default RGBLIGHT_ENABLE=yes ENCODER_ENABLE=yes OLED_ENABLE=yes +``` + +Don't forget to add ```CONVERT_TO=stemcell``` if using a stemcell controller. + +Options are: +``` + RGBLIGHT_ENABLE=yes + OLED_ENABLE=yes + ENCODER_ENABLE=yes +``` If using the vial repository, use these: make fingerpunch/sweeeeep/no-features:vial diff --git a/keyboards/fingerpunch/sweeeeep/rgblight/config.h b/keyboards/fingerpunch/sweeeeep/rgblight/config.h deleted file mode 100644 index 64579bc0166d..000000000000 --- a/keyboards/fingerpunch/sweeeeep/rgblight/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#pragma once -#include "config_common.h" diff --git a/keyboards/fingerpunch/sweeeeep/rgblight/rules.mk b/keyboards/fingerpunch/sweeeeep/rgblight/rules.mk deleted file mode 100644 index 9e3bed953d41..000000000000 --- a/keyboards/fingerpunch/sweeeeep/rgblight/rules.mk +++ /dev/null @@ -1,6 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = yes -OLED_ENABLE = no -OLED_DRIVER_ENABLE = no diff --git a/keyboards/fingerpunch/sweeeeep/rgblight_evq/config.h b/keyboards/fingerpunch/sweeeeep/rgblight_evq/config.h deleted file mode 100644 index 771d83f52d42..000000000000 --- a/keyboards/fingerpunch/sweeeeep/rgblight_evq/config.h +++ /dev/null @@ -1,28 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#pragma once -#include "config_common.h" - diff --git a/keyboards/fingerpunch/sweeeeep/rgblight_evq/rules.mk b/keyboards/fingerpunch/sweeeeep/rgblight_evq/rules.mk deleted file mode 100644 index 0f699aef25f4..000000000000 --- a/keyboards/fingerpunch/sweeeeep/rgblight_evq/rules.mk +++ /dev/null @@ -1,6 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = yes -OLED_ENABLE = no -ENCODER_ENABLE = yes diff --git a/keyboards/fingerpunch/sweeeeep/rgblight_oled/config.h b/keyboards/fingerpunch/sweeeeep/rgblight_oled/config.h deleted file mode 100644 index 771d83f52d42..000000000000 --- a/keyboards/fingerpunch/sweeeeep/rgblight_oled/config.h +++ /dev/null @@ -1,28 +0,0 @@ -/* -Copyright 2021 Sadek Baroudi - -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 . -*/ - -#ifndef XOIVIOX_RGBLIGHT -#define XOIVIOX_RGBLIGHT -#endif - -#ifndef XOIVIOX_OLED -#define XOIVIOX_OLED -#endif - -#pragma once -#include "config_common.h" - diff --git a/keyboards/fingerpunch/sweeeeep/rgblight_oled/rules.mk b/keyboards/fingerpunch/sweeeeep/rgblight_oled/rules.mk deleted file mode 100644 index ef79dd6846e7..000000000000 --- a/keyboards/fingerpunch/sweeeeep/rgblight_oled/rules.mk +++ /dev/null @@ -1,6 +0,0 @@ -# Build Options -# change yes to no to disable -# -RGBLIGHT_ENABLE = yes -OLED_ENABLE = yes - diff --git a/keyboards/fingerpunch/sweeeeep/rules.mk b/keyboards/fingerpunch/sweeeeep/rules.mk index 7efa64d51c4e..02666b30bd01 100644 --- a/keyboards/fingerpunch/sweeeeep/rules.mk +++ b/keyboards/fingerpunch/sweeeeep/rules.mk @@ -23,7 +23,7 @@ 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_ENABLE = yes +OLED_ENABLE = no # EXTRAFLAGS += -flto # macros disabled, if you need the extra space MOUSEKEY_ENABLE = no diff --git a/keyboards/fingerpunch/ximi/config.h b/keyboards/fingerpunch/ximi/config.h index 869316bba1ef..10125d1126eb 100644 --- a/keyboards/fingerpunch/ximi/config.h +++ b/keyboards/fingerpunch/ximi/config.h @@ -31,6 +31,11 @@ along with this program. If not, see . #define MATRIX_ROWS 6 #define MATRIX_COLS 16 +// For shift register (and optionally trackball) +#define SPI_SCK_PIN GP2 +#define SPI_MOSI_PIN GP3 +#define SPI_MISO_PIN GP4 + #define SHIFTREG_MATRIX_COL_CS GP1 #define SHIFTREG_DIVISOR 8 // needs to be the same as the PMW33XX_CS_DIVISOR below // These next two should match the MATRIX_ROWS and MATRIX_COLS if a unibody, and should be cut in half if a split keyboard @@ -46,32 +51,76 @@ along with this program. If not, see . #define SPLIT_POINTING_ENABLE #define SPLIT_LAYER_STATE_ENABLE #define SPLIT_MODS_ENABLE -#define POINTING_DEVICE_COMBINED #define SOFT_SERIAL_PIN GP0 #define USE_SERIAL #define SELECT_SOFT_SERIAL_SPEED 0 #define RGB_DI_PIN GP26 #ifdef RGBLIGHT_ENABLE -# define RGBLIGHT_SPLIT -# define RGBLED_SPLIT { 21, 21 } -# define RGBLED_NUM 42 -# define RGBLIGHT_HUE_STEP 16 -# define RGBLIGHT_SAT_STEP 16 -# define RGBLIGHT_VAL_STEP 16 -# define RGBLIGHT_LIMIT_VAL 180 /* 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 */ + #define RGBLIGHT_SPLIT + #define RGBLED_SPLIT { 21, 21 } + #define RGBLED_NUM 42 + #define RGBLIGHT_HUE_STEP 16 + #define RGBLIGHT_SAT_STEP 16 + #define RGBLIGHT_VAL_STEP 16 + #define RGBLIGHT_LIMIT_VAL 180 /* 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 */ + #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 -# define SPLIT_TRANSPORT_MIRROR -# define DRIVER_LED_TOTAL 42 // Number of LEDs -# define RGB_MATRIX_SPLIT { 21, 21 } -# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 180 -# define RGB_MATRIX_STARTUP_HUE 35 -# define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS -# define RGB_DISABLE_WHEN_USB_SUSPENDED -# define RGB_MATRIX_KEYPRESSES + #define SPLIT_TRANSPORT_MIRROR + #define DRIVER_LED_TOTAL 42 // Number of LEDs + #define RGB_MATRIX_SPLIT { 21, 21 } + #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 180 + #define RGB_MATRIX_STARTUP_HUE 35 + #define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS + #define RGB_DISABLE_WHEN_USB_SUSPENDED + #define RGB_MATRIX_KEYPRESSES + #define RGB_MATRIX_FRAMEBUFFER_EFFECTS + #define RGB_MATRIX_KEYREACTIVE_ENABLED + #define ENABLE_RGB_MATRIX_ALPHAS_MODS + #define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN + #define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT + #define ENABLE_RGB_MATRIX_BREATHING + #define ENABLE_RGB_MATRIX_BAND_SAT + #define ENABLE_RGB_MATRIX_BAND_VAL + #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT + #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL + #define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT + #define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL + #define ENABLE_RGB_MATRIX_CYCLE_ALL + #define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT + #define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN + #define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON + #define ENABLE_RGB_MATRIX_DUAL_BEACON + #define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL + #define ENABLE_RGB_MATRIX_CYCLE_SPIRAL + #define ENABLE_RGB_MATRIX_RAINBOW_BEACON + #define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS + #define ENABLE_RGB_MATRIX_RAINDROPS + #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS + #define ENABLE_RGB_MATRIX_DIGITAL_RAIN + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS + #define ENABLE_RGB_MATRIX_SPLASH + #define ENABLE_RGB_MATRIX_MULTISPLASH + #define ENABLE_RGB_MATRIX_SOLID_SPLASH + #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH #endif /* Set 0 if debouncing isn't needed */ @@ -80,31 +129,31 @@ along with this program. If not, see . /* audio support */ // Pending https://github.com/qmk/qmk_firmware/pull/17723 and https://github.com/qmk/qmk_firmware/pull/17706 #ifdef AUDIO_ENABLE -# define AUDIO_VOICES -# define AUDIO_PIN GP4 -# define AUDIO_PWM_DRIVER PWMD2 -# define AUDIO_PWM_CHANNEL RP2040_PWM_CHANNEL_4 -# define NO_MUSIC_MODE -# define STARTUP_SONG SONG(PREONIC_SOUND) -# define DEFAULT_LAYER_SONGS \ + #define AUDIO_VOICES + #define AUDIO_PIN GP4 + #define AUDIO_PWM_DRIVER PWMD2 + #define AUDIO_PWM_CHANNEL RP2040_PWM_CHANNEL_4 + #define NO_MUSIC_MODE + #define STARTUP_SONG SONG(PREONIC_SOUND) + #define DEFAULT_LAYER_SONGS \ { SONG(QWERTY_SOUND), SONG(COLEMAK_SOUND) } #endif #ifdef HAPTIC_ENABLE -# define FB_ERM_LRA 1 -# define FB_BRAKEFACTOR 3 // For 1x:0, 2x:1, 3x:2, 4x:3, 6x:4, 8x:5, 16x:6, Disable Braking:7 -# define FB_LOOPGAIN 1 // For Low:0, Medium:1, High:2, Very High:3 -# define RATED_VOLTAGE 2 -# define V_PEAK 2.8 -# define V_RMS 2.0 -# define F_LRA 150 // resonance freq -# define DRV_GREETING alert_750ms -# define NO_HAPTIC_ALPHA -# define NO_HAPTIC_LOCKKEYS -# define NO_HAPTIC_PUNCTUATION -# define NO_HAPTIC_NAV -# define NO_HAPTIC_NUMERIC -# define NO_HAPTIC_MOD + #define FB_ERM_LRA 1 + #define FB_BRAKEFACTOR 3 // For 1x:0, 2x:1, 3x:2, 4x:3, 6x:4, 8x:5, 16x:6, Disable Braking:7 + #define FB_LOOPGAIN 1 // For Low:0, Medium:1, High:2, Very High:3 + #define RATED_VOLTAGE 2 + #define V_PEAK 2.8 + #define V_RMS 2.0 + #define F_LRA 150 // resonance freq + #define DRV_GREETING alert_750ms + #define NO_HAPTIC_ALPHA + #define NO_HAPTIC_LOCKKEYS + #define NO_HAPTIC_PUNCTUATION + #define NO_HAPTIC_NAV + #define NO_HAPTIC_NUMERIC + #define NO_HAPTIC_MOD #endif /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ @@ -116,36 +165,41 @@ along with this program. If not, see . #define I2C1_SDA_PIN GP6 #define I2C1_SCL_PIN GP7 -// cirque trackpad config -#define CIRQUE_PINNACLE_ADDR 0x2A -// Comment line above, and uncomment 2 lines below to switch to relative mode and enable right click -// Note that tap to click doesn't work on the slave side unless you enable relative mode -// #define CIRQUE_PINNACLE_POSITION_MODE CIRQUE_PINNACLE_RELATIVE_MODE -// #define CIRQUE_PINNACLE_SECONDARY_TAP_ENABLE -#define CIRQUE_PINNACLE_TAP_ENABLE -#define POINTING_DEVICE_TASK_THROTTLE_MS 5 -#define POINTING_DEVICE_ROTATION_90 // move to cirque specific config -#define POINTING_DEVICE_ROTATION_90_RIGHT -#define I2C1_CLOCK_SPEED 400000 -#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2 - -// Trackball config -// Move into pwm3360 feature directory -#define PMW33XX_CS_PIN GP26 -#define PMW33XX_CPI 800 -#define PMW33XX_CS_DIVISOR 8 // needs to be the same as the SHIFTREG_DIVISOR above -// #define POINTING_DEVICE_INVERT_Y // move to trackball specific config - -#define SPI_SCK_PIN GP2 -#define SPI_MOSI_PIN GP3 -#define SPI_MISO_PIN GP4 +#ifdef CIRQUE_ENABLE + // cirque trackpad config + #define CIRQUE_PINNACLE_ADDR 0x2A + // Comment line above, and uncomment 2 lines below to switch to relative mode and enable right click + // Note that tap to click doesn't work on the slave side unless you enable relative mode + // #define CIRQUE_PINNACLE_POSITION_MODE CIRQUE_PINNACLE_RELATIVE_MODE + // #define CIRQUE_PINNACLE_SECONDARY_TAP_ENABLE + #define CIRQUE_PINNACLE_TAP_ENABLE + #define POINTING_DEVICE_TASK_THROTTLE_MS 5 + #define POINTING_DEVICE_ROTATION_90 // move to cirque specific config + #define POINTING_DEVICE_ROTATION_90_RIGHT + #define I2C1_CLOCK_SPEED 400000 + #define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2 +#ifdef FP_CIRQUE_BOTH + #define POINTING_DEVICE_COMBINED +#endif +#ifdef FP_CIRQUE_LEFT + #define POINTING_DEVICE_LEFT +#endif +#ifdef FP_CIRQUE_RIGHT + #define POINTING_DEVICE_RIGHT +#endif +#endif -/* SPI config for pmw3360 sensor. */ -// #define SPI_DRIVER SPID1 -// #define SPI_SCK_PIN GP2 -// #define SPI_SCK_PAL_MODE 5 -// #define SPI_MOSI_PIN GP3 -// #define SPI_MOSI_PAL_MODE 5 -// #define SPI_MISO_PIN GP4 -// #define SPI_MISO_PAL_MODE 5 -// end Trackball config +#ifdef FP_TRACKBALL_ENABLE + // Trackball config + #define PMW33XX_CS_PIN GP26 + #define PMW33XX_CPI 800 + #define PMW33XX_CS_DIVISOR 8 // needs to be the same as the SHIFTREG_DIVISOR above + // #define POINTING_DEVICE_INVERT_Y // move to trackball specific config + + /* SPI config for pmw3360 sensor. */ + #define SPI_DRIVER SPID1 + #define SPI_SCK_PAL_MODE 5 + #define SPI_MOSI_PAL_MODE 5 + #define SPI_MISO_PIN GP4 + #define SPI_MISO_PAL_MODE 5 +#endif \ No newline at end of file diff --git a/keyboards/fingerpunch/ximi/fp_build.json b/keyboards/fingerpunch/ximi/fp_build.json new file mode 100644 index 000000000000..f11b87ff14f5 --- /dev/null +++ b/keyboards/fingerpunch/ximi/fp_build.json @@ -0,0 +1,27 @@ +[ + { + "type" : "one-of", + "names" : [ "FP_TRACKBALL_BOTH", "FP_TRACKBALL_LEFT", "FP_TRACKBALL_RIGHT" ], + "user_input": "Do you have a no trackball, on both sides, left, or right?" + }, + { + "type" : "one-of", + "names" : [ "FP_CIRQUE_BOTH", "FP_CIRQUE_LEFT", "FP_CIRQUE_RIGHT" ], + "user_input": "Do you have a no cirque trackpad, on both sides, left, or right?" + }, + { + "type" : "single", + "name" : "RGBLIGHT_ENABLE", + "user_input": "Do you have RGB?" + }, + { + "type" : "single", + "name" : "AUDIO_ENABLE", + "user_input": "Do you have audio buzzer?" + }, + { + "type" : "single", + "name" : "HAPTIC_FEEDBACK", + "user_input": "Do you have haptic feedback?" + } +] diff --git a/keyboards/fingerpunch/ximi/readme.md b/keyboards/fingerpunch/ximi/readme.md index 1fb992764e25..4de424884769 100644 --- a/keyboards/fingerpunch/ximi/readme.md +++ b/keyboards/fingerpunch/ximi/readme.md @@ -4,19 +4,35 @@ * Hardware Supported: ximi PCB Make example for this keyboard (after setting up your build environment): - - make fingerpunch/ximi:default - -Flashing example for this keyboard ([using the command line](https://docs.qmk.fm/#/newbs_flashing?id=flash-your-keyboard-from-the-command-line)): - - make fingerpunch/ximi:default:flash +``` + make fingerpunch/ximi:default RGBLIGHT_ENABLE=yes FP_CIRQUE_BOTH=yes HAPTIC_ENABLE=yes +``` + +Don't forget to add ```CONVERT_TO=stemcell``` if using a stemcell controller. + +Options are: +``` + FP_TRACKBALL_BOTH=yes + FP_TRACKBALL_LEFT=yes + FP_TRACKBALL_RIGHT=yes + FP_CIRQUE_BOTH=yes + FP_CIRQUE_LEFT=yes + FP_CIRQUE_RIGHT=yes + RGBLIGHT_ENABLE=yes + AUDIO_ENABLE=yes + HAPTIC_FEEDBACK=yes +``` + +Notes: +* Pick one (or none) of FP_TRACKBALL_* only. Pick one (or none) of FP_CIRQUE_* only. +* If you are using a trackball, you cannot use per key rgb or audio. It will be automatically disabled. The hardware doesn't support them together. See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. ## Build Guide See: -https://github.com/sadekbaroudi/fingerpunch/blob/master/luakeeb/BUILDGUIDE.md +https://github.com/sadekbaroudi/fingerpunch/blob/master/ximi/ ## Choosing which board to plug the USB cable into (choosing Master) diff --git a/keyboards/fingerpunch/ximi/rules.mk b/keyboards/fingerpunch/ximi/rules.mk index 4225ba4c3471..e5b2d4edc236 100644 --- a/keyboards/fingerpunch/ximi/rules.mk +++ b/keyboards/fingerpunch/ximi/rules.mk @@ -17,7 +17,7 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality # Either do RGBLIGHT_ENABLE or RGB_MATRIX_ENABLE and RGB_MATRIX_DRIVER RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = no +RGB_MATRIX_ENABLE = no # not supported yet, but will add RGB_MATRIX_DRIVER = WS2812 WS2812_DRIVER = vendor @@ -27,7 +27,6 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID AUDIO_ENABLE = no # Audio output 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 EXTRAFLAGS += -flto # macros enable or disable MOUSEKEY_ENABLE = yes @@ -36,26 +35,68 @@ SERIAL_DRIVER = vendor #HAPTIC FEEDBACK +HAPTIC_ENABLE ?= no HAPTIC_DRIVER = DRV2605L -HAPTIC_ENABLE = yes # Audio doesn't work with RP2040 yet :( -AUDIO_ENABLE = no +# Pending https://github.com/qmk/qmk_firmware/pull/17723 and https://github.com/qmk/qmk_firmware/pull/17706 +AUDIO_ENABLE ?= no -CIRQUE_ENABLE = yes +FP_CIRQUE_BOTH ?= no # Choose one of (BOTH, LEFT, RIGHT) +FP_CIRQUE_LEFT ?= no # Choose one of (BOTH, LEFT, RIGHT) +FP_CIRQUE_RIGHT ?= no # Choose one of (BOTH, LEFT, RIGHT) +CIRQUE_ENABLE = no # Don't set this one, gets set automatically by FP_CIRQUE_* + +ifeq ($(strip $(FP_CIRQUE_BOTH)), yes) + CIRQUE_ENABLE := yes + OPT_DEFS += -DFP_CIRQUE_BOTH +endif + +ifeq ($(strip $(FP_CIRQUE_LEFT)), yes) + CIRQUE_ENABLE := yes + OPT_DEFS += -DFP_CIRQUE_LEFT +endif + +ifeq ($(strip $(FP_CIRQUE_RIGHT)), yes) + CIRQUE_ENABLE := yes + OPT_DEFS += -DFP_CIRQUE_RIGHT +endif ifeq ($(strip $(CIRQUE_ENABLE)), yes) - POINTING_DEVICE_ENABLE = yes - POINTING_DEVICE_DRIVER = cirque_pinnacle_i2c + POINTING_DEVICE_ENABLE := yes + POINTING_DEVICE_DRIVER := cirque_pinnacle_i2c + OPT_DEFS += -DCIRQUE_ENABLE endif -# PMW3360_ENABLE = no +FP_TRACKBALL_BOTH ?= no # Choose one of (BOTH, LEFT, RIGHT) +FP_TRACKBALL_LEFT ?= no # Choose one of (BOTH, LEFT, RIGHT) +FP_TRACKBALL_RIGHT ?= no # Choose one of (BOTH, LEFT, RIGHT) +PMW3360_ENABLE = no # Don't set this one, gets set automatically by FP_TRACKBALL_* -# ifeq ($(strip $(PMW3360_ENABLE)), yes) -# POINTING_DEVICE_ENABLE := yes -# POINTING_DEVICE_DRIVER = pmw3360 -# QUANTUM_LIB_SRC += spi_master.c -# endif +ifeq ($(strip $(FP_TRACKBALL_BOTH)), yes) + PMW3360_ENABLE := yes + OPT_DEFS += -DFP_TRACKBALL_BOTH +endif + +ifeq ($(strip $(FP_TRACKBALL_LEFT)), yes) + PMW3360_ENABLE := yes + OPT_DEFS += -DFP_TRACKBALL_LEFT +endif + +ifeq ($(strip $(FP_TRACKBALL_RIGHT)), yes) + PMW3360_ENABLE := yes + OPT_DEFS += -DFP_TRACKBALL_RIGHT +endif + +ifeq ($(strip $(PMW3360_ENABLE)), yes) + AUDIO_ENABLE := no + RGBLIGHT_ENABLE := no + RGB_MATRIX_ENABLE := no + POINTING_DEVICE_ENABLE := yes + POINTING_DEVICE_DRIVER := pmw3360 + QUANTUM_LIB_SRC += spi_master.c + OPT_DEFS += -DFP_TRACKBALL_ENABLE +endif SRC += matrix_74hc595_spi.c