aboutsummaryrefslogtreecommitdiff
path: root/src/survive_default_devices.h
blob: de7f0d46eb53e814b38e9591e5a31ecb7d8800cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _SURVIVE_DEFAULT_DEVICES_H
#define _SURVIVE_DEFAULT_DEVICES_H

#include <survive.h>

SurviveObject *survive_create_hmd(SurviveContext *ctx, const char *driver_name,
								  void *driver);
SurviveObject *survive_create_wm0(SurviveContext *ctx, const char *driver_name,
								  void *driver, haptic_func cb);
SurviveObject *survive_create_wm1(SurviveContext *ctx, const char *driver_name,
								  void *driver, haptic_func cb);
SurviveObject *survive_create_tr0(SurviveContext *ctx, const char *driver_name,
								  void *driver);
SurviveObject *survive_create_ww0(SurviveContext *ctx, const char *driver_name,
								  void *driver);

int survive_load_htc_config_format(SurviveObject *so, char *ct0conf, int length);
#endif