diff options
Diffstat (limited to 'src/input_common/main.h')
| -rw-r--r-- | src/input_common/main.h | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/src/input_common/main.h b/src/input_common/main.h index eb247e164..b504ebe54 100644 --- a/src/input_common/main.h +++ b/src/input_common/main.h | |||
| @@ -63,18 +63,6 @@ public: | |||
| 63 | }; | 63 | }; |
| 64 | } // namespace Polling | 64 | } // namespace Polling |
| 65 | 65 | ||
| 66 | class GCAnalogFactory; | ||
| 67 | class GCButtonFactory; | ||
| 68 | class UDPMotionFactory; | ||
| 69 | class UDPTouchFactory; | ||
| 70 | class MouseButtonFactory; | ||
| 71 | class MouseAnalogFactory; | ||
| 72 | class MouseMotionFactory; | ||
| 73 | class MouseTouchFactory; | ||
| 74 | class TasButtonFactory; | ||
| 75 | class TasAnalogFactory; | ||
| 76 | class Keyboard; | ||
| 77 | |||
| 78 | /** | 66 | /** |
| 79 | * Given a ParamPackage for a Device returned from `GetInputDevices`, attempt to get the default | 67 | * Given a ParamPackage for a Device returned from `GetInputDevices`, attempt to get the default |
| 80 | * mapping for the device. This is currently only implemented for the SDL backend devices. | 68 | * mapping for the device. This is currently only implemented for the SDL backend devices. |
| @@ -100,23 +88,6 @@ public: | |||
| 100 | /// Unregisters all built-in input device factories and shuts them down. | 88 | /// Unregisters all built-in input device factories and shuts them down. |
| 101 | void Shutdown(); | 89 | void Shutdown(); |
| 102 | 90 | ||
| 103 | /// Retrieves the underlying keyboard device. | ||
| 104 | [[nodiscard]] Keyboard* GetKeyboard(); | ||
| 105 | |||
| 106 | /// Retrieves the underlying keyboard device. | ||
| 107 | [[nodiscard]] const Keyboard* GetKeyboard() const; | ||
| 108 | |||
| 109 | /// Retrieves the underlying mouse device. | ||
| 110 | [[nodiscard]] MouseInput::Mouse* GetMouse(); | ||
| 111 | |||
| 112 | /// Retrieves the underlying mouse device. | ||
| 113 | [[nodiscard]] const MouseInput::Mouse* GetMouse() const; | ||
| 114 | |||
| 115 | /// Retrieves the underlying tas device. | ||
| 116 | [[nodiscard]] TasInput::Tas* GetTas(); | ||
| 117 | |||
| 118 | /// Retrieves the underlying tas device. | ||
| 119 | [[nodiscard]] const TasInput::Tas* GetTas() const; | ||
| 120 | /** | 91 | /** |
| 121 | * Returns all available input devices that this Factory can create a new device with. | 92 | * Returns all available input devices that this Factory can create a new device with. |
| 122 | * Each returned ParamPackage should have a `display` field used for display, a class field for | 93 | * Each returned ParamPackage should have a `display` field used for display, a class field for |
| @@ -134,66 +105,6 @@ public: | |||
| 134 | /// Retrieves the motion mappings for the given device. | 105 | /// Retrieves the motion mappings for the given device. |
| 135 | [[nodiscard]] MotionMapping GetMotionMappingForDevice(const Common::ParamPackage& device) const; | 106 | [[nodiscard]] MotionMapping GetMotionMappingForDevice(const Common::ParamPackage& device) const; |
| 136 | 107 | ||
| 137 | /// Retrieves the underlying GameCube analog handler. | ||
| 138 | [[nodiscard]] GCAnalogFactory* GetGCAnalogs(); | ||
| 139 | |||
| 140 | /// Retrieves the underlying GameCube analog handler. | ||
| 141 | [[nodiscard]] const GCAnalogFactory* GetGCAnalogs() const; | ||
| 142 | |||
| 143 | /// Retrieves the underlying GameCube button handler. | ||
| 144 | [[nodiscard]] GCButtonFactory* GetGCButtons(); | ||
| 145 | |||
| 146 | /// Retrieves the underlying GameCube button handler. | ||
| 147 | [[nodiscard]] const GCButtonFactory* GetGCButtons() const; | ||
| 148 | |||
| 149 | /// Retrieves the underlying udp motion handler. | ||
| 150 | [[nodiscard]] UDPMotionFactory* GetUDPMotions(); | ||
| 151 | |||
| 152 | /// Retrieves the underlying udp motion handler. | ||
| 153 | [[nodiscard]] const UDPMotionFactory* GetUDPMotions() const; | ||
| 154 | |||
| 155 | /// Retrieves the underlying udp touch handler. | ||
| 156 | [[nodiscard]] UDPTouchFactory* GetUDPTouch(); | ||
| 157 | |||
| 158 | /// Retrieves the underlying udp touch handler. | ||
| 159 | [[nodiscard]] const UDPTouchFactory* GetUDPTouch() const; | ||
| 160 | |||
| 161 | /// Retrieves the underlying mouse button handler. | ||
| 162 | [[nodiscard]] MouseButtonFactory* GetMouseButtons(); | ||
| 163 | |||
| 164 | /// Retrieves the underlying mouse button handler. | ||
| 165 | [[nodiscard]] const MouseButtonFactory* GetMouseButtons() const; | ||
| 166 | |||
| 167 | /// Retrieves the underlying mouse analog handler. | ||
| 168 | [[nodiscard]] MouseAnalogFactory* GetMouseAnalogs(); | ||
| 169 | |||
| 170 | /// Retrieves the underlying mouse analog handler. | ||
| 171 | [[nodiscard]] const MouseAnalogFactory* GetMouseAnalogs() const; | ||
| 172 | |||
| 173 | /// Retrieves the underlying mouse motion handler. | ||
| 174 | [[nodiscard]] MouseMotionFactory* GetMouseMotions(); | ||
| 175 | |||
| 176 | /// Retrieves the underlying mouse motion handler. | ||
| 177 | [[nodiscard]] const MouseMotionFactory* GetMouseMotions() const; | ||
| 178 | |||
| 179 | /// Retrieves the underlying mouse touch handler. | ||
| 180 | [[nodiscard]] MouseTouchFactory* GetMouseTouch(); | ||
| 181 | |||
| 182 | /// Retrieves the underlying mouse touch handler. | ||
| 183 | [[nodiscard]] const MouseTouchFactory* GetMouseTouch() const; | ||
| 184 | |||
| 185 | /// Retrieves the underlying tas button handler. | ||
| 186 | [[nodiscard]] TasButtonFactory* GetTasButtons(); | ||
| 187 | |||
| 188 | /// Retrieves the underlying tas button handler. | ||
| 189 | [[nodiscard]] const TasButtonFactory* GetTasButtons() const; | ||
| 190 | |||
| 191 | /// Retrieves the underlying tas analogs handler. | ||
| 192 | [[nodiscard]] TasAnalogFactory* GetTasAnalogs(); | ||
| 193 | |||
| 194 | /// Retrieves the underlying tas analogs handler. | ||
| 195 | [[nodiscard]] const TasAnalogFactory* GetTasAnalogs() const; | ||
| 196 | |||
| 197 | /// Reloads the input devices | 108 | /// Reloads the input devices |
| 198 | void ReloadInputDevices(); | 109 | void ReloadInputDevices(); |
| 199 | 110 | ||