2 "comment": "Surface ID to Layer ID mapping",
6 "surface_role": "HomeScreen",
7 "comment": "This surface should never be made invisible (The HomeScreen)"
14 "role": "^HomeScreen$",
17 "area": { "type": "full" },
18 "comment": "Single layer map for the HomeScreen, XXX: type is redundant, could also check existence of id/first_id+last_id"
22 "first_surface_id": 2000,
23 "last_surface_id": 2999,
27 "area": { "type": "rect", "rect": { "x": 0, "y": 100, "width": -1, "height": -201 } },
28 "comment": "Range of IDs that will always be placed on layer 1001, negative rect values are interpreted as output_size.dimension - $value"
32 "first_surface_id": 3000,
33 "last_surface_id": 3999,
34 "role": "^OnScreen.*",
37 "area": { "type": "rect", "rect": { "x": 0, "y": 100, "width": -1, "height": -201 } },
38 "comment": "Range of IDs that will always be placed on the popup layer, that gets a very high 'dummy' id of 9999"
43 { "surface_id": 1000, "expect_layer_id": 1000 },
44 { "surface_id": 1001, "expect_layer_id": -1, "comment": "check against -1 for not found entries" },
45 { "surface_id": 1999, "expect_layer_id": -1 },
46 { "surface_id": 2000, "expect_layer_id": 1001 },
47 { "surface_id": 2500, "expect_layer_id": 1001 },
48 { "surface_id": 2999, "expect_layer_id": 1001 },
49 { "surface_id": 3000, "expect_layer_id": 9999 },
50 { "surface_id": 3500, "expect_layer_id": 9999 },
51 { "surface_id": 3999, "expect_layer_id": 9999 },
52 { "surface_id": 4711, "expect_layer_id": -1 }