Code: Select all
lmc_device_set_name('Eng','188A0D20')
lmc_print_devices()
lmc_set_handler('Eng', function(button,direction)
if (direction == 1) then return end
if (button == 81) then lmc_send_keys('й')
else print('Not yet assigned: ' .. button)
end
end
)
I wish that when you press the "q" output of the Russian " й ".
But nothing happens on the English layout. And in Russian when you click on " Й " is displayed " Р№"
If you do the opposite.
Code: Select all
lmc_device_set_name('Eng','188A0D20')
lmc_print_devices()
lmc_set_handler('Eng', function(button,direction)
if (direction == 1) then return end
if (button == 81) then lmc_send_keys('q')
else print('Not yet assigned: ' .. button)
end
end
)
It is necessary that one keyboard output "й" and the second " q"
PS button 81 = Russian " й "= English " q"