PostFrontal Forum
PostFrontal Forum
LK8000_Support_Forum | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 LK8000 International Support
 General Support
 Using the .msi file
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

GenIv
Pulcino

Russia
15 Posts

Posted - 20/06/2021 :  21:12:43  Show Profile  Visit GenIv's Homepage  Reply with Quote
Hi Friends
Help with setting up LK8000 control using the msi file. version LK8000 PC .
We use virtual flights to train our glider pilots in Condor. http://rutraining.paravia.ru
Some of our pilots use the LK8000.
It is not always convenient to use mobile devices.
If LK8000 is installed on a PC, then there is a problem with program control, since Condor intercepts the keyboard and the window.

We have solved some of the problems, but there are some difficulties with the assignment of keys. We will be grateful for your help. We ourselves are not programmers, but simple free flight enthusiasts. ))

We are experimenting with a .msi file.
Unfortunately, we did not find a complete description of the commands in this file. And it uses analogies from a similar file in XCsoar and the file that is used in LK8000 by default (as we understand it) DEFAULT_MENU.txt . We renamed it to msi and added the commands we needed


We assign certain keys on the keyboard for the desired actions in the .msi file and use AutoHotkey to transfer control.
There were problems with some of the actions that we do not know how to solve. We have reached a small impasse.

1.in Pan mode, moving up and down the map does not work correctly. Although it moves perfectly left and right.
For some reason, instead of moving, the scaling command is executed.
the zoom control keys work fine.

mode=default
type=key
data=j
event=Pan on

mode=pan
type=key
data=e
event=Zoom in

mode=pan
type=key
data=q
event=Zoom out

mode=pan
type=key
data=w
event=Pan up

mode=pan
type=key
data=s
event=Pan down

mode=pan
type=key
data=d
event=Pan right

mode=pan
type=key
data=a
event=Pan left

2. Switch to the next or previous point in the route.
in XCsoar the code (below) works. But does not work in LK8000
Is it possible to switch to LK8000?

mode=Nav1
type=key
data=T
event=AdjustWaypoint previousarm
label=$(WaypointPreviousArm)
label=WaypointPreviousArm show

mode=Nav1
type=key
data=R
event=AdjustWaypoint nextarm
label=$(WaypointNextArm)
label=WaypointNextArm show

3.Changing the MC value after pressing the corresponding key does not occur immediately, but with a delay of several seconds. Perhaps this is a bug of the LK8000 program.
We will be grateful for any help.

Always ready

Edited by - GenIv on 20/06/2021 21:13:56

brunotl
Pterodattilo

France
1090 Posts

Posted - 20/06/2021 :  21:52:27  Show Profile  Reply with Quote
Pan event are :
Pan on
Pan off
Pan toggle
Pan zoomin
Pan zoomout
Pan moveleft
Pan moveright
Pan moveup
Pan movedown


task turnpoint event are :
AdjustWaypoint previous
AdjustWaypoint next


Go to Top of Page

GenIv
Pulcino

Russia
15 Posts

Posted - 21/06/2021 :  20:24:42  Show Profile  Visit GenIv's Homepage  Reply with Quote
Hello Brunotl. Many thanks! Super! It works.

Where can I find a complete list of commands? Unfortunately my search yielded nothing.

I would be grateful if you can help again.
How do I switch the bottom bar?

Always ready
Go to Top of Page

GenIv
Pulcino

Russia
15 Posts

Posted - 09/07/2021 :  07:31:14  Show Profile  Visit GenIv's Homepage  Reply with Quote
I ask you to forgive my importunity.
But we really miss the command to switch the bottom panel screens from the keyboard.
Dear brunotl, I hope for your help.

Always ready
Go to Top of Page

brunotl
Pterodattilo

France
1090 Posts

Posted - 12/07/2021 :  14:03:54  Show Profile  Reply with Quote
quote:
Originally posted by GenIv

I ask you to forgive my importunity.
But we really miss the command to switch the bottom panel screens from the keyboard.
Dear brunotl, I hope for your help.



comand list only existe in the code :
https://github.com/LK8000/LK8000/blob/4636d74e993134628decd5d732fc3bdf066d259c/Common/Source/InputEvents.cpp#L3592

to change BottomBar :
InfoStripe NEXT
InfoStripe PREVIOUS



Edited by - brunotl on 12/07/2021 16:31:13
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To:
PostFrontal Forum © PostFrontal - La community del Volo a Vela Go To Top Of Page
This page was generated in 0.16 seconds. Snitz Forums 2000

Since 2006, owned and maintained by PostFrontal S.A.S. di Giuliano Golfieri & c. - VAT ID: IT05264240960
THIS WEBSITE ONLY USES FUNCTIONAL COOKIES
Privacy & Cookie Policy