Skip to content

Commit

Permalink
Merge pull request #4203 from Holzhaus/whitespace-fixes
Browse files Browse the repository at this point in the history
Fix whitespace issues in all files of the repository
  • Loading branch information
uklotzde authored Aug 19, 2021
2 parents 9634231 + d2e8efc commit 52bcaf1
Show file tree
Hide file tree
Showing 74 changed files with 130 additions and 196 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# disable these checks for now when pushing directly (but still run these
# on Pull Requests!).
env:
SKIP: end-of-file-fixer,trailing-whitespace,clang-format,eslint,no-commit-to-branch
SKIP: clang-format,eslint,no-commit-to-branch

- name: "Detect code style issues (pull_request)"
uses: pre-commit/action@v2.0.0
Expand Down
2 changes: 0 additions & 2 deletions res/controllers/Akai-LPD8-RK-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -591,5 +591,3 @@ LPD8RK.test = function (channel, control, value, status, group) {
print("LPD8RK.looptype: ##"+LPD8RK.looptype+"##");
print("test: ##"+2+"##");
};


2 changes: 1 addition & 1 deletion res/controllers/Behringer CMDStudio4a.midi.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2515,7 +2515,7 @@
</options>
</control>
</controls>
<!-- Outputs. -->
<!-- Outputs. -->
<outputs>
<!-- Slip indicators. -->
<output>
Expand Down
1 change: 0 additions & 1 deletion res/controllers/Behringer-BCD3000-Advanced-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,4 +223,3 @@ BehringerBCD3000.keykey = function (channel, control, value, status, group) {
// midi.sendShortMsg(0xB0, 0x07, 0x00);
// }
//};

1 change: 0 additions & 1 deletion res/controllers/Behringer-BCD3000-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,3 @@ BehringerBCD3000.loop = function (channel, control, value, status, group) {

engine.setValue(group, action, 1);
};

1 change: 0 additions & 1 deletion res/controllers/DJ-Tech-CDJ-101-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,4 +242,3 @@ DJTechCDJ101.jogtop = function(channel, control, value, status, group)
engine.scratchTick(parseInt(group.substring(8,9)), value);
}
}

3 changes: 0 additions & 3 deletions res/controllers/DJ-Tech-DJM-101-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,3 @@ DJTechDJM101.pfl = function(value, group)
// has to be a noteon msg in both case and seems more reliable issuing 0x7f for 'on' amd 0x0 for 'off'
midi.sendShortMsg(0x90, group == "[Channel1]" ? 0x21 : 0x22, value > 0 ? 0x7f : 0);
}



1 change: 0 additions & 1 deletion res/controllers/DJ-Tech-Kontrol-One-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -1566,4 +1566,3 @@ for (i=1;i<12;i++){
len=KONTROL1.beatloopLengths[i];
KONTROL1.loopbuttonLEDs["beatloop_"+len+"_enabled"]=KONTROL1.getIt["b"+i];
}

28 changes: 14 additions & 14 deletions res/controllers/Denon MC3000.midi.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<description>Optimized for Denon MC3000 - Default Midi Channel</description>
<manual>denon_mc3000</manual>
</info>
<controller id="MC3000 MIDI 1">
<controller id="MC3000 MIDI 1">
<scriptfiles>
<file filename="Denon-MC3000-scripts.js" functionprefix="mc3000"/>
</scriptfiles>
Expand Down Expand Up @@ -289,7 +289,7 @@
</options>
</control>

<!--PITCH SLIDER -->
<!--PITCH SLIDER -->
<control>
<status>0xe0</status>
<midino>0x50</midino>
Expand All @@ -309,7 +309,7 @@
</options>
</control>

<!-- PFL -->
<!-- PFL -->
<control>
<status>0x90</status>
<midino>1</midino>
Expand All @@ -320,7 +320,7 @@
<control>
<status>0x92</status>
<midino>5</midino>
<description>Cue PFL deck2 (B)</description>
<description>Cue PFL deck2 (B)</description>
<group>[Channel2]</group>
<key>pfl</key>
</control>
Expand All @@ -334,12 +334,12 @@
<control>
<status>0x93</status>
<midino>7</midino>
<description>Cue PFL deck4 (D)</description>
<description>Cue PFL deck4 (D)</description>
<group>[Channel4]</group>
<key>pfl</key>
</control>

<!-- EFX 1-4 FOR BEATLOOP_X -->
<!-- EFX 1-4 FOR BEATLOOP_X -->
<control>
<status>0x90</status>
<midino>21</midino>
Expand Down Expand Up @@ -412,7 +412,7 @@
</options>
</control>

