Tehnikaväli – DIY Stream Deck02:44

  • 1,652 vaatamist
Avaldatud 14. nov. 2018

Kiire õpetus kuidas omale ise teha odavalt stream deck.

Programmid tõmba siit: http://www.hidmacros.eu/download.php

Samasuguse numpadi saad osta siit: https://www.gearbest.com/keyboards/pp_638453.html?lkid=17509320

Erinevate klaviatuuri klahvide sümbolid/nimed leiad siit: https://github.com/me2d13/luamacros/wiki/List-of-Keys

Luamacrose kood:
lmc_device_set_name(‘streamdeck’,’3AD3FA0A’)
lmc_print_devices()

lmc_set_handler(‘streamdeck’, function(button,direction)
if (direction == 1) then return end
if (button == 13) then
lmc_send_keys(‘^{ENTER}’, 50)

elseif (button == 97) then
lmc_send_keys(‘^{NUM1}’, 50)

elseif (button == 98) then
lmc_send_keys(‘^{NUM2}’, 50)

elseif (button == 99) then
lmc_send_keys(‘^{NUM3}’, 50)

elseif (button == 100) then
lmc_send_keys(‘^{NUM4}’, 50)

elseif (button == 101) then
lmc_send_keys(‘^{NUM5}’, 50)

elseif (button == 102) then
lmc_send_keys(‘^{NUM6}’, 50)

elseif (button == 103) then
lmc_send_keys(‘^{NUM7}’, 50)

elseif (button == 104) then
lmc_send_keys(‘^{NUM8}’, 50)

elseif (button == 105) then
lmc_send_keys(‘^{NUM9}’, 50)

elseif (button == 111) then
lmc_send_keys(‘^{NUMDIVIDE}’, 50)

elseif (button == 106) then
lmc_send_keys(‘^{NUMMULTIPLY}’, 50)

elseif (button == 109) then
lmc_send_keys(‘^{NUMMINUS}’, 50)

elseif (button == 107) then
lmc_send_keys(‘^{NUMPLUS}’, 50)

elseif (button == 8) then
lmc_send_keys(‘^{BACKSPACE}’, 50)

elseif (button == 110) then
lmc_send_keys(‘^{NUMDECIMAL}’, 50)

elseif (button == 96) then
lmc_send_keys(‘^{NUM0}’, 50)
end
end
)

STRIIM KÄIB! VAATA KOHE!
HETKEL OFFLINE
Meeldis see video?
"Ei aitäh. Pane see kastike kinni!"