I have VPC Stick MT-50CM2
VID: 3344PID:4130
Trying com.readfeature or com.writefeature but no luck.
I'm trying to capture USB port data, but FSUIPC nothing to get or send to USB device.
Vendor = 0x3344
Product = 0x4130
Device = 0
Report = 0
Pollrate = 25
--------------------------------------------------------
dev, rd, wrf, wr, init = com.openhid(Vendor, Product, Device, Report)
if dev == 0 then
ipc.log("Could not open HID")
ipc.exit()
end
ipc.set("dev",dev)
ipc.set("wrf",wrf)
dev = ipc.get("dev")
wrf = ipc.get("wrf")
gt, n = com.readfeature(dev, wrf)
if n ~= 0 then
ipc.log(gt)
else
ipc.log("Error getting Features")
end
str = "0265010000B900000000000000000000000000000000000000000000000000000000000000F0"
out = str:gsub('%x%x',function(c)return c.char(tonumber(c,16))end)
i = com.writefeature(dev, out, wrf)