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?
Xplane 11 Function and Numpad Keys not working
-
- Posts: 9
- Joined: 23 Mar 2018, 04:14
Re: Xplane 11 Function and Numpad Keys not working
Petr Medek
LUAmacros author
LUAmacros author
-
- Posts: 13
- Joined: 03 May 2019, 01:17
Re: Xplane 11 Function and Numpad Keys not working
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!
lmc_device_set_name('MACROS', '2164B2CC')
Hope this helps!