@@ -98,7 +98,6 @@ protected static Map<String, String> getMappings(String joystickName, boolean cr
9898 * @param joystickName - The name of the joystick type to obtain mappings for.
9999 * @param create - If there are no mappings present and this parameter is true, then a new entry for this joystick is created.
100100 * @return The various axis remappings for the requested joystick, or null of there are none.
101- * @author Markil3
102101 */
103102 private static Map <String , AxisData > getAxisMappings (String joystickName , boolean create ) {
104103 Map <String , AxisData > result = axisMappings .get (joystickName .trim ());
@@ -115,7 +114,6 @@ private static Map<String, AxisData> getAxisMappings(String joystickName, boolea
115114 * @param joystickName - The name of the joystick type to obtain mappings for.
116115 * @param create - If there are no mappings present and this parameter is true, then a new entry for this joystick is created.
117116 * @return The various button remappings for the requested joystick, or null of there are none.
118- * @author Markil3
119117 */
120118 protected static Map <String , String > getButtonMappings (String joystickName , boolean create ) {
121119 Map <String , String > result = buttonMappings .get (joystickName .trim ());
@@ -132,7 +130,6 @@ protected static Map<String, String> getButtonMappings(String joystickName, bool
132130 * @param axis - The axis to remap.
133131 * @param currentValue - The raw value the system is outputting, on a scale of -1.0 to 1.0.
134132 * @return The new value that will be provided to listeners, on a scale specified by the remappings file.
135- * @author Markil3
136133 */
137134 public static float remapAxisRange (JoystickAxis axis , float currentValue ) {
138135 String joyName = axis .getJoystick ().getName ();
@@ -177,7 +174,6 @@ public static float remapAxisRange(JoystickAxis axis, float currentValue) {
177174 * @param joystickName - The joystick type the axis comes from.
178175 * @param componentId - The system-provided name for the axis.
179176 * @return The new name for the axis, or just componentId if no remapping was provided.
180- * @author Markil3
181177 */
182178 public static String remapAxis (String joystickName , String componentId ) {
183179 logger .log (Level .FINE , "remapAxis(" + joystickName + ", " + componentId + ")" );
@@ -224,7 +220,6 @@ public static String remapAxis(String joystickName, String componentId) {
224220 * @param joystickName - The joystick type the axis comes from.
225221 * @param componentId - The system-provided name for the button.
226222 * @return The new name for the button, or just componentId if no remapping was provided.
227- * @author Markil3
228223 */
229224 public static String remapButton (String joystickName , String componentId ) {
230225 logger .log (Level .FINE , "remapAxis(" + joystickName + ", " + componentId + ")" );
@@ -307,7 +302,6 @@ public static String remapComponent(String joystickName, String componentId) {
307302 *
308303 * @param joystickName which joystick (not null)
309304 * @return an unmodifiable map
310- * @author Markil3
311305 */
312306 public static Map <String , String > getJoystickButtonMappings (String joystickName ) {
313307 Map <String , String > result = getButtonMappings (joystickName .trim (), false );
@@ -338,7 +332,6 @@ public static Map<String, String> getJoystickMappings(String joystickName) {
338332 * @param stickName which joystick (not null)
339333 * @param sourceComponentId the name to be remapped
340334 * @param remapId the remapped name
341- * @author Markil3
342335 */
343336 public static void addAxisMapping (String stickName , String sourceComponentId , String remapId ) {
344337 logger .log (Level .FINE , "addAxisMapping(" + stickName + ", " + sourceComponentId + ", " + remapId + ")" );
@@ -354,7 +347,6 @@ public static void addAxisMapping(String stickName, String sourceComponentId, St
354347 * @param sourceComponentId the name to be remapped
355348 * @param remapId the remapped name
356349 * @param range the desired range (not null, exactly 2 elements)
357- * @author Markil3
358350 */
359351 public static void addAxisMapping (String stickName , String sourceComponentId , String remapId , float [] range ) {
360352 logger .log (Level .FINE , "addAxisMapping(" + stickName + ", " + sourceComponentId + ", " + remapId + ")" );
@@ -372,7 +364,6 @@ public static void addAxisMapping(String stickName, String sourceComponentId, St
372364 * @param stickName which joystick (not null)
373365 * @param sourceComponentId the name to be remapped
374366 * @param remapId the remapped name
375- * @author Markil3
376367 */
377368 public static void addButtonMapping (String stickName , String sourceComponentId , String remapId ) {
378369 logger .log (Level .FINE , "addButtonMapping(" + stickName + ", " + sourceComponentId + ", " + remapId + ")" );
@@ -402,8 +393,6 @@ public static void addMapping(String stickName, String sourceComponentId, String
402393 * that it is able to parse.
403394 *
404395 * @param p (not null)
405- * @author Paul Speed
406- * @author Markil 3
407396 */
408397 public static void addMappings (Properties p ) {
409398 final String AXIS_LABEL = "axis" ;
0 commit comments