 		 * @see #isActionActivated()
 		 * @see #getActionValue()
 		 */
-		public function addGamepadActionBinding(__action:String, __controlId:String, __gamepadIndex:int = -1):void {
+		public function addGamepadActionBinding(__action:String, __controlId:String, __gamepadIndex:int = GAMEPAD_INDEX_ANY):void {
 			// Create a binding to be verified later
-			bindings.push(new BindingInfo(__action, new GamepadBinding(__controlId, __gamepadIndex >= 0 ? __gamepadIndex : GamepadBinding.GAMEPAD_INDEX_ANY)));
+			bindings.push(new BindingInfo(__action, new GamepadBinding(__controlId, __gamepadIndex)));
 			prepareAction(__action);
 		}
 

		}
	}
}
import flash.utils.Dictionary;
import flash.utils.getTimer;
/**

		 *
		 * @see flash.ui.Keyboard
		 */
		public function addKeyboardActionBinding(__action:String, __keyCode:int = KEY_CODE_ANY, __keyLocation:int = KEY_LOCATION_ANY):void {

			// Create a binding to be verified later
			bindings.push(new BindingInfo(__action, new KeyboardBinding(__keyCode, __keyLocation)));
			prepareAction(__action);
		}

