Hi all,
I'm having a little trouble with a custom hid controller mapping.
Reading from the device is not a problem, but writing reports to it (to turn on leds) is.
To simplify things I've created a simple hardware device which only has a single button and a single led.
The reportsize for page in: 1
The reportsize for page out: 4 (=outreportsize in mapping)
VirtualDJ should send the following with ReportID 02 to turn the led on:
01 00 00 00
I've defined the controller as:
What should be modified to get the outputreport to send 01 00 00 00 (with ReportID 02)?
I'm having a little trouble with a custom hid controller mapping.
Reading from the device is not a problem, but writing reports to it (to turn on leds) is.
To simplify things I've created a simple hardware device which only has a single button and a single led.
The reportsize for page in: 1
The reportsize for page out: 4 (=outreportsize in mapping)
VirtualDJ should send the following with ReportID 02 to turn the led on:
01 00 00 00
I've defined the controller as:
<?xml version="1.0" encoding="UTF-8"?>
<device name="SIMPLEDJ" author="Me" type="HID" decks="1" vid="0x1c40" pid="0x04d9" reportsize="1" outreportsize="4">
<page type="in">
<button bit="7" nbbits="1" name="PLAY" />
</page>
<page type="out">
<led bit="0x01" default="PLAY" name="LED1" />
</page>
</device>
What should be modified to get the outputreport to send 01 00 00 00 (with ReportID 02)?
Posté Wed 02 Mar 11 @ 4:05 am