<!-- HOT CUE 1-4 -->
<!-- HOT CUE 1-4 -->
<control>
<status>0x90</status>
<midino>23</midino>
Expand Down Expand Up @@ -486,7 +486,7 @@
</options>
</control>

<!-- HOT CUE 5-8 -->
<!-- HOT CUE 5-8 -->
<control>
<status>0x90</status>
<midino>72</midino>
Expand Down Expand Up @@ -560,7 +560,7 @@
</options>
</control>

<!-- HOT CUE 1-4 RELEASED-->
<!-- HOT CUE 1-4 RELEASED-->
<control>
<status>0x80</status>
<midino>23</midino>
Expand Down Expand Up @@ -634,7 +634,7 @@
</options>
</control>

<!-- HOT CUE 5-8 RELEASED -->
<!-- HOT CUE 5-8 RELEASED -->
<control>
<status>0x80</status>
<midino>72</midino>
Expand Down Expand Up @@ -844,7 +844,7 @@
<description></description>
</control>

<!-- CUE DEFAULT -->
<!-- CUE DEFAULT -->
<control>
<status>0x90</status>
<midino>0x42</midino>
Expand Down Expand Up @@ -1077,7 +1077,7 @@
<key>mc3000.killMid</key>
<options>
<script-binding/>
</options>
</options>
<description>BT Sample</description>
</control>
<control>
Expand All @@ -1098,7 +1098,7 @@
<key>mc3000.killBass</key>
<options>
<script-binding/>
</options>
</options>
<description> BT Browse</description>
</control>
<control>
Expand Down Expand Up @@ -1349,7 +1349,7 @@
<script-binding/>
</options>
</control>

<!-- SHIFT -->
<control>
<status>0x90</status>
Expand Down
22 changes: 11 additions & 11 deletions res/controllers/Denon MC4000.midi.xml
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@
<normal/>
</options>
</control>

<!-- ### Hot cue pads ### -->
<!-- Hot cue Pad 1 -->
<control>
Expand Down Expand Up @@ -579,7 +579,7 @@
<normal/>
</options>
</control>

<!-- FX Enable switches -->
<control>
<group>[EffectRack1_EffectUnit1_Effect1]</group>
Expand Down Expand Up @@ -690,7 +690,7 @@
<normal/>
</options>
</control>
<!-- Map the TAP button to the main bpm setting
<!-- Map the TAP button to the main bpm setting
(differs from Serato which maps it to the FX timing -->
<control>
<group>[Channel1]</group>
Expand All @@ -710,10 +710,10 @@
<normal/>
</options>
</control>

<!-- NOTE: Shift button isn't mapped to anything as number shifted automatically -->
<!-- TODO: "PAD MODE" currently isn't mapped to anything -->

<!-- Headphone split cue switch-->
<control>
<group>[Master]</group>
Expand All @@ -737,7 +737,7 @@
<normal/>
</options>
</control>

<!-- Load deck 2 -->
<control>
<group>[Channel2]</group>
Expand Down Expand Up @@ -787,7 +787,7 @@
<normal/>
</options>
</control>

<!-- Sampler pads -->
<control>
<group>[Sampler1]</group>
Expand Down Expand Up @@ -861,7 +861,7 @@
<normal/>
</options>
</control>

<!-- Jog whel -->
<control>
<group>[Channel1]</group>
Expand Down Expand Up @@ -921,7 +921,7 @@
<normal/>
</options>
</control>

<!-- Library encoder maps to Up/Down buttons -->
<control>
<group>[Library]</group>
Expand Down Expand Up @@ -952,7 +952,7 @@
<normal/>
</options>
</control>

<!-- FX meta knobs -->
<control>
<group>[EffectRack1_EffectUnit1_Effect1]</group>
Expand Down Expand Up @@ -1008,7 +1008,7 @@
<normal/>
</options>
</control>

<!-- ### Start of mixer channel strips (not in order) ###
Level Knob, Hi Knob, Mid Knob, Low knob, Filter knob, Channel Fader -->
<control>
Expand Down
2 changes: 0 additions & 2 deletions res/controllers/Denon-MC3000-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -584,5 +584,3 @@ mc3000.playPositionSetLed = function (playposition, group) {
mc3000.nearEnd[mc3000.groupToDeck(group)-1] = nearEnd;
}
}


1 change: 0 additions & 1 deletion res/controllers/EKS-Otus.js
Original file line number Diff line number Diff line change
Expand Up @@ -786,4 +786,3 @@ EksOtus.circleLEDs = function(position) {
controller.setOutput("jog","wheel_"+(led_index),led_color);
EksOtus.updateLEDs();
}

