+
+ /**
+ * Initialize joystick bindings.
+ */
+ void _init_joystick ();
+
+
+ /**
+ * Initialize a single button.
+ */
+ inline void _init_button (const SGPropertyNode * node,
+ button &b,
+ const string name);
+
+
+ /**
+ * Update the keyboard.
+ */
+ void _update_keyboard ();
+
+
+ /**
+ * Update the joystick.
+ */
+ void _update_joystick ();
+
+
+ /**
+ * Update a single button.
+ */
+ inline void _update_button (button &b, int modifiers, bool pressed);
+
+
+ /**
+ * Read bindings and modifiers.
+ */
+ void _read_bindings (const SGPropertyNode * node,
+ binding_list_t * binding_list,
+ int modifiers);