Search found 10 matches

by peewee
30 Nov 2019, 22:55
Forum: HOW-TOs and documentation
Topic: Ctrl right and Ctrl left
Replies: 2
Views: 800

Re: Ctrl right and Ctrl left

You can, make sure the log handler is created like this: log_handler = function( button,direction,ts,flags,makecode ) Then the left and right CTRL keys returns different flags 0,1 for press and release the left one, 2 and 3 for the right. You check by just adding editing your if-statement like this:...
by peewee
23 Apr 2019, 13:44
Forum: General
Topic: Recognizing input - Left Ctrl, Right Ctrl
Replies: 11
Views: 852

Re: Recognizing input - Left Ctrl, Right Ctrl

Hello, and sorry for the late reply!

MakeCode works perfect! THANK YOU SO MUCH!!!
by peewee
17 Apr 2019, 11:41
Forum: General
Topic: Recognizing input - Left Ctrl, Right Ctrl
Replies: 11
Views: 852

Re: Recognizing input - Left Ctrl, Right Ctrl

You are the man, than yiu so much!

I'm using this together with X-Keypad and it's looking great!
by peewee
16 Apr 2019, 09:22
Forum: General
Topic: Recognizing input - Left Ctrl, Right Ctrl
Replies: 11
Views: 852

Re: Recognizing input - Left Ctrl, Right Ctrl

Yes, both Shift keys report Button 16, and flags 0 and 1.
by peewee
15 Apr 2019, 21:45
Forum: General
Topic: Recognizing input - Left Ctrl, Right Ctrl
Replies: 11
Views: 852

Re: Recognizing input - Left Ctrl, Right Ctrl

Could flags also be added to left and right Shift keys, pretty please? :)
by peewee
11 Apr 2019, 06:37
Forum: General
Topic: [X-Plane 11.32r2] No commands received by X-Plane
Replies: 10
Views: 706

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

Starting luamacros.exe with the parameters generates this:

Image

HOWEVER...

starting the program WITHOUT the parameters, everything seems to work! :shock:
by peewee
08 Apr 2019, 19:38
Forum: General
Topic: [X-Plane 11.32r2] No commands received by X-Plane
Replies: 10
Views: 706

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

If you could, that'd be great. I'm sure it's something silly we're overlooking =P
by peewee
05 Apr 2019, 14:59
Forum: General
Topic: [X-Plane 11.32r2] No commands received by X-Plane
Replies: 10
Views: 706

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

Yes, running as same user, and I've tried to run both and none as Administrator as well.

How are luamacros and the plugin communicating? Is there something in Windows i might've blocked, or a service I might've stopped, that could cause this?
by peewee
02 Apr 2019, 09:36
Forum: General
Topic: [X-Plane 11.32r2] No commands received by X-Plane
Replies: 10
Views: 706

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

Thank you for the rapid reply! Running a simple macro: lmc_xpl_command("sim/lights/beacon_lights_toggle") lmc_xpl_text("HELLO WORLD") Nothing happens. Logfile: 2019-04-02 10:17:30:276 [XPLLUMplugin 4440]: LuaMacros Plugin started 2019-04-02 10:17:30:279 [XPLLUMplugin 4440]: Going to init internal st...
by peewee
01 Apr 2019, 16:40
Forum: General
Topic: [X-Plane 11.32r2] No commands received by X-Plane
Replies: 10
Views: 706

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

I've downloaded the file linked on the Download Page , and copied win.xpl to my /Resources/plugins/luamacros/64 folder.  When I run luamacros.exe, the version number is shown as 0.1.1.98 .  When I startup X-Plane, my log.txt shows that the plugin has loaded Loaded: E:\Spel/X-Plane 11/Resources/plugi...