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

            Keys    = keyPositions;
            imgSize = keyPositions.KeySize;
        }