[PATCH 5/5] dinput: use DIEFT_GETTYPE instead masking bits.