mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 01:19:19 +02:00
headtracking from joystick input
This commit is contained in:
14
headtrack.h
Normal file
14
headtrack.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
class headtrack
|
||||
{
|
||||
int joy_id = -1;
|
||||
|
||||
void find_joy();
|
||||
float get_axis(const float *data, int count, int axis, float mul);
|
||||
|
||||
public:
|
||||
headtrack();
|
||||
|
||||
void update();
|
||||
};
|
||||
Reference in New Issue
Block a user