diff options
| author | Lenczu Vex <kuba.lenczowski03@gmail.com> | 2024-10-13 00:37:05 +0200 |
|---|---|---|
| committer | Lenczu Vex <kuba.lenczowski03@gmail.com> | 2024-10-13 00:37:05 +0200 |
| commit | 3f96783eba8768109b449e0aebed67052e832661 (patch) | |
| tree | 7882655767a70d2c3a9bd2269e3873e34de443d5 /ibus.h | |
| parent | d278e9e866802734fff1c11a38771028db36b085 (diff) | |
Fixes and some redesign
Diffstat (limited to 'ibus.h')
| -rw-r--r-- | ibus.h | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -1,7 +1,13 @@ +#ifndef IBUS_H +#define IBUS_H + +#include <stdint.h> + #define IBusSize 34 #define channelC 15 -#define startByteAlpha 0x20 +#define IBusSize 0x20 #define startByteBeta 0x40 -typedef char[IBusSize] IBusFrame -typedef unsigned short int[15] channelValues +typedef uint8_t[IBusSize] IBusFrame +typedef uint16_t[15] channelValues +#endif |
