internal StreamDeckDeviceReference(
     string devicePath,
     string deviceName,
     GridKeyLayout keyLayout
     )
 {
     DevicePath = devicePath;
     DeviceName = deviceName;
     Keys       = keyLayout;
 }
예제 #2
0
        protected StreamDeckJpgHardwareBase(GridKeyLayout keyPositions)
        {
            jpgEncoder = new JpegEncoder()
            {
                Quality = 100,
            };

            Keys    = keyPositions;
            imgSize = keyPositions.KeySize;
        }