]> git.donarmstrong.com Git - kiibohd-controller.git/commitdiff
Updating convenience build scripts to build Left and Right sides
authorJacob Alexander <haata@kiibohd.com>
Sat, 22 Aug 2015 06:23:52 +0000 (23:23 -0700)
committerJacob Alexander <haata@kiibohd.com>
Sat, 22 Aug 2015 06:23:52 +0000 (23:23 -0700)
- Includes minor fix for MD1

Keyboards/cmake.bash
Keyboards/ergodox.bash
Scan/MD1/scan_loop.c

index 61995b0cf0432edc07416f44a16d298fbe9f7214..91425261de27434517e2e5f77593194ba86063e2 100644 (file)
@@ -85,4 +85,5 @@ cmake -DCHIP="${Chip}" -DCOMPILER="${Compiler}" -DScanModule="${ScanModule}" -DM
 make
 
 echo "Firmware has been compiled into: '${BuildPath}'"
+cd -
 
index 0fe0f29c6e177e296e01d634158d750344539e6f..b07eb1643e404d5f803b7d6fd3b07f025011668d 100755 (executable)
@@ -9,9 +9,11 @@
 # Configuration #
 #################
 
+######## Left Side ########
+
 # Feel free to change the variables in this section to configure your keyboard
 
-BuildPath="ICED"
+BuildPath="ICED-L"
 
 ## KLL Configuration ##
 
@@ -21,7 +23,7 @@ BaseMap="defaultMap leftHand slave1 rightHand"
 # This is the default layer of the keyboard
 # NOTE: To combine kll files into a single layout, separate them by spaces
 # e.g.  DefaultMap="mylayout mylayoutmod"
-DefaultMap="stdFuncMap"
+DefaultMap="mdergo1Overlay lcdFuncMap"
 
 # This is where you set the additional layers
 # NOTE: Indexing starts at 1
@@ -29,7 +31,8 @@ DefaultMap="stdFuncMap"
 # e.g.  PartialMaps[1]="layer1 layer1mod"
 #       PartialMaps[2]="layer2"
 #       PartialMaps[3]="layer3"
-PartialMaps[1]="hhkbpro2"
+PartialMaps[1]="iced_func"
+PartialMaps[2]="iced_numpad"
 
 
 
@@ -70,3 +73,25 @@ fi
 # Load the library
 source cmake.bash
 
+
+
+#########################
+# Re-run for right side #
+#########################
+
+######## Right Side ########
+
+# Feel free to change the variables in this section to configure your keyboard
+
+BuildPath="ICED-R"
+
+## KLL Configuration ##
+
+# Only changing the basemap (everything else is the same)
+# Generally shouldn't be changed, this will affect every layer
+BaseMap="defaultMap rightHand slave1 leftHand"
+
+# Load the library (starts the build)
+source cmake.bash
+
+
index 02d63260701fad5eff942c224722adf685ad9874..22d43c2a26987586abe48c2f6c1d73cb40dd6c21 100644 (file)
@@ -169,6 +169,7 @@ void CustomAction_blockKey_capability( uint8_t state, uint8_t stateType, uint8_t
        // If key is not blocked, process
        if ( key != CustomAction_blockHold_storage )
        {
+               extern void Output_usbCodeSend_capability( uint8_t state, uint8_t stateType, uint8_t *args );
                Output_usbCodeSend_capability( state, stateType, &key );
        }
 }