internal HidValue(HidReader reader, HidPValueCaps valueCaps, ushort usage)
 {
     this.reader    = reader;
     this.valueCaps = valueCaps;
     UsageAndPage   = new HidUsageAndPage(valueCaps.UsagePage, usage);
 }
Exemple #2
0
 internal HidButtonSet(HidReader reader, HidPButtonCaps buttonCaps)
 {
     this.reader     = reader;
     this.buttonCaps = buttonCaps;
 }
 internal HidButton(HidReader reader, HidPButtonCaps buttonCaps, ushort usage)
 {
     this.reader     = reader;
     this.buttonCaps = buttonCaps;
     UsageAndPage    = new HidUsageAndPage(buttonCaps.UsagePage, usage);
 }
 internal HidValueSet(HidReader reader, HidPValueCaps valueCaps)
 {
     this.reader    = reader;
     this.valueCaps = valueCaps;
 }