Skip to content

feat(linux): add flag to restore legacy input - #5370

Closed
lunarlattice0 wants to merge 2 commits into
LizardByte:masterfrom
lunarlattice0:master
Closed

feat(linux): add flag to restore legacy input#5370
lunarlattice0 wants to merge 2 commits into
LizardByte:masterfrom
lunarlattice0:master

Merge branch 'LizardByte:master' into master

eebeef8
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 24, 2026 in 5m 13s

Quality Gate failed

Failed conditions
199 New issues
D Reliability Rating on New Code (required ≥ A)
1 New Bugs (required ≤ 0)
198 New Code Smells (required ≤ 0)
2 Duplicated Blocks on New Code (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 220 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfE_&open=AZ-ScODvkBUjH0c7MfE_&pullRequest=5370

Check failure on line 1861 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfHC&open=AZ-ScODvkBUjH0c7MfHC&pullRequest=5370

Check warning on line 216 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfE7&open=AZ-ScODvkBUjH0c7MfE7&pullRequest=5370

Check warning on line 187 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfEe&open=AZ-ScODvkBUjH0c7MfEe&pullRequest=5370

Check warning on line 192 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfEj&open=AZ-ScODvkBUjH0c7MfEj&pullRequest=5370

Check warning on line 229 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfFI&open=AZ-ScODvkBUjH0c7MfFI&pullRequest=5370

Check warning on line 302 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfGR&open=AZ-ScODvkBUjH0c7MfGR&pullRequest=5370

Check warning on line 304 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfGT&open=AZ-ScODvkBUjH0c7MfGT&pullRequest=5370

Check warning on line 2048 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "std::byte" for byte-oriented data manipulation.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfHI&open=AZ-ScODvkBUjH0c7MfHI&pullRequest=5370

Check warning on line 289 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfGE&open=AZ-ScODvkBUjH0c7MfGE&pullRequest=5370

Check warning on line 180 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfEX&open=AZ-ScODvkBUjH0c7MfEX&pullRequest=5370

Check warning on line 246 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfFZ&open=AZ-ScODvkBUjH0c7MfFZ&pullRequest=5370

Check warning on line 281 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfF8&open=AZ-ScODvkBUjH0c7MfF8&pullRequest=5370

Check warning on line 202 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfEt&open=AZ-ScODvkBUjH0c7MfEt&pullRequest=5370

Check warning on line 179 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfEW&open=AZ-ScODvkBUjH0c7MfEW&pullRequest=5370

Check failure on line 958 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfGp&open=AZ-ScODvkBUjH0c7MfGp&pullRequest=5370

Check warning on line 303 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfGS&open=AZ-ScODvkBUjH0c7MfGS&pullRequest=5370

Check warning on line 227 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfFG&open=AZ-ScODvkBUjH0c7MfFG&pullRequest=5370

Check warning on line 294 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfGJ&open=AZ-ScODvkBUjH0c7MfGJ&pullRequest=5370

Check warning on line 292 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfGH&open=AZ-ScODvkBUjH0c7MfGH&pullRequest=5370

Check warning on line 288 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfGD&open=AZ-ScODvkBUjH0c7MfGD&pullRequest=5370

Check warning on line 282 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfF9&open=AZ-ScODvkBUjH0c7MfF9&pullRequest=5370

Check warning on line 189 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfEg&open=AZ-ScODvkBUjH0c7MfEg&pullRequest=5370

Check warning on line 264 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfFr&open=AZ-ScODvkBUjH0c7MfFr&pullRequest=5370

Check warning on line 1657 in src/platform/linux/input/legacy_input.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not assign data members in a constructor. Initialize member "global" in an initialization list.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ-ScODvkBUjH0c7MfG8&open=AZ-ScODvkBUjH0c7MfG8&pullRequest=5370