Page 2 of 2

Re: Xplane 11 Function and Numpad Keys not working

Posted: 02 Apr 2018, 18:22
by russell458
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?

Re: Xplane 11 Function and Numpad Keys not working

Posted: 03 Apr 2018, 09:17
by admin

Re: Xplane 11 Function and Numpad Keys not working

Posted: 03 May 2019, 01:20
by BradyBrother100
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!