diff options
| author | JosJuice <josjuice@gmail.com> | 2022-09-16 23:02:30 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2023-03-03 22:28:23 +0100 |
| commit | 36acb17700554f0789d8650b7fba77ac8a7796b6 (patch) | |
| tree | 7786e016e53de7dd5b85139411b82cbd9d94a6c6 /Source/Core/InputCommon/ControllerInterface/CoreDevice.h | |
| parent | 5e51b56d723cdd69bbe1eee39e53accfe609a812 (diff) | |
ControllerInterface/Android: Implement sensor input for InputDevices
This functionality was added in Android 12 to let apps get motion data
for gamepads.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/CoreDevice.h')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/CoreDevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/CoreDevice.h b/Source/Core/InputCommon/ControllerInterface/CoreDevice.h index 2280ddac3b..a2176637ab 100644 --- a/Source/Core/InputCommon/ControllerInterface/CoreDevice.h +++ b/Source/Core/InputCommon/ControllerInterface/CoreDevice.h @@ -226,6 +226,7 @@ public: Device::Input* FindInput(std::string_view name, const Device* def_dev) const; Device::Output* FindOutput(std::string_view name, const Device* def_dev) const; + std::vector<std::shared_ptr<Device>> GetAllDevices() const; std::vector<std::string> GetAllDeviceStrings() const; bool HasDefaultDevice() const; std::string GetDefaultDeviceString() const; |
