me2d13 / luamacros

665 stars 87 forks source link

lmc_send_keys('{NUMLOCK}') don't work #23

Closed roxasremix closed 6 years ago

roxasremix commented 6 years ago

I'm trying to use lmc_send_keys('{NUMLOCK}') to switch between numpad to home, end, and the other keys but it doesn't work in any key ( i've tried with different numpad-only keyboards and other keyboard). Using lmc_send_keys('{CAPSLOCK}') and other special keys works fine, so I don't know what is the problem

me2d13 commented 6 years ago

Use

lmc_send_input(144, 0, 0)
lmc_send_input(144, 0, 2)