Panda3D
|
00001 // Filename: config_vrpn.cxx 00002 // Created by: jason (07Aug00) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #include "config_vrpn.h" 00016 #include "vrpnAnalogDevice.h" 00017 #include "vrpnButtonDevice.h" 00018 #include "vrpnClient.h" 00019 #include "vrpnDialDevice.h" 00020 #include "vrpnTrackerDevice.h" 00021 #include "pandaSystem.h" 00022 00023 #include "dconfig.h" 00024 00025 Configure(config_vrpn); 00026 NotifyCategoryDef(vrpn, ""); 00027 00028 00029 ConfigureFn(config_vrpn) { 00030 VrpnAnalogDevice::init_type(); 00031 VrpnButtonDevice::init_type(); 00032 VrpnClient::init_type(); 00033 VrpnDialDevice::init_type(); 00034 VrpnTrackerDevice::init_type(); 00035 00036 PandaSystem *ps = PandaSystem::get_global_ptr(); 00037 ps->add_system("VRPN"); 00038 }