Jump to content
The simFlight Network Forums

Search the Community

Showing results for tags 'Buttons'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Product Support Forums
    • FSUIPC Support Pete Dowson Modules
    • MyTraffic Support Forum
    • FeelThere Support Forums
    • FS Commander Support Forum
    • Flying W Simulation
    • AConstable Traffic Sounds Support Forum
    • Fabio Merlo Products Support Forum
    • Elite-Air Studio Support Forum
    • Nikola Jovanovic Support Forum
    • Intrasystems Support Forum
    • FScene Support Forum
    • Taburet & DanVFR Support Forum
    • Environ Scenery
  • simFlight DE
  • FS MAGAZIN (DE)
  • simRussia
  • FSUIPC Client DLL for .NET

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 5 results

  1. Background PMDG Aircraft for FSX and P3D do not typically use the normal controls provided by the flight sim. This means that many of the aircraft's switches cannot be assigned to buttons and keys using the list of controls in the FSUIPC dropdown boxes. Assigning a standard control in FSUIPC will likely do nothing in the PMDG aircraft when the button or key is pressed. Solution Instead of using the standard list of controls shown in the FSUIPC dropdown box, users must use a different set of controls provided by PMDG for the specific aircraft. These are known as custom controls (or custom events). The custom controls vary for each aircraft and are listed in the SDK that is installed alongside the aircraft. This guide will show you, step-by-step: How to find the SDK files How to calculate the custom control numbers How to work out the parameter value How to assign the control to buttons/keys in FSUIPC The specific examples shown will be taken from the PMDG 737NGX, but the same method works for any PMDG aircraft with an SDK and custom controls (e.g. 777, 747). 1. Locating the SDK From your main Flight Sim install folder, open the PMDG folder. Then select the folder belonging to the aircraft you want to use. e.g. PMDG 737 NGX Then select the SDK folder Locate the file with the .h extension. For the 737 it's called PMDG_NGX_SDK.h You can open this file with Notepad or your favourite text editor. As an example, the document you need for the 737 will be: [FlightSimInstallFolder]\PMDG\PMDG 737 NGX\SDK\PMDG_NGX_SDK.h 2. Calculating the control numbers 2.1. Find THIRD_PARTY_EVENT_ID_MIN The first thing to find is the definition of THIRD_PARTY_EVENT_ID_MIN. Search for the following text: #define THIRD_PARTY_EVENT_ID_MIN You will find a line like this (from the 737 file): #define THIRD_PARTY_EVENT_ID_MIN 0x00011000 // equals to 69632 Note the decimal value at the end. In the case above it's 69632. You will need this value to calculate the control number in the next step. 2.2. Find the control you want to use. Search for the control by name, or look through the listed controls to find the one you want. They are helpfully grouped together by panel. The controls are listed under a comment: // Control Events You can search for this to find where the list of control numbers starts. As an example we'll use the Autopilot CMD A swtich on the MCP. This is the relevant line in the 737 SDK: #define EVT_MCP_CMD_A_SWITCH (THIRD_PARTY_EVENT_ID_MIN + 402) To calculate the control number for this switch we just add 402 to the value of THIRD_PARTY_EVENT_ID_MIN we found earlier. 69632 + 402 = 70034 We have now calculated the control number. We will use this in step 4 to program the button/key. 3. Finding the parameter value PMDG controls need a parameter value which represents what type of mouse click to simulate for the particular switch. Mainly it will be the left mouse button, but other clicks types are available (e.g. Right button, left double click etc). To find the codes for each type of click, search for MOUSE_FLAG You'll find a block of #define statements for each type of mouse click. Here are a couple of examples from the 737 sdk: #define MOUSE_FLAG_RIGHTSINGLE 0x80000000 #define MOUSE_FLAG_LEFTSINGLE 0x20000000 Find the click that you want to simulate and get the code. For example, we'll have our key assignment simulate the left mouse button clicking on the CMD A autopilot button. So we'll need 0x20000000 as the parameter value for the control. Now we have the control number and parameter value. 4. Assigning the control to a button or key in FSUIPC Select the [buttons + swtiches] or [key presses] tab in FSUIPC and select the button or key to program. From the "control sent..." dropdown select <custom control> (it's near the top of the list) A popup window appears asking for the control number. Type in the control number you calculated in step 2. For our 'autopilot CMD A' example, we enter 70034 and click OK. The controls dropdown box will now show the control number in angled brackets. In the "parameter" box (below the controls dropdown), enter the mouse code from step 3. Do not include the first 0 from the number listed in the PMDG SDK. Start with the x. With our example, we would enter x20000000 for the left-button single-click. Note that this code is in hexadecimal. FSUIPC will convert it to the equivalent decimal value. This is nothing to worry about. It's the same number. Entering the value in Hex is more convenient. If you're programming a key press, remember to press the [confirm] button. Here is our example control assigned to a button in FSUIPC: Your button or key press should now operate the switch in your PMDG aircraft.
  2. P3dv3, fsuip 4.962, Aerosoft Airbus 320, EZDOK, Windows 10 All I want to do is pushback and turn. I have spent days reading all the help stuff but can't find a simple answer. It starts to pushback only if shift P is set with the keys in P3D but any number 1 or 2 on keyboard or NUM doesn't start a turn. Tried everything that I can, EZDOK global disable so that I can press NUM 1 and NUM 2 - no luck. In FSUIPC, setting Offset 31F4 and Parameter 1 or 2 in the "key presses" tab has no affect, and doing it via a button on the joystick to send 1 or 2 does nothing either. Is ground handing 5 software rcbgh-50 the only way? Hope you can help. John
  3. Hey, I am trying to set up some switches for the PMDG 737. Now I want to built an autopilot switch. Is there are possibility to use it like: First press: Autopilot Engage A = on Second press: Autopilot Engage A = off Is there a Parameter I can use? Greetings
  4. Sorry if this has been mentioned already, but I couldn't the answer in and I didn't see it in the manual ... and I'm very new to FSUIPC. Is it possible to assign one command to two buttons -- pressed simultaneously -- on a joystick? Basically, I'd like to reassign the trigger button (which it seems is often used for brakes) as a kind of Shift or Control key for other buttons on the joystick. The idea is to be able to perform actions by simply just pressing the trigger and then another button with one hand and thus not have to use my other to press a separate key on the keyboard, which something I know how to do already. Hope that makes sense. Thanks!
  5. Hi, I am running a registered copy of version 4.90 :razz:. I am trying to program my FSX through FSUIPC. After downloading multiple tutorials and user guides, I could succeed in many assignements but I'm now facing some situation that I am unable to find an explanation for :oops:. 1. In Buttons and Switches, it is pretty clear except the role and "way to use" the Parameter option associated to a FS Control button. 2.. While assigning to my Thrustmaster MFD Cougar the control "Heading Bug Inc" and "Heading Bug Dec", the steps are by 10 degrees. How to adjust to 1 degree when [button pressed] and more when [repeat while held] ? 3. The same question raises for Altitude and Speed Inc / Dec ? 4. What is the control to assign the Course Inc/Dec function ? 5. For Pushback I could find the control. But I would like to assign the Left and Right Pushback as well... What is the control ? An additional question related to the flap control assignement: I strictly followed the guide to set the 7 detents of my E-175 Feelthere but when it runs, the flaps lever jumps from 1 to full and return to 4 and 5... Is there a reliable and accurate user guide explaining the adjustment "for Dummies" ? I know that all my questions may appear simple to you, but few days of Web investigation and multiple reading made me turning quite crazy... Merci in advance and congratulations for your work and your availability to assist guys like me. Bruno
×

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.