Jump to content

56RAF_Dutch

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by 56RAF_Dutch

  1. now there is also a graphical user interface!! Guys, Goonybird showed me some cool stuff by arthur_dcs on this forum!! Arthur_DCS managed to make a complete GUI for the switchpanel in .NET!! In just tried it offline (without flight sim) and it seems to work like a charm. Look at his thread and enjoy!! http://forums.eagle.ru/showthread.php?t=118988 grtz, 56RAF_Dutch
  2. Posted the wrong zip file I am sorry guys I realized today that I posted the wrong .zip file. I just uploaded the correct .zip file in my previous post. (saitekpanel_v2.zip) I am trying to make a nice graphic presentation of the switch together with the script. But I zipped the wrong version twice :( from my laptop where I do work and development. Now I copied the .zip file actually from my gaming PC so I know that it works because I use it with the flight sims DCS P51 and Cliffs of Dover. Sorry for the inconvenience. When the new version with the graphic is ready I will also post it here also with a new version. Happy landings! 56RAF Dutch
  3. Modified and recompiled Hi guys, I could not stand the fact that it looked so simple but that I was not able to adjust it. Bottom line...I modified the script and recompiled all and now the light panel switch works seperately from the cowl switch......enjoy :-) ****** - Edited 8 november 2013 - ****** I recompiled the app again because I had debugging features still enabled. If you don't care how and what I did just download and use the attached zip file, otherwise read further below ..... I have some extensive experience with scripting Perl, visual basic and powershell so it does not take much effort to read and understand java. So I did some research and installed Netbeans IDE as my script editor. Netbeans IDE also supported Maven... I still do not know what it means :-( but I encoutered it in the start.bat so I read up about it for the prerequisites. I then could import the pom.xml file as a new project. I then installed the dependencies, the usb stuff from the "to_install folder" and the rest could be downloaded by Netbeans IDE from the internet. Cool feature btw :-) I then noticed al the warnings disappear while installing and downloading these depencies. Finally I had to comment out the radio switch part because I don't have that switch and the script crashed because it could not find the device. Recompiled it, tested it and voila !!! saitekpanel_v2.zip
  4. Guys, It works like a charm! The only thing I had to do next to unpacking the ZIP file was running the USB wizard once. After I installed the generated INF file the start.bat runs like a charm, no errors and all the predefined keys are working in the controls configuration menu. I am using this in the Flight SIM Cliffs of Dover now and I will be using the same config in DCS in the P-51. The only thing I could find is that the cowl switch and the panel light switch act on the same pre-defined key. I looked at the main.java in the src folder and found the mistake, but don't know how to recompile all this to get the switches to work seperately. Look at the code in the main.java (two bottom lines) are pointing to the same pre-defined key (SWITCHKEY_CLOSE_COWL) // SWITCH PART enum SwitchKeys { // Group 0 MASTER_BAT(0, 0b1, "SWITCHKEY_MASTER_BAT"), MASTER_ALT(0, 0b10, "SWITCHKEY_MASTER_ALT"), AVIONICS_MASTER(0, 0b100, "SWITCHKEY_AVIONICS_MASTER"), FUEL_PUMP(0, 0b1000, "SWITCHKEY_FUEL_PUMP"), DE_ICE(0, 0b10000, "SWITCHKEY_DE_ICE"), PITOT_HEAT(0, 0b100000, "SWITCHKEY_PITOT_HEAT"), CLOSE_COWL(0, 0b1000000, "SWITCHKEY_CLOSE_COWL"), LIGHTS_PANEL(0, 0b10000000, "SWITCHKEY_CLOSE_COWL"), // Group 1 Maybee someone knows? 56RAF Dutch
×
×
  • Create New...