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 int
getAxisMove()
Returns the code of the axis that controls the forward and backward movementint
getAxisPitch()
Returns the code of the axis that produces: Vertical rotation around focus in focus mode Vertical look rotation (pitch) in free modeint
getAxisRoll()
Returns the code of the axis that produces: Roll rotation in focus mode Horizontal lateral movement in free modeint
getAxisVelocityDown()
Returns the code of the axis used to decrease the velocity.int
getAxisVelocityUp()
Returns the code of the axis used to increase the velocity.int
getAxisYaw()
Returns the code of the axis that produces: Horizontal rotation around focus in focus mode Horizontal look rotation (yaw) in free modeint
getButtonDown()
Returns the code of the button used to go down.int
getButtonModeToggle()
Returns the code of the button used to toggle between free and focus mode.int
getButtonUp()
Returns the code of the button used to go up.int
getButtonVelocityDown()
Returns the code of the button used to decrease the velocity.int
getButtonVelocityMultiplierHalf()
Returns the code of the button that, when pressed, multiplies the velocity vector by 0.5.int
getButtonVelocityMultiplierTenth()
Returns the code of the button that, when pressed, multiplies the velocity vector by 0.1.int
getButtonVelocityUp()
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
-
-