Commit 9972e7c
NEW: Expose displayIndex for multi-display support (#1623)
* Add support for distinguishing pointer events from multiple displays
Tests should cover every new code path.
* remove virtual keyword and add missing layout entry
* fix array out of bounds exception due to EraseAtWithCapacity mutating count
* update precompiled layout for FastTouchscreen
* remove uneeded displayIndex setter
* remove platform specific defines
* more cleanup on TouchSimulatorArray handling
* improve displayIndex property inline doc
* set displayIndex outside of getIndex function
* Fixed formatting violations in UITests.cs
* Updating tests for multi-display input changes
* formatting
* Fixing multi-input test
* Ignore 3 failing tvos tests. Seem related to ISX-448
* remove unwanted changes to DefaultInputActions
* fix changelog conflict and moved to Added section
Co-authored-by: Eric Fulton <eric.fulton@unity3d.com>
Co-authored-by: James McGill <james.mcgill@unity3d.com>
Co-authored-by: James McGill <jamesmcgill@users.noreply.github.com>1 parent 3342f7e commit 9972e7c
13 files changed
Lines changed: 1310 additions & 592 deletions
File tree
- Assets/Tests/InputSystem/Plugins
- Packages/com.unity.inputsystem
- InputSystem
- Controls
- Devices
- Precompiled
- Plugins
- EnhancedTouch
- UI
- Tests/TestFixture
- Tools/API/1.0.0
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
38 | 44 | | |
39 | 45 | | |
40 | 46 | | |
| |||
202 | 208 | | |
203 | 209 | | |
204 | 210 | | |
| 211 | + | |
205 | 212 | | |
206 | 213 | | |
207 | 214 | | |
| |||
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
84 | 86 | | |
85 | | - | |
| 87 | + | |
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
92 | | - | |
| 94 | + | |
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
| |||
286 | 288 | | |
287 | 289 | | |
288 | 290 | | |
| 291 | + | |
289 | 292 | | |
290 | 293 | | |
291 | 294 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
| |||
180 | 183 | | |
181 | 184 | | |
182 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
183 | 193 | | |
184 | 194 | | |
185 | 195 | | |
| |||
210 | 220 | | |
211 | 221 | | |
212 | 222 | | |
| 223 | + | |
213 | 224 | | |
214 | 225 | | |
215 | 226 | | |
| |||
0 commit comments