hyperion.ng/libsrc/hyperion/schema/schema-ledConfig.json
Ben Williams 4aebd55715
feat: Add Trapezoid to LED Layout (#791)
* Update schema-ledConfig.json

extend schema with corner points (vertcal and horizontal values in percent)

* Update conf_leds.html

input fields for corner points

* Update content_leds.js

add corner values and calculation of led rows

* Update de.json

german title for corners

* CHanges 26.12.2019 Correction and PowerOff add

* GrabberFix PiCam

* VType as QString

* Unused variable deletet

* Missing new paramneters for GrabberFix

* Error json

* JSon error by user

* Crosscompile SutnikElf frok

* Warning unused variable

* Revert "Crosscompile SutnikElf frok"

This reverts commit 443fe80090.

* Fixing a linting error

* Adding Grabber Override Names

* Adding more Grabber Fix translations

* Missed one

* remove V4L2 Grabber Fix and Power Button from Dashboard

Signed-off-by: Paulchen-Panther <Paulchen-Panter@protonmail.com>

* Setting some limits to the trapezoid

Co-authored-by: SputnikElf <58911932+SputnikElf@users.noreply.github.com>
Co-authored-by: SputnikElf <sputnikelf@gmx.de>
Co-authored-by: Paulchen-Panther <Paulchen-Panter@protonmail.com>
2020-05-20 08:36:52 +02:00

150 lines
2.5 KiB
JSON

{
"type": "object",
"properties": {
"classic": {
"type": "object",
"required": true,
"properties": {
"top": {
"type": "integer",
"minimum": 0,
"default": 8
},
"bottom": {
"type": "integer",
"minimum": 0,
"default": 8
},
"left": {
"type": "integer",
"minimum": 0,
"default": 5
},
"right": {
"type": "integer",
"minimum": 0,
"default": 5
},
"glength": {
"type": "integer",
"minimum": 0,
"default": 0
},
"gpos": {
"type": "integer",
"minimum": 0,
"default": 0
},
"position": {
"type": "integer",
"default": 0
},
"reverse": {
"type": "boolean",
"default": false
},
"hdepth": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 8
},
"vdepth": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 5
},
"overlap": {
"type": "integer",
"minimum": 0,
"default": 0
},
"edgegap": {
"type": "integer",
"minimum": 0,
"maximum": 50,
"default": 0
},
"ptlh": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"default": 0
},
"ptlv": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"default": 0
},
"ptrh": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"default": 0
},
"ptrv": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"default": 0
},
"pblh": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"default": 0
},
"pblv": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"default": 0
},
"pbrh": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"default": 0
},
"pbrv": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"default": 0
}
},
"additionalProperties": false
},
"matrix": {
"type": "object",
"required": true,
"properties": {
"ledshoriz": {
"type": "integer",
"minimum": 0,
"maximum": 50,
"default": 0
},
"ledsvert": {
"type": "integer",
"minimum": 0,
"maximum": 50,
"default": 0
},
"cabling": {
"type": "string",
"enum": ["snake", "parallel"]
},
"start": {
"type": "string",
"enum": ["top-left", "top-right", "bottom-left", "bottom-right"]
}
},
"additionalProperties": false
}
},
"additionalProperties": true
}