Package gaia.cu9.ari.gaiaorbit.interfce
Interface IControllerMappings
-
- All Known Implementing Classes:
AbstractControllerMappings,ControllerMappings,XBox360Mappings
public interface IControllerMappings
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetAxisMove()Returns the code of the axis that controls the forward and backward movementintgetAxisPitch()Returns the code of the axis that produces: Vertical rotation around focus in focus mode Vertical look rotation (pitch) in free modeintgetAxisRoll()Returns the code of the axis that produces: Roll rotation in focus mode Horizontal lateral movement in free modeintgetAxisVelocityDown()Returns the code of the axis used to decrease the velocity.intgetAxisVelocityUp()Returns the code of the axis used to increase the velocity.intgetAxisYaw()Returns the code of the axis that produces: Horizontal rotation around focus in focus mode Horizontal look rotation (yaw) in free modeintgetButtonDown()Returns the code of the button used to go down.intgetButtonModeToggle()Returns the code of the button used to toggle between free and focus mode.intgetButtonUp()Returns the code of the button used to go up.intgetButtonVelocityDown()Returns the code of the button used to decrease the velocity.intgetButtonVelocityMultiplierHalf()Returns the code of the button that, when pressed, multiplies the velocity vector by 0.5.intgetButtonVelocityMultiplierTenth()Returns the code of the button that, when pressed, multiplies the velocity vector by 0.1.intgetButtonVelocityUp()Returns the code of the button used to increase the velocity.
-
-
-
Method Detail
-
getAxisRoll
int getAxisRoll()
Returns the code of the axis that produces:- Roll rotation in focus mode
- Horizontal lateral movement in free mode
- Returns:
- The axis code, negative if not mapped
-
getAxisPitch
int getAxisPitch()
Returns the code of the axis that produces:- Vertical rotation around focus in focus mode
- Vertical look rotation (pitch) in free mode
- Returns:
- The axis code, negative if not mapped
-
getAxisYaw
int getAxisYaw()
Returns the code of the axis that produces:- Horizontal rotation around focus in focus mode
- Horizontal look rotation (yaw) in free mode
- Returns:
- The axis code, negative if not mapped
-
getAxisMove
int getAxisMove()
Returns the code of the axis that controls the forward and backward movement- Returns:
- The axis code, negative if not mapped
-
getAxisVelocityUp
int getAxisVelocityUp()
Returns the code of the axis used to increase the velocity. All the range of the axis is used. Usually mapped to a trigger button.- Returns:
- The axis code, negative if not mapped
-
getAxisVelocityDown
int getAxisVelocityDown()
Returns the code of the axis used to decrease the velocity. All the range of the axis is used. Usually mapped to a trigger button.- Returns:
- The axis code, negative if not mapped
-
getButtonVelocityMultiplierTenth
int getButtonVelocityMultiplierTenth()
Returns the code of the button that, when pressed, multiplies the velocity vector by 0.1.- Returns:
- The button code, negative if not mapped
-
getButtonVelocityMultiplierHalf
int getButtonVelocityMultiplierHalf()
Returns the code of the button that, when pressed, multiplies the velocity vector by 0.5.- Returns:
- The button code, negative if not mapped
-
getButtonVelocityUp
int getButtonVelocityUp()
Returns the code of the button used to increase the velocity.- Returns:
- The button code, negative if not mapped
-
getButtonVelocityDown
int getButtonVelocityDown()
Returns the code of the button used to decrease the velocity.- Returns:
- The button code, negative if not mapped
-
getButtonUp
int getButtonUp()
Returns the code of the button used to go up.- Returns:
- The button code, negative if not mapped
-
getButtonDown
int getButtonDown()
Returns the code of the button used to go down.- Returns:
- The button code, negative if not mapped
-
getButtonModeToggle
int getButtonModeToggle()
Returns the code of the button used to toggle between free and focus mode.- Returns:
- The button code, negative if not mapped
-
-