Filtering a stream of input (low pass filter)

I have a custom made controller that sends a vector to Unreal Engine 4. The problem is that the input jitters a bit. Does anyone know of a technique to smooth out input similar to adding a low pass filter on it?

Hi,
Did you manage to do a low pass filter to smooth movements ?
I use an oculus and I’d like to do the same.
Thx