[PATCH 2/7] dinput: Keep a private ref to the device on created effects.