aboutsummaryrefslogtreecommitdiff
path: root/src/survive_default_devices.h
blob: fce199dc4ce9a684c35abaad38aa705eb676d828 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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(char* ct0conf, int length, SurviveObject * so);
#endif