lmc_device_set_name('streamdeck','PNP0303')
lmc_print_devices()
local DOWN = 0
local UP = 2
lmc_set_handler('streamdeck', function(button, direction)
if (button == 32) then -- пробел что ли? :)
local dir = direction == 1 and DOWN or UP
lmc_send_input(8, 0, dir) -- Backspace
end
end
)