# Axis Mappings Scale of Oculus Thumbstick ignored

**URL:** <https://forums.unrealengine.com/t/axis-mappings-scale-of-oculus-thumbstick-ignored/480033>\
**Category:** Character & Animation\
**Tags:** axis-mappings, unreal-engine, question\
**Created:** [March 10, 2021, 11:37am UTC](https://forums.unrealengine.com/t/axis-mappings-scale-of-oculus-thumbstick-ignored/480033 "2021-03-10T11:37:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![solarisx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@solarisx](https://forums.unrealengine.com/u/solarisx)\
**Post date:** [March 10, 2021, 11:37am UTC](https://forums.unrealengine.com/t/axis-mappings-scale-of-oculus-thumbstick-ignored/480033/1 "2021-03-10T11:37:48Z")

</div>

Hi  
I have setup an Axis Mapping to move a Character. If I control the character with the Thumbstick of an Oculus Touch Motion Controller the Scale value is ignored. Setting it to -1 has no effect!

 ![331995-ue-axismappings.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/4/e/74e3e45f299965d755ae2d51ca92549173b4472c.png)

The Scale values of the other Inputs (W, S, Gamepad) are recognized. E.g. setting the Scale of W to -10 moves the charater backwards. Setting to +10 moves it forward.

My Character BP is based on a derived ACharacter Class which does:

```
void AMyCharacter::SetupPlayerInputComponent(class UInputComponent* inputComponent)
        {
        	Super::SetupPlayerInputComponent(inputComponent);
        
        	// Set up "movement" bindings.
        	InputComponent->BindAxis("MoveForward", this, &AMyCharacter::MoveForward);
        ...
        }

    /*
The "float Value" is the Input Value multiplied by the Scale (Gamepad and the Keyborad keys). If Oculus Thumbstick is used the Scale is not in the Value!
*/
    void AMyCharacter::MoveForward(float Value)
        {
        	if (Controller == nullptr)
        		return;
        	if (Value == 0.0f)
        		return;
        	FVector Direction = MyCameraComponent->GetForwardVector();
        	AddMovementInput(Direction, Value);
        }  

```

So why gets the Scale of the Oculus Thumbstick ignored? Putting the Thumbstick forward gives a backward move of the Character. I want to reverse this.

Any help is welcome, greets

---

<div class="post-metadata">

**Author:** ![solarisx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@solarisx](https://forums.unrealengine.com/u/solarisx)\
**Post date:** [March 11, 2021, 6:37pm UTC](https://forums.unrealengine.com/t/axis-mappings-scale-of-oculus-thumbstick-ignored/480033/2 "2021-03-11T18:37:35Z")

</div>

I have found a fix but not the cause. In Engine → Input → Axis Config it is possible to invert the axis of a dedicated input. So OculusTouch\_Left\_Thumbstick\_Y Invert true.

Maybe this helps someone. Greets
