Add love.sensor.getName(sensorType)

This commit is contained in:
Miku AuahDark
2022-12-05 15:28:44 +08:00
parent 8cfb2d54d1
commit a4b94cd848
4 changed files with 27 additions and 0 deletions
+2
View File
@@ -71,6 +71,8 @@ public:
**/
virtual std::vector<void *> getHandles() = 0;
virtual const char *getSensorName(SensorType type) = 0;
STRINGMAP_CLASS_DECLARE(SensorType);
}; // Sensor