Add love.sensorupdate

This commit is contained in:
Miku AuahDark
2022-12-05 15:14:50 +08:00
parent 1fa9159f04
commit 0f13628f8e
3 changed files with 38 additions and 2 deletions
+2 -2
View File
@@ -52,11 +52,11 @@ public:
std::vector<float> getData(SensorType type) override;
std::vector<void*> getHandles() override;
static SensorType convert(SDL_SensorType type);
private:
std::map<SensorType, SDL_Sensor*> sensors;
static SensorType convert(SDL_SensorType type);
}; // Sensor
} // sdl