Mouse wheel input not working in Axis Mapping?
The input from Mouse Wheel Up/Down doesn't seem to work at all in my PlayerController class. I made it so it constantly prints its value , and the Mouse Wheel Up/Down it's the only case which the input is not received. I tried to -Change the input to keyboard and it worked -Change the input to left/right mouse click and it worked -Have an Action Mapping that print a string everytime the Mouse Wheel is scrolled and it worked -My Mouse's wheel is not broken
here is the code with the different functions
And it just prints 0.00000 even when i scroll up or down w
asked Oct 26 '18 at 08:41 PM in C++ Programming
I just found out that it's all working as intended : it's not possible to assign the mouse wheel scrolling action to a regular axis mapping as you would do with two different keys.
answered Oct 30 '18 at 04:59 PM
Try this in the Input project settings
answered Oct 27 '18 at 01:25 AM
The code is set up correctly, make sure you have your project settings updated.
Edit -> Project Settings -> Engine -> Input
I just tested your code with this settings and it worked.
answered Oct 30 '18 at 04:24 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here