[PATCH 2/9] dinput: Factor all GetCapabilities implementations together.