Search found 585 matches

by admin
17 Apr 2019, 19:15
Forum: General
Topic: Recognizing input - Left Ctrl, Right Ctrl
Replies: 10
Views: 117

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: 10
Views: 117

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: 10
Views: 117

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: 95

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: 95

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...
by admin
08 Apr 2019, 08:49
Forum: General
Topic: [X-Plane 11.32r2] No commands received by X-Plane
Replies: 10
Views: 95

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

Plugin and luamacros used shared memory for communication - https://docs.microsoft.com/en-us/windows/desktop/memory/creating-named-shared-memory When request in lua code is done, it stores some memory structure and plugin is periodically checking this memory and behaves accordingly. I'm not sure wha...
by admin
08 Apr 2019, 08:43
Forum: General
Topic: External Lua modules
Replies: 1
Views: 19

Re: External Lua modules

I don't think this is possible. Such modules would have to be embedded to luamacros executable.
by admin
03 Apr 2019, 20:17
Forum: General
Topic: [X-Plane 11.32r2] No commands received by X-Plane
Replies: 10
Views: 95

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

I just tried and works fine for me. No other pieces are needed. If I run script like lmc_log_module('XPL') lmc_xpl_text("HELLO WORLD") The text is displayed and in luamacros I have output 2019-04-03 21:16:06:275 [XPL]: Initiated command slot 1 with request id 4 at 1554326166275. 2019-04-03 21:16:06:...
by admin
02 Apr 2019, 08:55
Forum: General
Topic: [X-Plane 11.32r2] No commands received by X-Plane
Replies: 10
Views: 95

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

Ok, let's troubleshoot 1) try to run xpl commands directly, no handlers, no callbacks - just script with lmc_xpl_command and execute the script 2) try other commands that talks to xplane, what about e.g. lmc_xpl_text 3) create empty file in xplane dir (next to xplane log) with name lmc_log_file_trig...
by admin
14 Mar 2019, 08:54
Forum: General
Topic: Unicode support?
Replies: 10
Views: 239

Re: Unicode support?

I had a closer look and those 2 arguments need to come as an array in one SendInput call.
So this need to be changed in luamacros, I may add dedicated function for unicode chars.
It's quite interesting so there's a good chance :-)