Reformat repo to clang-format 7.0 rules

This commit is contained in:
Techjar
2019-05-05 23:48:12 +00:00
parent d347867f2e
commit ff972e3673
208 changed files with 311 additions and 309 deletions

View File

@ -242,5 +242,5 @@ void Touchscreen::Motor::Rumble(int padID, double state)
env->CallStaticVoidMethod(IDCache::GetNativeLibraryClass(), IDCache::GetDoRumble(), padID, state);
IDCache::GetJavaVM()->DetachCurrentThread();
}
}
}
} // namespace Android
} // namespace ciface

View File

@ -65,5 +65,5 @@ public:
private:
const int _padID;
};
}
}
} // namespace Android
} // namespace ciface

View File

@ -21,5 +21,5 @@ BOOL CALLBACK DIEnumDevicesCallback(LPCDIDEVICEINSTANCE lpddi, LPVOID pvRef);
std::string GetDeviceName(const LPDIRECTINPUTDEVICE8 device);
void PopulateDevices(HWND hwnd);
}
}
} // namespace DInput
} // namespace ciface

View File

@ -76,5 +76,5 @@ std::unordered_set<DWORD> GetXInputGUIDS()
SetupDiDestroyDeviceInfoList(setup_enum);
return guids;
}
}
}
} // namespace DInput
} // namespace ciface

View File

@ -13,4 +13,4 @@ namespace DInput
{
std::unordered_set<DWORD> GetXInputGUIDS();
}
}
} // namespace ciface

View File

@ -196,5 +196,5 @@ public:
return FFDeviceSetForceFeedbackProperty(m_device, property, &value);
}
};
}
}
} // namespace ForceFeedback
} // namespace ciface

View File

@ -13,5 +13,5 @@ void PopulateDevices(void* window);
void DeInit();
void DeviceElementDebugPrint(const void*, void*);
}
}
} // namespace OSX
} // namespace ciface

View File

@ -90,5 +90,5 @@ private:
ForceFeedback::FFDeviceAdapterReference m_ff_device;
};
}
}
} // namespace OSX
} // namespace ciface

View File

@ -41,5 +41,5 @@ public:
}
};
} // namespace ciface
} // namespace OSX
} // namespace ciface

View File

@ -161,5 +161,5 @@ void PipeDevice::ParseCommand(const std::string& command)
}
}
}
}
}
} // namespace Pipes
} // namespace ciface

View File

@ -58,5 +58,5 @@ private:
std::map<std::string, PipeInput*> m_buttons;
std::map<std::string, PipeInput*> m_axes;
};
}
}
} // namespace Pipes
} // namespace ciface

View File

@ -10,5 +10,5 @@ namespace Quartz
{
void PopulateDevices(void* window);
void DeInit();
}
}
} // namespace Quartz
} // namespace ciface

View File

@ -369,5 +369,5 @@ ControlState KeyboardMouse::Axis::GetState() const
{
return std::max(0.0f, *m_axis / (m_positive ? MOUSE_AXIS_SENSITIVITY : -MOUSE_AXIS_SENSITIVITY));
}
}
}
} // namespace XInput2
} // namespace ciface

View File

@ -113,5 +113,5 @@ private:
const int pointer_deviceid, keyboard_deviceid;
std::string name;
};
}
}
} // namespace XInput2
} // namespace ciface