android: Play vibrations asynchronously

This commit is contained in:
t895
2024-02-23 16:00:48 -05:00
parent 26ab5e9c88
commit ebcf0a3415
4 changed files with 44 additions and 17 deletions
+5
View File
@@ -46,6 +46,11 @@ enum class EngineInputType {
Nfc,
};
struct VibrationRequest {
PadIdentifier identifier;
Common::Input::VibrationStatus vibration;
};
namespace std {
// Hash used to create lists from PadIdentifier data
template <>