Revert "Update DinputDevice.cpp"

This reverts commit 99ede3fbbb7c213e839bc8084264a592805e0971.