Rémi Bernon : dinput: Keep track of input thread users using public refcounts.