예제 #1
0
        public KeyboardDevice(Usbip device, byte[] reportDescriptor)
        {
            _device = device;

            _reportDescriptor = reportDescriptor;
            _hasReportId      = ReportDescEnumerator.HasReportId(_reportDescriptor);
        }
        public MouseDevice(Usbip device, byte [] reportDescriptor, int screenSizeX, int screenSizeY)
        {
            _device           = device;
            _reportDescriptor = reportDescriptor;
            _screenSizeX      = screenSizeX;
            _screenSizeY      = screenSizeY;

            _hasReportId = ReportDescEnumerator.HasReportId(_reportDescriptor);
        }