Skip to content

Commit

Permalink
Use buttonX for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
levinli303 committed Sep 29, 2021
1 parent dd0f029 commit 469b9ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/main/cpp/CelestiaAppCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ static int convert_joystick_button(jint key)
return CelestiaCore::JoyButton8;
case AKEYCODE_BUTTON_A:
return CelestiaCore::JoyButton1;
case AKEYCODE_BUTTON_B:
case AKEYCODE_BUTTON_X:
return CelestiaCore::JoyButton2;
default:
return -1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1770,7 +1770,7 @@ class MainActivity : AppCompatActivity(R.layout.activity_main),
companion object {
private const val CURRENT_DATA_VERSION = "26"
// 26: 1.4.3 Localization update
// 25: 1.4.3 Localizaton update, data update
// 25: 1.4.3 Localization update, data update
// 24: 1.4.2 Localization update
// 23: 1.3.3 Localization update
// 22: 1.3.0 Localization update
Expand Down

0 comments on commit 469b9ff

Please sign in to comment.