Search found 600 matches

by admin
17 May 2019, 08:16
Forum: General
Topic: Lua Macros script not working with Fly with Lua.
Replies: 11
Views: 281

Re: Lua Macros script not working with Fly with Lua.

And are device names correctly assigned? Do you see that "not yet assigned" message for other keys or do you see keyboards with names when printing devices? Is the calc started for C?
by admin
16 May 2019, 08:15
Forum: General
Topic: Lua Macros script not working with Fly with Lua.
Replies: 11
Views: 281

Re: Lua Macros script not working with Fly with Lua.

Did you install lmc plugin? What is the code?
by admin
13 May 2019, 08:24
Forum: General
Topic: Lua Macros script not working with Fly with Lua.
Replies: 11
Views: 281

Re: Lua Macros script not working with Fly with Lua.

Luamacros and FlyWithLua are completely different programs. They are just both using Lua language as "scripting engine". Don't expect luamacros script to work with fly with lua and vice versa.
by admin
02 May 2019, 08:07
Forum: General
Topic: How to launch a program or open a folder?
Replies: 2
Views: 135

Re: How to launch a program or open a folder?

You need to know the program (exe file) name and sometimes even path and pass it as argument to lmc_spawn (note that calculator is in fact program calc.exe). Opening folder usually means you are in fact running windows explorer program with path to the folder as argument. Again you need to find out ...
by admin
02 May 2019, 08:04
Forum: General
Topic: Toggle switch on keyboard to SendKeys?
Replies: 3
Views: 306

Re: Toggle switch on keyboard to SendKeys?

The key repeat comes from keyboard driver and you can't stop it (unless changing in windows globally). What you can do is intentionally ignore following key downs - as you do in luamacros script. If they keys don't arrive to DCS it might be by its architecture and way it reads keyboard - see https:/...
by admin
17 Apr 2019, 19:15
Forum: General
Topic: Recognizing input - Left Ctrl, Right Ctrl
Replies: 11
Views: 368

Re: Recognizing input - Left Ctrl, Right Ctrl

Ok, had some time even before Easter :-) I realized that left/right control send different flags, but left/right shift sends different MakeCode So I tried to build new exe which sends even fifth parameter to callback method. Download this beta build from here and try code: clear(); lmc_assign_keyboa...
by admin
17 Apr 2019, 08:38
Forum: General
Topic: Recognizing input - Left Ctrl, Right Ctrl
Replies: 11
Views: 368

Re: Recognizing input - Left Ctrl, Right Ctrl

I see, will check after Easter
by admin
16 Apr 2019, 08:27
Forum: General
Topic: Recognizing input - Left Ctrl, Right Ctrl
Replies: 11
Views: 368

Re: Recognizing input - Left Ctrl, Right Ctrl

Flags are parameter of callback function, they are not bound to specific key.
Did you try?
by admin
11 Apr 2019, 07:34
Forum: General
Topic: [X-Plane 11.32r2] No commands received by X-Plane
Replies: 10
Views: 235

Re: [X-Plane 11.32r2] No commands received by X-Plane

Well I did some fixes in xpl plugin as well because I found some problems having extended debug in place :roll:
I'm glad it helped you both, will make these fixes part of official download :-)
by admin
10 Apr 2019, 23:25
Forum: General
Topic: [X-Plane 11.32r2] No commands received by X-Plane
Replies: 10
Views: 235

Re: [X-Plane 11.32r2] No commands received by X-Plane

Ok, download plugin and luamacros exe from http://www.hidmacros.eu/xpldebug/ Start xplane Start luamacros with switch -L XPL In luamacros execute lmc_xpl_text('From LUA macros', 0.3, 5) You should see log in luamacros: 2019-04-11 00:20:16:879 [XPL]: Xpl -> lmc shared memory mapped with handle 616 20...