-#include <map>
-#include <vector>
-
-SG_USING_STD(map);
-SG_USING_STD(vector);
-
-/**
- * An input binding of some sort.
- *
- * <p>This class represents a binding that can be assigned to a
- * keyboard key, a joystick button or axis, or even a panel
- * instrument.</p>
- */
-class FGBinding
-{
-public:
-
- FGBinding ();
- FGBinding (const SGPropertyNode * node);
- virtual ~FGBinding ();
-
- virtual const string &getCommandName () const { return _command_name; }
- virtual SGCommandMgr::command_t getCommand () const { return _command; }
- virtual const SGPropertyNode * getArg () { return _arg; }
-
- virtual void read (const SGPropertyNode * node);
-
- virtual void fire () const;
-// virtual void fire (double value);
-// virtual void fire (int xdelta, int ydelta);
-
-private:
- string _command_name;
- SGCommandMgr::command_t _command;
- const SGPropertyNode * _arg;
-};
+\f
+////////////////////////////////////////////////////////////////////////
+// General input mapping support.
+////////////////////////////////////////////////////////////////////////