Create IMU virtual device
This commit is contained in:
parent
2d40a35a48
commit
ecea75cf5f
8 changed files with 253 additions and 58 deletions
|
|
@ -1,12 +1,12 @@
|
|||
#pragma once
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <pthread.h>
|
||||
#include "rogue_enemy.h"
|
||||
|
||||
#define INPUT_DEV_CTRL_FLAG_EXIT 0x00000001U
|
||||
#define INPUT_DEV_CTRL_FLAG_DATA 0x00000002U
|
||||
|
||||
typedef struct input_dev {
|
||||
pthread_mutex_t ctrl_mutex;
|
||||
uint32_t crtl_flags;
|
||||
} input_dev_t;
|
||||
} input_dev_t;
|
||||
|
||||
int open_and_hide_input();
|
||||
Loading…
Add table
Add a link
Reference in a new issue