Jump to content
Sign in to follow this  
Ace9

Buttons - Functions - Key Strokes - Linda Lua

Recommended Posts

Hello, I am in a flat spin heading out to sea.....

I am running P3Dv4.4 64bit | Windows 10 Pro)

In the quest for a mouseless flight Sim experience, I purchased Reality XP GNS 530W/430W V2 a few days ago; and am very excited to have it, I am building a panel for it, dual pole + push button encoders etc.. Master will hopefully be NO_BEZEL on a 7 inch HDMI screen, the secondary will be installed as per A2A or Popup.. So I need full functionality on the home built panel in each aircraft, the secondary panel on the cockpit dash is purely visual and does not need to do anything except look the part. 

That said, I am new to panel building and I am not used to programming, but have up until now been able to use LInda Lua and FSUIPC to programme my Encoders and Buttons.. After reading the RXP manual, and looking at the ini files I am totally confused. Hopefully someone can unconfuse me..... Please 😃 I have already discovered that the Linda LIB: RealityXP module does not work

 

Q1) if I am using Linda Lua to assign buttons, is it necessary as well to add the required key strokes, for example "SHIFT+CTRL+M" to the list found in n:\Users\<name>\Documents\Reality XP\GNS Simulation\FltSim\RealityXP.GNS.ini  ?

I would prefer just to use a Lua function in Linda as below which does the same thing.

function RXP_530_MSG ()

    ipc.keypress(77, 11)

    --DspShow("R530", "MSG")

end

 

Q2) Where can the control names for each button be found?

Are they listed in the xml file found at n:\Program Files (x86)\Reality XP\GNS Simulation\FltSim\modeldef (RealityXP GNS V2).xml  ?

 

The reason why I am in a flat spin heading out to sea is, the message button in the modeldef (RealityXP GNS V2).xml  document is named RXP_GNS_MSG_BUTN_n 

In the RealityXP.GNS.ini file its named as MSG_n = (keystroke values),

And looking at the Linda LIB: Reality XP Module this calls for a function named RXP_530_MSG 

 

Q3) Where is this control RXP_530_MSG found  in which ini or xml file?

 

Q4) What advantage is there in not using the default Sim Commands?

 

I hope this makes sense, Many Thanks.

Roger

Share this post


Link to post
Share on other sites

Les, many thanks for your time. I am using a Leo Bodnar 32bbi usb board, Once I get the hang of this, Arduino is my nest step. I was completely unaware of Spad.Next - very interesting... Any ways your reply has halted my flat spin and I will take your advice and use the Sim Commands... It appears to my novice brain that RXP GNS is very complex, none of the control names are obviously the identical making mapping in my mind a nightmare.

Cheers Les, many thanks again. 

Share this post


Link to post
Share on other sites

Hi,

The GNS V2 is very deep when you reach further yet we're trying our best to make you feel you're using a simple mobile APP:

  • Sane default settings for most aircraft.
  • Seamless configuration with the in-sim/in-aircraft GUI Configuration Panel.
  • Live immediate feedback for any change in the settings.
  • Clever integration capabilities like "Use Simulator GPS Commands" to make interfacing with any 3rd party as easy as a swap of the default GPS (mostly).
  • Extended configuration capabilities for the most daring.
  • Last but not least: best graphics and performance in the industry while offering identical user experience from FS9 to P3D4!

And certainly much more to add but this starts sounding like an infomercial 😉


Jean-Luc | reality-xp.com
This message from Reality XP is protected by a disclaimer: reality-xp.com/aboutrealityxp/email.html

Let your voice be heard and help us make a difference for you: Vote !
Open up communications with Reality-XP (Microsoft Flight Simulator Forums)

Share this post


Link to post
Share on other sites

I am very happy with the purchase, and happy that there is good support. I am learning albeit slowly, fathoming the depths of this great piece of software..

Cheers

  • Like 1

Share this post


Link to post
Share on other sites

Hi Guys, bonjour Jean-Luc,

I dig up this thread since I'm building a simpit using both GNS 530W and 430W V2 with hardware (rotary encoders, buttons..) connected to an Arduino Mega through Air Manager v3.6.

Using P3D events I easily control the GNS#1 (i.e. the 530W) but I struggle on how to control the GNS#2.

the "useSimGpsCmds" is set to true on both GNS.

I understand n4gix succeded in controling his second unit by using G1000 PFD and MFD events...

How did is trick ?

Thank you in advance for your help,

Francois

PS: I would rather avoid to go the XML way since I'm not sure I can handle it through Air Manager...


Francois Mavel

Share this post


Link to post
Share on other sites

@altack Hi, the discussion you're referring to is for integration of the GNS commands with the 3D model for aircraft modellers (re: G1000 commands).

Please re-read the RXP GNS User's Manual and look for the explanations about the commands 'modifiers'. These are values you pass along the command to tell whether they are for the GPS #1 or the GPS #2, whether they are press, release or press-release commands.

 


Jean-Luc | reality-xp.com
This message from Reality XP is protected by a disclaimer: reality-xp.com/aboutrealityxp/email.html

Let your voice be heard and help us make a difference for you: Vote !
Open up communications with Reality-XP (Microsoft Flight Simulator Forums)

Share this post


Link to post
Share on other sites

Thank you so much Jean-Luc,

my second unit works great now.

Next will be to ensure proper screen positionning on both 4" and 5" LCDs,

Promise I will carefully (re)read the user manual before bothering you again 😉.

BTW Thanks again for your great customer support !

  • Like 1

Francois Mavel

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...