You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
308 B
23 lines
308 B
3 years ago
|
#ifndef _INPUT_H
|
||
|
#define _INPUT_H
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
#include <stddef.h>
|
||
|
#include <stdint.h>
|
||
|
|
||
|
typedef uint16_t input_t;
|
||
|
|
||
|
#define INPUT_VECTOR_STEP (16 / sizeof(input_t))
|
||
|
|
||
|
extern const size_t INPUT_SIZE;
|
||
|
extern const input_t INPUT[];
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif /* _INPUT_H */
|