I went a little off the deep end and decided to rewrite hid.lua tonight to make device connection work the same as how grid and midi work. (I submitted a PR, but thereās still a couple issues that need resolving)
Thus itās a bit more plug-n-play and you can just get event data without having to do much.
local keyb = hid.connect(1)
function keyb.event(typ, code, val)
print("hid.event ", typ, code, val)
end
Sadly Iāve lost the pen for my wacom tablet so I canāt test that 