mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
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>
This commit is contained in:
@@ -1,122 +1,149 @@
|
||||
{
|
||||
"type" : "object",
|
||||
"properties" :
|
||||
{
|
||||
"classic" :
|
||||
{
|
||||
"type":"object",
|
||||
"required" : true,
|
||||
"properties":
|
||||
{
|
||||
"top" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"default" : 8
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"classic": {
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"properties": {
|
||||
"top": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"default": 8
|
||||
},
|
||||
"bottom" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"default" : 8
|
||||
"bottom": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"default": 8
|
||||
},
|
||||
"left" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"default" : 5
|
||||
"left": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"default": 5
|
||||
},
|
||||
"right" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"default" : 5
|
||||
"right": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"default": 5
|
||||
},
|
||||
"glength" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"default" : 0
|
||||
"glength": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"default": 0
|
||||
},
|
||||
"gpos" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"default" : 0
|
||||
"gpos": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"default": 0
|
||||
},
|
||||
"position" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"default" : 0
|
||||
"position": {
|
||||
"type": "integer",
|
||||
"default": 0
|
||||
},
|
||||
"reverse" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"default" : false
|
||||
"reverse": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"hdepth" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 1,
|
||||
"maximum" : 100,
|
||||
"default" : 8
|
||||
"hdepth": {
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 100,
|
||||
"default": 8
|
||||
},
|
||||
"vdepth" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 1,
|
||||
"maximum" : 100,
|
||||
"default" : 5
|
||||
"vdepth": {
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 100,
|
||||
"default": 5
|
||||
},
|
||||
"overlap" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"default" : 0
|
||||
"overlap": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"default": 0
|
||||
},
|
||||
"edgegap" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"maximum" : 50,
|
||||
"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
|
||||
"additionalProperties": false
|
||||
},
|
||||
"matrix" :
|
||||
{
|
||||
"type":"object",
|
||||
"required" : true,
|
||||
"properties":
|
||||
{
|
||||
"ledshoriz" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"maximum" : 50,
|
||||
"default" : 0
|
||||
"matrix": {
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"properties": {
|
||||
"ledshoriz": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 50,
|
||||
"default": 0
|
||||
},
|
||||
"ledsvert" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"maximum" : 50,
|
||||
"default" : 0
|
||||
"ledsvert": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 50,
|
||||
"default": 0
|
||||
},
|
||||
"cabling" :
|
||||
{
|
||||
"cabling": {
|
||||
"type": "string",
|
||||
"enum" : ["snake", "parallel"]
|
||||
},
|
||||
"start" :
|
||||
{
|
||||
"enum": ["snake", "parallel"]
|
||||
},
|
||||
"start": {
|
||||
"type": "string",
|
||||
"enum" : ["top-left", "top-right", "bottom-left", "bottom-right"]
|
||||
}
|
||||
"enum": ["top-left", "top-right", "bottom-left", "bottom-right"]
|
||||
}
|
||||
},
|
||||
"additionalProperties" : false
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"additionalProperties" : true
|
||||
"additionalProperties": true
|
||||
}
|
||||
|
Reference in New Issue
Block a user