4 changes: 2 additions & 2 deletions res/controllers/FaderFoxDJ2.midi.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
<midino>0x0F</midino>
</control>

<!-- Transport Buttons -->
<!-- Transport Buttons -->
<control>
<group>[Channel1]</group>
<key>rate_temp_up</key>
Expand Down Expand Up @@ -642,7 +642,7 @@
<status>0x80</status>
<midino>0x22</midino>
</control>

<!-- Effects Buttons -->
<control>
<group>[EffectRack1_EffectUnit1]</group>
Expand Down
1 change: 0 additions & 1 deletion res/controllers/Gemini-FirstMix-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,4 +262,3 @@ firstmix.playbutton2 = function (channel, control, value, status, group) {
midi.sendShortMsg(0x90,0x4C,0x7F); // Turn on the Play LED
}
}

1 change: 0 additions & 1 deletion res/controllers/HID-Keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@ HIDKeyboard.incomingData = function(data,length) {
}
controller.parsePacket(data,length);
}

1 change: 0 additions & 1 deletion res/controllers/HID-Trackpad.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,3 @@ HIDTrackpad.incomingData = function(data,length) {
}
controller.parsePacket(data,length);
}

8 changes: 4 additions & 4 deletions res/controllers/Hercules DJ Console RMX 2.midi.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<MixxxControllerPreset mixxxVersion="2.0.0+"
<MixxxControllerPreset mixxxVersion="2.0.0+"
schemaVersion="1">
<info>
<!-- In Geany, go to Document and then Fold All for easier format. -->
Expand Down Expand Up @@ -318,7 +318,7 @@
<soft-takeover/>
<fourteen-bit-msb/>
</options>
</control>
</control>
<control>
<group>[Channel1]</group>
<key>volume</key>
Expand Down Expand Up @@ -1114,7 +1114,7 @@
</options>
</control>
<!-- Hotcue Controls [Cue Mode] -->
<!-- Effects Controls [Effect Mode] 70% -->
<!-- Effects Controls [Effect Mode] 70% -->
<control>
<group>[EffectRack1_EffectUnit1_Effect1]</group>
<key>enabled</key>
Expand Down Expand Up @@ -1948,7 +1948,7 @@
<status>0x90</status>
<midino>0x1C</midino>
<minimum>0.5</minimum>
</output>
</output>
</outputs>
</controller>
</MixxxControllerPreset>
4 changes: 0 additions & 4 deletions res/controllers/Hercules DJ Control MP3.midi.xml
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,3 @@
</outputs>
</controller>
</MixxxMIDIPreset>




2 changes: 0 additions & 2 deletions res/controllers/Hercules-DJ-Console-RMX-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -916,5 +916,3 @@ HerculesRMX.rateChange = function (value, group) {
// }
// }
//};


1 change: 0 additions & 1 deletion res/controllers/Hercules-DJ-Control-Steel-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -1022,4 +1022,3 @@ HerculesSteel.rateChange = function (value, group) {
engine.beginTimer(30, "HerculesSteel.GetDeck('" + group + "').Buttons.PitchReset.setLed(HerculesSteel.LedState.off)", true);
}
};

1 change: 0 additions & 1 deletion res/controllers/Hercules-mp3e2-compat.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,3 @@ MP3e2.incomingData = function(data, length) {
}
}
}

2 changes: 1 addition & 1 deletion res/controllers/Korg-KAOSS-DJ-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,4 @@ KAOSSDJ.controllerFxTouchUp = function(channel, control, value, status, group) {
var deck = KAOSSDJ.getDeckByChannel(channel);
engine.setValue('[EffectRack1_EffectUnit'+deck.deckNumber +']', 'mix', 0);
engine.setValue('[EffectRack1_EffectUnit'+deck.deckNumber +']', 'super1', 0);
};
};
3 changes: 0 additions & 3 deletions res/controllers/Korg-nanoPAD2-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,3 @@ NANOPAD2RK.muteOff = function (channel, control, value, status, group) {

if (NANOPAD2RK.debug){print("MUTE");}
};



2 changes: 1 addition & 1 deletion res/controllers/MixVibes-U-Mix-Control-Pro-2-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ ControlPro2.wheelTurn = function (channel, control, value, status, group) {
return;
}
engine.scratchTick(deck,newValue);
}
}
2 changes: 1 addition & 1 deletion res/controllers/Mixman DM2 (Linux).midi.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
</options>
</control>
<!-- We have a joystick with two axes, so use a key to shift one axis. -->
<control>
<control>
<status>0x90</status>
<midino>0x34</midino>
<group>[Flanger]</group>
Expand Down
Loading

0 comments on commit 52bcaf1

Please sign in to comment.