Skip to content

Commit 47ef57c

Browse files
author
Daniel K. O. (dkosmari)
committed
Changes for clang-format.
1 parent 276044b commit 47ef57c

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

source/ButtonComboInfoDown.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "ButtonComboInfoDown.h"
22

3-
#include <ranges>
43
#include "logger.h"
4+
#include <ranges>
55

66
ButtonComboInfoDown::ButtonComboInfoDown(
77
std::string label,

source/ButtonComboManager.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ void ButtonComboManager::UpdateInputVPAD(const VPADChan chan, VPADStatus *buffer
449449
mVPADSuppressed[chan] &= ~buffer[i].release;
450450
// hide the suppressed buttons
451451
buffer[i].trigger &= ~mVPADSuppressed[chan];
452-
buffer[i].hold &= ~mVPADSuppressed[chan];
452+
buffer[i].hold &= ~mVPADSuppressed[chan];
453453
buffer[i].release &= ~mVPADSuppressed[chan];
454454
}
455455
}
@@ -464,8 +464,8 @@ void ButtonComboManager::UpdateInputWPAD(const WPADChan chan, WPADStatus *data)
464464
return;
465465
}
466466

467-
auto& coreBtns = mWPADCoreBtns[chan];
468-
auto& extBtns = mWPADExtBtns[chan];
467+
auto &coreBtns = mWPADCoreBtns[chan];
468+
auto &extBtns = mWPADExtBtns[chan];
469469

470470
if (mWPADExtension[chan] != data->extensionType) {
471471
mWPADExtension[chan] = data->extensionType;

source/ButtonTracker.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ struct ButtonTracker {
1414
void update(T buttons) noexcept {
1515
T changed = buttons ^ hold;
1616
hold = buttons;
17-
trigger = changed & buttons;
17+
trigger = changed & buttons;
1818
release = changed & ~buttons;
1919
}
2020

@@ -27,7 +27,7 @@ struct ButtonTracker {
2727
}
2828

2929
template<typename U>
30-
void suppressButtons(U& buttons) {
30+
void suppressButtons(U &buttons) {
3131
buttons &= ~suppress;
3232
}
3333

0 commit comments

Comments
 (0)