]> git.mxchange.org Git - flightgear.git/blobdiff - src/Input/FGLinuxEventInput.cxx
Remove dead file.
[flightgear.git] / src / Input / FGLinuxEventInput.cxx
index a5e825b104f004a2efb8903d0a4b94c322560196..43256aadd485a167c2042eb2c215d9e94f517bf6 100644 (file)
@@ -42,7 +42,7 @@ struct TypeCode {
     return (unsigned long)type << 16 | (unsigned long)code;
   }
 
-  bool operator < ( const TypeCode other) const {
+  bool operator < ( const TypeCode other) const {
     return hashCode() < other.hashCode();
   }
 };
@@ -436,7 +436,7 @@ const char * FGLinuxInputDevice::TranslateEventName( FGEventData & eventData )
   return EVENT_NAME_BY_TYPE[typeCode];
 }
 
-void FGLinuxInputDevice::SetDevname( std::string name )
+void FGLinuxInputDevice::SetDevname( const std::string & name )
 {
   this->devname = name; 
 }
@@ -469,7 +469,7 @@ void FGLinuxEventInput::postinit()
     dev = udev_device_get_parent( dev );
     const char * name = udev_device_get_sysattr_value(dev,"name");
 
-    SG_LOG(SG_INPUT,SG_ALERT, "name=" << (name?name:"<null>") << ", node=" << (node?node:"<null>"));
+    SG_LOG(SG_INPUT,SG_DEBUG, "name=" << (name?name:"<null>") << ", node=" << (node?node:"<null>"));
     if( name && node )
       AddDevice( new FGLinuxInputDevice(name, node) );