Fix sensors

This commit is contained in:
Ivan Epifanov
2020-12-05 12:37:53 +03:00
committed by Sam Lantinga
parent e7edb06e7a
commit 6d85637786
2 changed files with 58 additions and 25 deletions

View File

@@ -20,4 +20,11 @@
*/
#include "SDL_config.h"
/* The private structure used to keep track of a sensor */
struct sensor_hwdata
{
float data[3];
int counter;
};
/* vi: set ts=4 sw=4 expandtab: */