partyopk.blogg.se

Stream deck autohotkey
Stream deck autohotkey











stream deck autohotkey

For exemple, if the key a of the second keyboard needs to do an action in a program and then, after 2000 ms, do another one, we associate F22 to the first action and F23 to the second one, and then we map our “a” key in Lua to F13. Replace the example code for any other code you need. For exemple, to: lmc_set_handler(‘MACROS2’, ….ġ-f Remove the two en dashes at the start of line 1 and 2.Ģ- Right click secondkeyboard\AutoHotkey\ahks.ahk and open it with the Notepad (or your code IDE).

stream deck autohotkey

Then repeat the code that starts in line 9, but change the name to the one you have just assigned. If you run out of function keys, just use combinations with other keys.ġ-e To add more keyboards, follow repeat line 5 with the new keyboard id and a assign a new name, like MACROS2. You can do so like in line 15 ( button = te(‘4’)) or with the number that appears in the log when the key is not assigned (for example, if I press the key I want to remap and Not yet assigned: 90 appears, I use button = 90, like in line 16). This is to say that, using the model of lines 11–16 you remap each key to an increasing FNN. : \\?\HID#VID_1241&P ID_1603&MI_00#7&3ABEC854&0&0000# : keyboard Total number of devices: 2 2019–07–17 10:58:52:651 ERROR: Device with name MACROS1 not foundġ-d Assign each key of your keyboard to an imaginary F key. Now, when you press “a” the calculator should open. (1-c) Change the ID you have just entered in line 5 with the second ID of the log (the second one wich appears bold in the example log here). If the calculator pops out, go to step 1-d, otherwise, go to step 1-c. Click run and press “a” on your secondary keyboard. Then remove the two en dashes at the start of line 5. Now, change ID_NNNN in line 5 with the first ID of the log (the first one wich appears bold in the example log here). Now a log similar to the following one should appear. Screenshot from Lua when finishing step 1-a.ġ-b Click the play button on the top left corner.













Stream deck autohotkey