Qt: Move Gamepad events into input/

This commit is contained in:
Vicki Pfau 2023-01-18 22:35:34 -08:00
parent 4580e8d2e9
commit 8ec856e10c
18 changed files with 25 additions and 26 deletions

View File

@ -103,11 +103,11 @@ set(SOURCE_FILES
GBAApp.cpp
GBAKeyEditor.cpp
GIFView.cpp
GamepadAxisEvent.cpp
GamepadButtonEvent.cpp
GamepadHatEvent.cpp
IOViewer.cpp
input/Gamepad.cpp
input/GamepadAxisEvent.cpp
input/GamepadButtonEvent.cpp
input/GamepadHatEvent.cpp
input/InputDriver.cpp
input/InputSource.cpp
input/InputMapper.cpp

View File

@ -1,4 +1,4 @@
/* Copyright (c) 2013-2014 Jeffrey Pfau
/* Copyright (c) 2013-2023 Jeffrey Pfau
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
@ -6,8 +6,7 @@
#include "InputController.h"
#include "ConfigController.h"
#include "GamepadAxisEvent.h"
#include "GamepadButtonEvent.h"
#include "input/GamepadButtonEvent.h"
#include "InputProfile.h"
#include "LogController.h"
#include "utils.h"

View File

@ -5,8 +5,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#pragma once
#include "GamepadAxisEvent.h"
#include "GamepadHatEvent.h"
#include "input/GamepadAxisEvent.h"
#include "input/GamepadHatEvent.h"
#include "input/InputMapper.h"
#include <QImage>

View File

@ -5,7 +5,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#pragma once
#include "GamepadAxisEvent.h"
#include "input/GamepadAxisEvent.h"
#include <mgba/gba/interface.h>

View File

@ -5,8 +5,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "KeyEditor.h"
#include "GamepadAxisEvent.h"
#include "GamepadButtonEvent.h"
#include "input/GamepadAxisEvent.h"
#include "input/GamepadButtonEvent.h"
#include "ShortcutController.h"
#include <QCoreApplication>

View File

@ -5,8 +5,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#pragma once
#include "GamepadAxisEvent.h"
#include "GamepadHatEvent.h"
#include "input/GamepadAxisEvent.h"
#include "input/GamepadHatEvent.h"
#include <QLineEdit>
#include <QTimer>

View File

@ -6,8 +6,8 @@
#include "LoadSaveState.h"
#include "CoreController.h"
#include "GamepadAxisEvent.h"
#include "GamepadButtonEvent.h"
#include "input/GamepadAxisEvent.h"
#include "input/GamepadButtonEvent.h"
#include "VFileDevice.h"
#include "utils.h"

View File

@ -6,7 +6,7 @@
#include "SensorView.h"
#include "CoreController.h"
#include "GamepadAxisEvent.h"
#include "input/GamepadAxisEvent.h"
#include "InputController.h"
#include "utils.h"

View File

@ -6,7 +6,7 @@
#include "ShortcutController.h"
#include "ConfigController.h"
#include "GamepadButtonEvent.h"
#include "input/GamepadButtonEvent.h"
#include "InputProfile.h"
#include <QAction>

View File

@ -6,7 +6,7 @@
#pragma once
#include "ActionMapper.h"
#include "GamepadAxisEvent.h"
#include "input/GamepadAxisEvent.h"
#include <QHash>
#include <QMap>

View File

@ -5,8 +5,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "ShortcutView.h"
#include "GamepadButtonEvent.h"
#include "InputController.h"
#include "input/GamepadButtonEvent.h"
#include "ShortcutController.h"
#include "ShortcutModel.h"

View File

@ -5,7 +5,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#pragma once
#include "GamepadAxisEvent.h"
#include "input/GamepadAxisEvent.h"
#include <QWidget>

View File

@ -1,9 +1,9 @@
/* Copyright (c) 2013-2015 Jeffrey Pfau
/* Copyright (c) 2013-2023 Jeffrey Pfau
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "GamepadAxisEvent.h"
#include "input/GamepadAxisEvent.h"
#include "InputController.h"

View File

@ -1,9 +1,9 @@
/* Copyright (c) 2013-2015 Jeffrey Pfau
/* Copyright (c) 2013-2023 Jeffrey Pfau
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "GamepadButtonEvent.h"
#include "input/GamepadButtonEvent.h"
#include "InputController.h"

View File

@ -1,9 +1,9 @@
/* Copyright (c) 2013-2017 Jeffrey Pfau
/* Copyright (c) 2013-2023 Jeffrey Pfau
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "GamepadHatEvent.h"
#include "input/GamepadHatEvent.h"
#include "InputController.h"