Browse Source

added comment detailing my setup

Thomas Buck 7 years ago
parent
commit
cbe00a0f2e
No account linked to committer's email address
1 changed files with 22 additions and 0 deletions
  1. 22
    0
      DisplayBacklight/AppDelegate.m

+ 22
- 0
DisplayBacklight/AppDelegate.m View File

@@ -41,6 +41,28 @@ struct DisplayAssignment displays[] = {
41 41
 // So, if your strand contains 33 LEDs and spans 1920 pixels, this should be (1920 / 33).
42 42
 // By default you can always use (length in pixel / LED count) for the last item, except
43 43
 // if your strand does not span the whole length of this screen edge.
44
+//
45
+// For example, this is my personal dual-monitor home setup. The strand starts at the 0
46
+// in the bottom-right of D1, then goes left arount D1, and from there around D2 back
47
+// to the start.
48
+//
49
+//                                       29
50
+//                                 |------------|
51
+//                               5 | /|\ --> -->|
52
+//                  33             |  |         |
53
+//     |---------------------------|         |  |
54
+//     |-->   -->   -->   -->   -->|        \|/ |
55
+//     |                           |            |
56
+//  19 | /|\        D1             |     D2     | 48
57
+//     |  |      1920x1080         |  900x1600  |
58
+//     |                           |            |
59
+//     |<--   <--   <--   <--   <--| 0       |  |
60
+//     |---------------------------| /|\    \|/ |
61
+//                  33             |  |         |
62
+//                               4 |  <--  <--  |
63
+//                                 |------------|
64
+//                                       29
65
+
44 66
 struct LEDStrand strands[] = {
45 67
     {   0, 33, 0, 1920, 1080,  DIR_LEFT, 1920 / 33 },
46 68
     {  33, 19, 0,    0, 1080,    DIR_UP, 1080 / 19 },

Loading…
Cancel
Save