Project

General

Profile

« Previous | Next » 

Revision 4aa6fbdd

Added by skyjake over 12 years ago

Input|Fixed: Axis position filtering (especially mouse position)

Now correctly takes elapsed time into account when updating device axes.

Positions of relative filtered device axes are now updated differently:
1) dispatchEvents() will apply each delta event into the axis accumulation.
2) Afterwards, positions of filtered axes are determined based on the
elapsed time.

Fixes a jittering artifact when turning with the mouse with mouse filtering
enabled.

If filtering is disabled, there is no way to avoid the jittering as mouse events
aren't restricted to sharp ticks, while PlayerThinkLookYaw is only updated
on sharp ticks.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences