ok so, so far i have two scripts that control the direction and rotation that the object is facing, on for mouse aim and one for using the right analog stick. they both work perfectly as intended by themselves but i cannot think of a way to get it to switch between using the mouse input and using the controller input
using the boolean inputselection, i could determine which input type was being used the second it detected input from either the mouse or the controllers second analog stick, and because the aiming and the movement are completely separate, you can use the controller for movement and the mouse for aiming or whatever combination the player chooses without having to change any settings
the first 2 if statements determine if the mouse is moving or not and if there is any input from the right analog stick, and switching between the rotation controls based on the last input detected