Xplane 11 Function and Numpad Keys not working

Announcements, questions
russell458
Posts: 9
Joined: 23 Mar 2018, 04:14

Re: Xplane 11 Function and Numpad Keys not working

Post by russell458 » 02 Apr 2018, 18:22

Admin,

Question, I have been practising luamacro scripts and it has been going great for the xpl_commands.
However for datarefs I am struggling. I have found HIDmacros help but it doesn't translate to luamacros.

For my IXEG 737-300, There are limited commands, but it has a dataref illustrated in its guide for every cockpit button.
For example,

ixeg/733/lighting/land_light_all_act is for all landing lights to come on.

elseif (button == string.byte('1')) then ??????????????????('ixeg/733/lighting/land_light_all_act')

Help?

admin
Site Admin
Posts: 735
Joined: 01 Nov 2010, 13:00
Location: Prague, Czech republic
Contact:

Re: Xplane 11 Function and Numpad Keys not working

Post by admin » 03 Apr 2018, 09:17

Petr Medek
LUAmacros author

BradyBrother100
Posts: 13
Joined: 03 May 2019, 01:17

Re: Xplane 11 Function and Numpad Keys not working

Post by BradyBrother100 » 03 May 2019, 01:20

Hi! You might need to tell Lua macros which keyboard is being pressed by finding the Device ID
lmc_device_set_name('MACROS', '2164B2CC')


Hope this helps!

Post Reply