Skip to content

Commit

Permalink
JoystickCompatibilityMappings: @author can't be used in method javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Apr 6, 2021
1 parent 60e1a21 commit 2195130
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ protected static Map<String, String> getMappings(String joystickName, boolean cr
* @param joystickName - The name of the joystick type to obtain mappings for.
* @param create - If there are no mappings present and this parameter is true, then a new entry for this joystick is created.
* @return The various axis remappings for the requested joystick, or null of there are none.
* @author Markil3
*/
private static Map<String, AxisData> getAxisMappings(String joystickName, boolean create) {
Map<String, AxisData> result = axisMappings.get(joystickName.trim());
Expand All @@ -115,7 +114,6 @@ private static Map<String, AxisData> getAxisMappings(String joystickName, boolea
* @param joystickName - The name of the joystick type to obtain mappings for.
* @param create - If there are no mappings present and this parameter is true, then a new entry for this joystick is created.
* @return The various button remappings for the requested joystick, or null of there are none.
* @author Markil3
*/
protected static Map<String, String> getButtonMappings(String joystickName, boolean create) {
Map<String, String> result = buttonMappings.get(joystickName.trim());
Expand All @@ -132,7 +130,6 @@ protected static Map<String, String> getButtonMappings(String joystickName, bool
* @param axis - The axis to remap.
* @param currentValue - The raw value the system is outputting, on a scale of -1.0 to 1.0.
* @return The new value that will be provided to listeners, on a scale specified by the remappings file.
* @author Markil3
*/
public static float remapAxisRange(JoystickAxis axis, float currentValue) {
String joyName = axis.getJoystick().getName();
Expand Down Expand Up @@ -177,7 +174,6 @@ public static float remapAxisRange(JoystickAxis axis, float currentValue) {
* @param joystickName - The joystick type the axis comes from.
* @param componentId - The system-provided name for the axis.
* @return The new name for the axis, or just componentId if no remapping was provided.
* @author Markil3
*/
public static String remapAxis(String joystickName, String componentId) {
logger.log(Level.FINE, "remapAxis(" + joystickName + ", " + componentId + ")");
Expand Down Expand Up @@ -224,7 +220,6 @@ public static String remapAxis(String joystickName, String componentId) {
* @param joystickName - The joystick type the axis comes from.
* @param componentId - The system-provided name for the button.
* @return The new name for the button, or just componentId if no remapping was provided.
* @author Markil3
*/
public static String remapButton(String joystickName, String componentId) {
logger.log(Level.FINE, "remapAxis(" + joystickName + ", " + componentId + ")");
Expand Down Expand Up @@ -307,7 +302,6 @@ public static String remapComponent(String joystickName, String componentId) {
*
* @param joystickName which joystick (not null)
* @return an unmodifiable map
* @author Markil3
*/
public static Map<String, String> getJoystickButtonMappings(String joystickName) {
Map<String, String> result = getButtonMappings(joystickName.trim(), false);
Expand Down Expand Up @@ -338,7 +332,6 @@ public static Map<String, String> getJoystickMappings(String joystickName) {
* @param stickName which joystick (not null)
* @param sourceComponentId the name to be remapped
* @param remapId the remapped name
* @author Markil3
*/
public static void addAxisMapping(String stickName, String sourceComponentId, String remapId) {
logger.log(Level.FINE, "addAxisMapping(" + stickName + ", " + sourceComponentId + ", " + remapId + ")");
Expand All @@ -354,7 +347,6 @@ public static void addAxisMapping(String stickName, String sourceComponentId, St
* @param sourceComponentId the name to be remapped
* @param remapId the remapped name
* @param range the desired range (not null, exactly 2 elements)
* @author Markil3
*/
public static void addAxisMapping(String stickName, String sourceComponentId, String remapId, float[] range) {
logger.log(Level.FINE, "addAxisMapping(" + stickName + ", " + sourceComponentId + ", " + remapId + ")");
Expand All @@ -372,7 +364,6 @@ public static void addAxisMapping(String stickName, String sourceComponentId, St
* @param stickName which joystick (not null)
* @param sourceComponentId the name to be remapped
* @param remapId the remapped name
* @author Markil3
*/
public static void addButtonMapping(String stickName, String sourceComponentId, String remapId) {
logger.log(Level.FINE, "addButtonMapping(" + stickName + ", " + sourceComponentId + ", " + remapId + ")");
Expand Down Expand Up @@ -402,8 +393,6 @@ public static void addMapping(String stickName, String sourceComponentId, String
* that it is able to parse.
*
* @param p (not null)
* @author Paul Speed
* @author Markil 3
*/
public static void addMappings(Properties p) {
final String AXIS_LABEL = "axis";
Expand Down

0 comments on commit 2195130

Please sign in to comment.