00001 00002 /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- 00003 00004 this file is part of rcssserver3D 00005 Fri May 9 2003 00006 Copyright (C) 2002,2003 Koblenz University 00007 Copyright (C) 2004 RoboCup Soccer Server 3D Maintenance Group 00008 $Id: inputdevice.cpp,v 1.4 2004/04/23 20:31:03 fruit Exp $ 00009 00010 This program is free software; you can redistribute it and/or modify 00011 it under the terms of the GNU General Public License as published by 00012 the Free Software Foundation; version 2 of the License. 00013 00014 This program is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 GNU General Public License for more details. 00018 00019 You should have received a copy of the GNU General Public License 00020 along with this program; if not, write to the Free Software 00021 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00022 */ 00023 #include "inputdevice.h" 00024 00025 using namespace kerosin; 00026 using namespace zeitgeist; 00027 00028 InputDevice::InputDevice() : mInputSystem(0) 00029 { 00030 } 00031 00032 InputDevice::~InputDevice() 00033 { 00034 } 00035 00036 bool 00037 InputDevice::Init(kerosin::InputSystem* inputSystem) 00038 { 00039 mInputSystem = inputSystem; 00040 00041 return (mInputSystem != 0); 00042 }