I made a keyboard like that : http://www.instructables.com/id/Making- ... -less-tha/
It worked well with HIDMacros.
Since a windows update

My HIDMacros now doesn't work on my computer.
So I would like to do the same thing with LuaMacros but I don't know programming language...
I started to try anyway by testing the quick start code :
Code: Select all
-- assign logical name to macro keyboard
lmc_assign_keyboard('MACROS');
-- define callback for whole device
lmc_set_handler('MACROS',function(button, direction)
if (direction == 1) then return end -- ignore down
if (button == string.byte('C')) then lmc_spawn("calc")
elseif (button == string.byte('N')) then lmc_spawn("notepad", "C:\\test.txt")
elseif (button == string.byte('H')) then lmc_send_keys('Hello world')
else print('Not yet assigned: ' .. button)
end
end)
I pressed the start button
and fonctions are not called when I press "1" "2" or "3".
I would be very happy If you can send me a code for that. If I have just to replace the caracters I need for my shortcuts...
Thanks in advance for your help.
Trit