mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Add love.sensorupdate
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user