Input, Mappings & Controls

2.3.Axis Limits #

Axis Limits provide a way to limit axis movement using buttons such as the keyboard which only provide on/off states.

Many games allow the player to control the speed of the characters movement depending on how far forward the Dualshock 4 analog stick is held.

For example – Using Axis Limits we can set up the ability to make the character walk when forward is pressed then run if we hold down shift.

 

 

Default Axis Limits

The default Axis Limits set the maximum axis values that can be output. To set these click the ‘Edit Default Axis Limits’ button.

You will then be presented will the following form where you can edit the values.

The left and right sticks can range from 1 to 128. L2 and R2 range from 1 to 255.

An example of their use is setting the Left Stick value to 64, this will by default limit the axis output by half causing the players character to walk/jog instead of run.  Adding the example mapping below will allow for running using the shift key.

 

 

Adding a Axis Limit

To add a new axis limit click the ‘Detect Input’ button on the Axis Limits tab.

When the following prompt appears press the input you wish to bind to.

When an input has been selected it will show under ‘Device input’.

You can now select the axis you wish to map to from the ‘Axis’ drop down menu. The available options are:

  • lstick
  • rstick
  • l2
  • r2

 

Type

The options for this setting are ‘Modifier’ or Adjustment.

Modifier – This type allows for temporary adjustments in the axis limit. For example holding shift to enable run.

Adjustment – This allows for a permanent adjustment in the active axis limit. For example using scroll to decrease or increase the walking speed of the player.

 

Shape

This setting controls how diagonal output is processed, the same as axis mappings. See the AXIS section for more details.

 

Min/Max Axis

These values set the range for axis output. Min Axis must always be less than Max Axis, valid values range from 0 to 128.

 

Direction

This setting is only enabled when ‘Type’ is set to ‘Adjustment’. The options are ‘Increase’ or ‘Decrease’. This sets which way the mapped input will move the current axis limit within the range.

For example – If you map Mouse Wheel Up to Increase and Mouse Wheel Down to Decrease you will be able to scroll up and down to increase or decrease the players movement speed within the provided range.

 

Segments

This setting is only enabled when ‘Type’ is set to ‘Adjustment’. This value sets the amount of sections within a range, by default this is set to 3 which will mean moving from the bottom of the range to the top will require 3 presses of the mapped input.

With the above settings configured you can now click the ‘Add’ button to add the Axis Limit to the config.

The new Axis Limit will be listed in the grid below.

 

 

Editing a Axis Limit

To edit an existing limit simply highlight it in the grid so it looks like the following:

The Limit values and settings will then update to reflect the selected limit.

Make the desired changes to these values then click the ‘Update’ button to apply and save the changes to the config.

 

 

Deleting a Axis Limit

To delete an Axis Limit highlight the row as when editing so it looks like the following:

The ‘Remove’ button will then be enabled, click this to remove the selected mapping from the config.

You can select multiple rows at once to remove several mappings in one go. The shortcut CTRL + A will highlight all mappings.

Help Guide Powered by Documentor
Suggest Edit