Im not sure if it will help much, but i know of 2 projects that use force feedback in linux (the source is in C++), also i have heard that SDL has force feedback support.

the projects are:
VDrift: http://vdrift.net
and
VegaStrike http://vegastrike.sourceforge.net