mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Convert all includes to relative paths.
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "Android.h"
|
||||
#include "InputCommon/ControllerInterface/Android/Android.h"
|
||||
|
||||
namespace ciface
|
||||
{
|
||||
|
@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../Device.h"
|
||||
#include "Android/ButtonManager.h"
|
||||
#include "DolphinWX/Android/ButtonManager.h"
|
||||
#include "InputCommon/ControllerInterface/Device.h"
|
||||
|
||||
namespace ciface
|
||||
{
|
||||
|
@ -2,36 +2,35 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "ControllerInterface.h"
|
||||
#include "Common/Thread.h"
|
||||
#include "InputCommon/ControllerInterface/ControllerInterface.h"
|
||||
|
||||
#if USE_EGL
|
||||
#include "GLInterface/GLInterface.h"
|
||||
#include "DolphinWX/GLInterface/GLInterface.h"
|
||||
#endif
|
||||
|
||||
#ifdef CIFACE_USE_XINPUT
|
||||
#include "XInput/XInput.h"
|
||||
#include "InputCommon/ControllerInterface/XInput/XInput.h"
|
||||
#endif
|
||||
#ifdef CIFACE_USE_DINPUT
|
||||
#include "DInput/DInput.h"
|
||||
#include "InputCommon/ControllerInterface/DInput/DInput.h"
|
||||
#endif
|
||||
#ifdef CIFACE_USE_XLIB
|
||||
#include "Xlib/Xlib.h"
|
||||
#include "InputCommon/ControllerInterface/Xlib/Xlib.h"
|
||||
#ifdef CIFACE_USE_X11_XINPUT2
|
||||
#include "Xlib/XInput2.h"
|
||||
#include "InputCommon/ControllerInterface/Xlib/XInput2.h"
|
||||
#endif
|
||||
#endif
|
||||
#ifdef CIFACE_USE_OSX
|
||||
#include "OSX/OSX.h"
|
||||
#include "InputCommon/ControllerInterface/OSX/OSX.h"
|
||||
#endif
|
||||
#ifdef CIFACE_USE_SDL
|
||||
#include "SDL/SDL.h"
|
||||
#include "InputCommon/ControllerInterface/SDL/SDL.h"
|
||||
#endif
|
||||
#ifdef CIFACE_USE_ANDROID
|
||||
#include "Android/Android.h"
|
||||
#include "InputCommon/ControllerInterface/Android/Android.h"
|
||||
#endif
|
||||
|
||||
#include "Thread.h"
|
||||
|
||||
using namespace ciface::ExpressionParser;
|
||||
|
||||
namespace
|
||||
|
@ -4,16 +4,17 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include <map>
|
||||
#include <algorithm>
|
||||
#include <map>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "Common.h"
|
||||
#include "Thread.h"
|
||||
#include "ExpressionParser.h"
|
||||
#include "Device.h"
|
||||
|
||||
#include "Common/Common.h"
|
||||
#include "Common/Thread.h"
|
||||
#include "InputCommon/ControllerInterface/ExpressionParser.h"
|
||||
#include "InputCommon/ControllerInterface/Device.h"
|
||||
|
||||
// enable disable sources
|
||||
#ifdef _WIN32
|
||||
|
@ -2,12 +2,12 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "DInput.h"
|
||||
#include "Common/StringUtil.h"
|
||||
|
||||
#include "StringUtil.h"
|
||||
#include "InputCommon/ControllerInterface/DInput/DInput.h"
|
||||
|
||||
#include "DInputJoystick.h"
|
||||
#include "DInputKeyboardMouse.h"
|
||||
#include "InputCommon/ControllerInterface/DInput/DInputJoystick.h"
|
||||
#include "InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.h"
|
||||
|
||||
#pragma comment(lib, "Dinput8.lib")
|
||||
#pragma comment(lib, "dxguid.lib")
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../Device.h"
|
||||
#include "InputCommon/ControllerInterface/Device.h"
|
||||
|
||||
#define DINPUT_SOURCE_NAME "DInput"
|
||||
|
||||
|
@ -2,12 +2,12 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "DInputJoystick.h"
|
||||
#include "DInput.h"
|
||||
#include "InputCommon/ControllerInterface/DInput/DInput.h"
|
||||
#include "InputCommon/ControllerInterface/DInput/DInputJoystick.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <map>
|
||||
#include <sstream>
|
||||
#include <algorithm>
|
||||
|
||||
#include <wbemidl.h>
|
||||
#include <oleauto.h>
|
||||
|
@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../Device.h"
|
||||
#include "../ForceFeedback/ForceFeedbackDevice.h"
|
||||
#include "InputCommon/ControllerInterface/Device.h"
|
||||
#include "InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.h"
|
||||
|
||||
namespace ciface
|
||||
{
|
||||
|
@ -2,8 +2,9 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "DInputKeyboardMouse.h"
|
||||
#include "DInput.h"
|
||||
#include <algorithm>
|
||||
#include "InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.h"
|
||||
#include "InputCommon/ControllerInterface/DInput/DInput.h"
|
||||
|
||||
// (lower would be more sensitive) user can lower sensitivity by setting range
|
||||
// seems decent here ( at 8 ), I don't think anyone would need more sensitive than this
|
||||
@ -25,7 +26,7 @@ static const struct
|
||||
const char* const name;
|
||||
} named_keys[] =
|
||||
{
|
||||
#include "NamedKeys.h"
|
||||
#include "InputCommon/ControllerInterface/DInput/NamedKeys.h"
|
||||
};
|
||||
|
||||
static const struct
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../Device.h"
|
||||
#include "InputCommon/ControllerInterface/Device.h"
|
||||
|
||||
#define DIRECTINPUT_VERSION 0x0800
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
|
@ -2,10 +2,10 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "Device.h"
|
||||
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
#include "InputCommon/ControllerInterface/Device.h"
|
||||
|
||||
namespace ciface
|
||||
{
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "Common.h"
|
||||
#include "Common/Common.h"
|
||||
|
||||
// idk in case I wanted to change it to double or something, idk what's best
|
||||
typedef float ControlState;
|
||||
|
@ -2,14 +2,15 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "ExpressionParser.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "InputCommon/ControllerInterface/ExpressionParser.h"
|
||||
|
||||
using namespace ciface::Core;
|
||||
|
||||
namespace ciface
|
||||
|
@ -5,7 +5,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include "Device.h"
|
||||
#include "InputCommon/ControllerInterface/Device.h"
|
||||
|
||||
namespace ciface
|
||||
{
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "ForceFeedbackDevice.h"
|
||||
#include "InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.h"
|
||||
|
||||
namespace ciface
|
||||
{
|
||||
|
@ -4,7 +4,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../Device.h"
|
||||
#include <list>
|
||||
|
||||
#include "InputCommon/ControllerInterface/Device.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#define DIRECTINPUT_VERSION 0x0800
|
||||
@ -13,11 +15,9 @@
|
||||
#include <Windows.h>
|
||||
#include <dinput.h>
|
||||
#elif __APPLE__
|
||||
#include "OSX/DirectInputAdapter.h"
|
||||
#include "InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputAdapter.h"
|
||||
#endif
|
||||
|
||||
#include <list>
|
||||
|
||||
namespace ciface
|
||||
{
|
||||
namespace ForceFeedback
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../Device.h"
|
||||
#include "InputCommon/ControllerInterface/Device.h"
|
||||
|
||||
namespace ciface
|
||||
{
|
||||
|
@ -6,9 +6,9 @@
|
||||
#include <IOKit/hid/IOHIDLib.h>
|
||||
#include <Cocoa/Cocoa.h>
|
||||
|
||||
#include "OSX.h"
|
||||
#include "OSXKeyboard.h"
|
||||
#include "OSXJoystick.h"
|
||||
#include "InputCommon/ControllerInterface/OSX/OSX.h"
|
||||
#include "InputCommon/ControllerInterface/OSX/OSXKeyboard.h"
|
||||
#include "InputCommon/ControllerInterface/OSX/OSXJoystick.h"
|
||||
|
||||
#include <map>
|
||||
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
#include <IOKit/hid/IOHIDLib.h>
|
||||
|
||||
#include "../Device.h"
|
||||
#include "../ForceFeedback/ForceFeedbackDevice.h"
|
||||
#include "InputCommon/ControllerInterface/Device.h"
|
||||
#include "InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.h"
|
||||
|
||||
namespace ciface
|
||||
{
|
||||
|
@ -2,12 +2,12 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include <sstream>
|
||||
|
||||
#include <Foundation/Foundation.h>
|
||||
#include <IOKit/hid/IOHIDLib.h>
|
||||
|
||||
#include "OSXJoystick.h"
|
||||
|
||||
#include <sstream>
|
||||
#include "InputCommon/ControllerInterface/OSX/OSXJoystick.h"
|
||||
|
||||
namespace ciface
|
||||
{
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include <IOKit/hid/IOHIDLib.h>
|
||||
|
||||
#include "../Device.h"
|
||||
#include "InputCommon/ControllerInterface/Device.h"
|
||||
|
||||
namespace ciface
|
||||
{
|
||||
|
@ -2,14 +2,14 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include <sstream>
|
||||
|
||||
#include <Foundation/Foundation.h>
|
||||
#include <IOKit/hid/IOHIDLib.h>
|
||||
#include <Cocoa/Cocoa.h>
|
||||
#include <wx/wx.h> // wxWidgets
|
||||
|
||||
#include "OSXKeyboard.h"
|
||||
|
||||
#include <sstream>
|
||||
#include "InputCommon/ControllerInterface/OSX/OSXKeyboard.h"
|
||||
|
||||
namespace ciface
|
||||
{
|
||||
|
@ -2,12 +2,12 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "SDL.h"
|
||||
#include <StringUtil.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <map>
|
||||
#include <sstream>
|
||||
#include <algorithm>
|
||||
|
||||
#include "Common/StringUtil.h"
|
||||
#include "InputCommon/ControllerInterface/SDL/SDL.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#pragma comment(lib, "SDL2.lib")
|
||||
|
@ -4,12 +4,13 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../Device.h"
|
||||
|
||||
#include <list>
|
||||
|
||||
#include <SDL.h>
|
||||
|
||||
#include "InputCommon/ControllerInterface/Device.h"
|
||||
|
||||
|
||||
#if SDL_VERSION_ATLEAST(1, 3, 0)
|
||||
#define USE_SDL_HAPTIC
|
||||
#endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
#include "XInput.h"
|
||||
#include "InputCommon/ControllerInterface/XInput/XInput.h"
|
||||
|
||||
namespace ciface
|
||||
{
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../Device.h"
|
||||
#include "InputCommon/ControllerInterface/Device.h"
|
||||
|
||||
#define NOMINMAX
|
||||
#include <Windows.h>
|
||||
|
@ -2,10 +2,10 @@
|
||||
// Licensed under the GNU General Public License, version 2 or higher.
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
|
||||
#include "XInput2.h"
|
||||
#include <X11/XKBlib.h>
|
||||
#include <cmath>
|
||||
#include <X11/XKBlib.h>
|
||||
|
||||
#include "InputCommon/ControllerInterface/Xlib/XInput2.h"
|
||||
|
||||
// This is an input plugin using the XInput 2.0 extension to the X11 protocol,
|
||||
// loosely based on the old XLib plugin. (Has nothing to do with the XInput
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../Device.h"
|
||||
#include "InputCommon/ControllerInterface/Device.h"
|
||||
|
||||
extern "C" {
|
||||
#include <X11/Xlib.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "Xlib.h"
|
||||
#include "InputCommon/ControllerInterface/Xlib/Xlib.h"
|
||||
|
||||
#include <X11/XKBlib.h>
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "../Device.h"
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/keysym.h>
|
||||
#include <X11/Xlib.h>
|
||||
|
||||
#include "InputCommon/ControllerInterface/Device.h"
|
||||
|
||||
namespace ciface
|
||||
{
|
||||
|
Reference in New Issue
Block a user