We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ee29cdc + f476808 commit 1761e78Copy full SHA for 1761e78
SerialPrograms/Source/NintendoSwitch/Controllers/NintendoSwitch_ControllerState.cpp
@@ -34,12 +34,12 @@ std::string button_to_string(Button button){
34
if (button & BUTTON_LEFT_SR) str += "Left-SR";
35
if (button & BUTTON_RIGHT_SL) str += "Right-SL";
36
if (button & BUTTON_RIGHT_SR) str += "Right-SR";
37
- if (str.back() == ' '){
38
- str.pop_back();
39
- }
40
if (str.empty()){
41
str = "none";
42
}
+ if (str.back() == ' '){
+ str.pop_back();
+ }
43
return str;
44
45
std::string dpad_to_string(DpadPosition dpad){
0 commit comments