Work on NMEA2000 device list

This commit is contained in:
2026-01-12 20:03:02 +01:00
parent c953340362
commit eb73c573b4
7 changed files with 485 additions and 22 deletions

View File

@@ -136,6 +136,16 @@
"description": "The keycode to send for key 1 (leftmost) [1 .. 28]",
"category": "Keys"
},
{
"name": "key1long",
"label": "Key 1 long code",
"type": "number",
"default": 12,
"min": 1,
"max": 28,
"description": "The keycode to send for key 1 long pressed (leftmost) [1 .. 28]",
"category": "Keys"
},
{
"name": "key2",
"label": "Key 2 code",
@@ -146,6 +156,16 @@
"description": "The keycode to send for key 2 (second from left) [1 .. 28]",
"category": "Keys"
},
{
"name": "key2long",
"label": "Key 2 long code",
"type": "number",
"default": 12,
"min": 1,
"max": 28,
"description": "The keycode to send for key 2 long pressed (leftmost) [1 .. 28]",
"category": "Keys"
},
{
"name": "key3",
"label": "Key 3 code",
@@ -156,6 +176,16 @@
"description": "The keycode to send for key 3 (third from left) [1 .. 28]",
"category": "Keys"
},
{
"name": "key3long",
"label": "Key 3 long code",
"type": "number",
"default": 13,
"min": 1,
"max": 28,
"description": "The keycode to send for key 3 long pressed (leftmost) [1 .. 28]",
"category": "Keys"
},
{
"name": "key4",
"label": "Key 4 code",
@@ -166,6 +196,16 @@
"description": "The keycode to send for key 4 (fourth from left) [1 .. 28]",
"category": "Keys"
},
{
"name": "key4long",
"label": "Key 4 long code",
"type": "number",
"default": 14,
"min": 1,
"max": 28,
"description": "The keycode to send for key 4 long pressed (leftmost) [1 .. 28]",
"category": "Keys"
},
{
"name": "key5",
"label": "Key 5 code",
@@ -176,6 +216,16 @@
"description": "The keycode to send for key 5 (fifth from left) [1 .. 28]",
"category": "Keys"
},
{
"name": "key5long",
"label": "Key 5 long code",
"type": "number",
"default": 15,
"min": 1,
"max": 28,
"description": "The keycode to send for key 5 long pressed (leftmost) [1 .. 28]",
"category": "Keys"
},
{
"name": "key6",
"label": "Key 6 code",
@@ -185,5 +235,47 @@
"max": 28,
"description": "The keycode to send for key 6 (rightmost) [1 .. 28]",
"category": "Keys"
},
{
"name": "key6long",
"label": "Key 6 long code",
"type": "number",
"default": 16,
"min": 1,
"max": 28,
"description": "The keycode to send for key 6 long pressed (leftmost) [1 .. 28]",
"category": "Keys"
},
{
"name": "n2kDestA",
"label": "Destination A",
"type": "list",
"description": "Destination device A",
"category": "NMEA2000"
},
{
"name": "n2kDestB",
"label": "Destination B",
"type": "list",
"description": "Destination device B",
"category": "NMEA2000"
},
{
"name": "n2kDestC",
"label": "Destination C",
"type": "list",
"description": "Destination device C",
"category": "NMEA2000"
},
{
"name": "envInterval",
"label":"Environment Data Interval",
"type": "number",
"default": "5",
"check": "checkMinMax",
"min": 1,
"max": 300,
"description": "interval seconds to send environment data [1..300]",
"category": "NMEA2000"
}
]