* Using 8 bits per int for serial devices * Refactor simwind code slightly to improve performance
22 lines
300 B
C
Executable File
22 lines
300 B
C
Executable File
#ifndef _SIMHAPTICDATA_H
|
|
#define _SIMHAPTICDATA_H
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
typedef struct
|
|
{
|
|
uint8_t motor1;
|
|
uint8_t effect1;
|
|
uint8_t motor2;
|
|
uint8_t effect2;
|
|
uint8_t motor3;
|
|
uint8_t effect3;
|
|
uint8_t motor4;
|
|
uint8_t effect4;
|
|
}
|
|
SimHapticData;
|
|
|
|
|
|
#endif
|