SDL/src/haptic
Sam Lantinga 265b219e3e Fixed bug 2766 - Haptic coding bugs and fixes for Linux FF: periodic.phase handled as time instead of angle; + direction clarification
Elias Vanderstuyft

Remove the dependency of the calculation of Linux "phase" on "period",
currently the "phase" parameter is interpreted as a time shift, instead of a phase shift.
The Linux input documentation is not clear about the exact units of the "phase" parameter (see http://lxr.free-electrons.com/source/include/uapi/linux/input.h?v=3.17#L1075 ),
but we're about to standardize the 'phase shift' interpretation into the Linux input documentation,
since this will ease the job of a driver to recalculate the effect's state when the user dynamically updates the "period" parameter.
2014-11-29 11:51:13 -08:00
..
darwin Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
dummy Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
linux Fixed bug 2766 - Haptic coding bugs and fixes for Linux FF: periodic.phase handled as time instead of angle; + direction clarification 2014-11-29 11:51:13 -08:00
windows Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
SDL_haptic.c Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
SDL_haptic_c.h Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
SDL_syshaptic.h Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00