You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 27, 2025. It is now read-only.
Describe the clone
There is duplicated logic in the AndroidJoystickJoyInput14.java file for remapping joystick button identifiers and logging remapping details when there are changes. This repetitive code segment is found in multiple locations, increasing the complexity of maintenance and readability.
Location of the clones
Filename: AndroidJoystickJoyInput14.java
Line #: 330 and 361
Expected outcome
Refactor the AndroidJoystickJoyInput14.java class to remove the duplicate logic for remapping and logging joystick button identifiers. The repeated sections of the code should be encapsulated in a helper method that can be reused wherever necessary, reducing redundancy and improving maintainability.