2024-01-12 22:47:12: usbDeviceCallback: {
eventType = "added",
productID = 143,
productName = "Stream Deck XL",
vendorID = 4057,
vendorName = "Elgato"
}
However, when I try to configure it, using the following code, my callback is never executed, and the number of decks remains zero. I have tried both hs.streamdeck.init and hs.streamdeck.discoveryCallback.
When I connect and disconnect the deck (the usb callbacks are executed), but never the streamdeck ones.
I am not running the elGato software (nor any other software to control this device). Is there something else I need to do before hammerspoon can recognize the deck?
thank you for any help,
print("streamdeck")
require("hs.streamdeck")
print("loaded streamdeck")
function streamdeck_init(connected, deck)
print("init")
print(connected)
hs.inspect(deck)
print("end of initt")
end
hs.streamdeck.init(streamdeck_init)
function streamdeck_discovery(connected, deck)
print("discovering")
print(connected)
hs.inspect(deck)
print("end of discovering")
end
hs.streamdeck.discoveryCallback(streamdeck_discovery)
print("finish loading")
On 13 Jan 2024, at 06:56, d mg <dmge...@gmail.com> wrote:
I just bought a Stream Deck XL.
--
You received this message because you are subscribed to the Google Groups "Hammerspoon" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hammerspoon...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/hammerspoon/0b14ea08-a5a3-4180-9d21-9c5110d65ff8n%40googlegroups.com.
> hs.streamdeck.numDevices()
1