On testing SDL2 with Linux and the it’s new ffmemless-next code I noticed
that the periodic effect requires that the direction is set when it is
uploaded. Testhaptic code does not do this, and as a result produces no
movement for Sine/SawUp/etc.
Attached is a corrected version of testhaptic, which also adds tests for
Tested with G27 and WiiWheel, with SDL 2.0.3 on Linux 3.15rc3 + MLNX.
Also it appears the the ‘SQUARE’ effect is no longer supported (replaced
by LEFT_RIGHT). The documentation should probably be updated.
-------------- next part --------------
A non-text attachment was scrubbed…
Size: 14279 bytes
Desc: not available