#include <simgear/compiler.h>
+#include <simgear/misc/sg_path.hxx>
#include <simgear/structure/subsystem_mgr.hxx>
#include <simgear/structure/commands.hxx>
#include <simgear/props/condition.hxx>
// Implementation of SGSubsystem.
//
virtual void init ();
+ virtual void reinit ();
+ virtual void postinit ();
virtual void update (double dt);
virtual void suspend ();
virtual void resume ();
void _init_joystick ();
+ /**
+ * Scan directory recursively for "named joystick" configuration files,
+ * and read them into /input/joysticks/js-named[index]++.
+ */
+ void _scan_joystick_dir (SGPath *path, SGPropertyNode* node, int *index);
+
+
/**
* Initialize mouse bindings.
*/
button &b,
const string name);
+ /**
+ * Initialize nasal parts that had to wait for the nasal to get
+ * functional.
+ */
+ void _postinit_joystick ();
/**
* Update the keyboard.