]> git.mxchange.org Git - flightgear.git/blobdiff - src/Input/fgjs.cxx
throw an exception if not even a default joystick could be found;
[flightgear.git] / src / Input / fgjs.cxx
index 8cce19be74ff327132900c09eef3ac1fee2b1d26..a98429c0b2f65a480b4f5cc76580db3d5f0d5322 100644 (file)
@@ -121,6 +121,8 @@ void writeButtonProperties(fstream &fs, int property,int joystick, int button) {
 
       
 int main(void) {
+  jsInit();
+
   jsSuper *jss=new jsSuper();
   jsInput *jsi=new jsInput(jss);
   jsi->displayValues(false);