Renaming X_RESULT to be consistent.
This commit is contained in:
@@ -31,17 +31,17 @@ X_STATUS NopInputDriver::Setup() {
|
||||
// TODO(benvanik): spoof a device so that games don't stop waiting for
|
||||
// a controller to be plugged in.
|
||||
|
||||
XRESULT NopInputDriver::GetCapabilities(
|
||||
X_RESULT NopInputDriver::GetCapabilities(
|
||||
uint32_t user_index, uint32_t flags, X_INPUT_CAPABILITIES& out_caps) {
|
||||
return X_ERROR_DEVICE_NOT_CONNECTED;
|
||||
}
|
||||
|
||||
XRESULT NopInputDriver::GetState(
|
||||
X_RESULT NopInputDriver::GetState(
|
||||
uint32_t user_index, X_INPUT_STATE& out_state) {
|
||||
return X_ERROR_DEVICE_NOT_CONNECTED;
|
||||
}
|
||||
|
||||
XRESULT NopInputDriver::SetState(
|
||||
X_RESULT NopInputDriver::SetState(
|
||||
uint32_t user_index, X_INPUT_VIBRATION& vibration) {
|
||||
return X_ERROR_DEVICE_NOT_CONNECTED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user