MobiFlight Community Support

Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.

You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks! 

05/03/2024 - This forum is read-only

The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!

See you on our MobiFlight Community Discord server.

A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.

The forum is still providing a lot of good content, hence we keep this information accessible.

icon
Avatar
sisoffi
Posts: 91
Hi at all,
i followed some post here about how to set encoder for my Maddog guidance with Event ID.
I have specific Event ID for the developper bout ALT:

MD_KEY_AP_ALT_VAR_SET - DEC 69662 - HEX 0x1101E

In to mobiflight, i chose the encoder like an input to go to input settings Action type: EventID I put 69656 for both Left and Right.
but the parameter is the problem. I saw in past post some users and suggestion is to put values for mouse wheel actions like 16384 and 8192 or 2147483648 and -2147483648 but in the display go to 0 o stop to 1 or if you write some other values the write is the value when turn left or right.

I see that for other default eventID the correct assignment is 2 different value and not only one with parameter 0.

I try also to use the offset 0x11018 without solution.

Many thanks to help me.
2019-04-23 12:28
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

I Don´t know how Maddog work here.
Maby the Mouse action work for all eventID.... OR this is just a PMDG feature and will not work for your Maddog. ( I think thats just PMDG)
Without own the Maddog myself, i can also not test this for you.

Basic Informations.

1. You mix up the ID´s
iconsisoffi:



MD_KEY_AP_ALT_VAR_SET - DEC 69662 - HEX 0x1101E

In to mobiflight, i chose the encoder like an input to go to input settings Action type: EventID I put 69656 for both Left and Right.


Check this.... Maby your issue was just to use wrong ID.




2. The ID "look like" a SET Event .....
iconsisoffi:


MD_KEY_AP_ALT_VAR_SET - DEC 69662 - HEX 0x1101E


Normaly there exist 2 types of EventID .... SET and EXECUTE
The SET Event need a fixed Value and "set" it in the Function.... For example in Heading a parameter of 100 will SET the Heading to 100°
The EXECUTE Event will execute a action.... For Example "NAV1 RADIO WHOLE INC 65641" will increase the Frequency by 1 if you use it.
For the Encoder you must use a EXECUTE Event.... Set Events make no sense here.

Summary.
Check your lists if you have another Event for the AP ALT. Mostly they called INC or DEC
Good Luck !
2019-04-23 14:00
Avatar
sisoffi
Posts: 91
Hi,
thankyou. Unfortunatly the is no other eventID inc or dec.
If i log with fusipc i found that is correctly assigned 69662 but the problem is that if i put a parameter 1
the value execute 1 like you said.

I dont know how to use these offsets. I partially resolve in the last post with LUA MACRO.
2019-04-23 14:12
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
If there exist no Event for Increase and decrease that can be finaly something like "Datapipe" .

Datapipe ( A element of Jeehell Airbus) is a system with a combined Input over 2 Offsets (Or a EventID in your Case)
Here The System must READ the current Status ( Altitude AP for example) from Point A ( A Offset or a LVar) and then it CALCULATE the New Value ( For example $+100 ) and finaly it will WRITE the new Value to Point B ( Event ID in your Case)

The Problem..... Mobiflight just Read and Write always the SAME Offset.... Its not Possible for a User to say Read from Offset X and Write via EventID Y.

(Only by the DataPipe ..... But this must be programmed and Implement by Sebastian as a New Imput Typ. Here i´m pretty sure this will not come into Mobiflight. Number of Maddog Users is to less i think for that hudge work. .... Sorry about that. )

ALTERNATE:
The explaned "Datapipe" can be done by own scripting without Problems in FSUIPC. If you can script you can build this (in a macro) and finaly your encoder will run this Lua Action.
Good Luck !
2019-04-23 15:33
icon