Commit fc6adeb
authored
NEW: edit actions and bindings properties (ISX-1374, ISX-1126) (#1691)
* Fix: focus & focusOut events for inputFields
* Change: only rename actions & composites
* Fix: fixed NullReference if TreeViewItem out of screen
* Fix: rename wrong action or actionMap
* added edit on return and improved with use itemsChosen event
* fixed renaming with F2
* rename composites properly
* fixed rename canceled on click away
* avoid NullReferenceError at MapListView if item out of screen
* fixed renaming actionMap -> excluding own name
* fixed action maps not renamed bug + removed redundant line
* add context menu with rename functionality
* added: functionality to delete bindings
* added: functionality for deleting actions
* added: deleting action maps
* fixed errors on delete bindings
* fixed errors for deleting actions
* fixed action not focused after adding a new one
* fixed delete actionMaps & unsubscribe handlers correctly
* shortcut selector method
* fixed selection not updated in ActionsTreeView
* some refactoring
* added delete with DEL key functionality
* formatting fix
* formatting
* fixed small no binding name issue
* added add buttons for interactions and processors
* WIP added context menu for add interactions+processor buttons
* added context menu and add interactions & add processors functionality
* fixed context menu overload for adding processors & interactions
* fixed adding processors & interactions to bindings
* fixed menu not updated bug
* don't show interactions for bindings that are part of a composite
* added swapping and deleting interactions & processors
* added saving of parameters for processors and interactions
* fixed saving for fields with default toggle
* fixed lose focus directly after change issue
* fixed showing up of default text and open in player settings
* fixed content for default values not resizing bug
* fixed greyed out swap and delete buttons for interactions & processors
* fixed initalStateToggle ignoring clicks
* fixed exception on Action Type changed to not Button
* refactoring
* fix for editor theme and enabling on icons on interactions & processors
* smallNameRefactoring
* ISX-1489 fix context menu does not open on left click on windows
* ISX-1489 fix context menu does not open on left click on windows for mac
* refactoring for merge1 parent 4747c41 commit fc6adeb
8 files changed
Lines changed: 298 additions & 36 deletions
File tree
- Packages/com.unity.inputsystem/InputSystem/Editor
- AssetEditor
- UITKAssetEditor
- Resources
- Views
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
266 | 270 | | |
267 | 271 | | |
268 | 272 | | |
| |||
277 | 281 | | |
278 | 282 | | |
279 | 283 | | |
| 284 | + | |
280 | 285 | | |
281 | 286 | | |
282 | 287 | | |
283 | 288 | | |
284 | 289 | | |
285 | 290 | | |
286 | 291 | | |
| 292 | + | |
287 | 293 | | |
288 | 294 | | |
289 | 295 | | |
290 | 296 | | |
291 | 297 | | |
292 | 298 | | |
293 | 299 | | |
| 300 | + | |
294 | 301 | | |
295 | 302 | | |
296 | 303 | | |
297 | 304 | | |
298 | 305 | | |
299 | 306 | | |
300 | 307 | | |
| 308 | + | |
301 | 309 | | |
302 | 310 | | |
303 | 311 | | |
304 | 312 | | |
305 | 313 | | |
306 | 314 | | |
307 | 315 | | |
| 316 | + | |
308 | 317 | | |
309 | 318 | | |
310 | 319 | | |
311 | 320 | | |
312 | 321 | | |
313 | 322 | | |
314 | 323 | | |
| 324 | + | |
315 | 325 | | |
316 | 326 | | |
317 | 327 | | |
| |||
Lines changed: 16 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| 235 | + | |
235 | 236 | | |
236 | 237 | | |
237 | 238 | | |
238 | 239 | | |
239 | 240 | | |
240 | | - | |
| 241 | + | |
241 | 242 | | |
242 | 243 | | |
243 | 244 | | |
| |||
249 | 250 | | |
250 | 251 | | |
251 | 252 | | |
252 | | - | |
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
258 | 264 | | |
259 | 265 | | |
260 | 266 | | |
| |||
278 | 284 | | |
279 | 285 | | |
280 | 286 | | |
281 | | - | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
282 | 293 | | |
283 | 294 | | |
284 | 295 | | |
285 | 296 | | |
| 297 | + | |
286 | 298 | | |
287 | 299 | | |
288 | 300 | | |
289 | | - | |
290 | 301 | | |
291 | | - | |
292 | | - | |
293 | 302 | | |
294 | 303 | | |
295 | 304 | | |
| |||
Lines changed: 20 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
43 | 51 | | |
44 | 52 | | |
45 | 53 | | |
| |||
136 | 144 | | |
137 | 145 | | |
138 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
139 | 151 | | |
140 | 152 | | |
141 | 153 | | |
142 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
143 | 159 | | |
144 | 160 | | |
145 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
146 | 165 | | |
147 | 166 | | |
148 | 167 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| 55 | + | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| |||
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
| 73 | + | |
70 | 74 | | |
71 | 75 | | |
72 | 76 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
Lines changed: 97 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
27 | 93 | | |
28 | 94 | | |
29 | 95 | | |
| |||
41 | 107 | | |
42 | 108 | | |
43 | 109 | | |
44 | | - | |
| 110 | + | |
45 | 111 | | |
46 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
47 | 123 | | |
48 | 124 | | |
49 | 125 | | |
| |||
57 | 133 | | |
58 | 134 | | |
59 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
60 | 145 | | |
61 | 146 | | |
62 | | - | |
| 147 | + | |
63 | 148 | | |
64 | 149 | | |
65 | 150 | | |
| |||
72 | 157 | | |
73 | 158 | | |
74 | 159 | | |
75 | | - | |
| 160 | + | |
76 | 161 | | |
| 162 | + | |
| 163 | + | |
77 | 164 | | |
78 | 165 | | |
79 | | - | |
| 166 | + | |
80 | 167 | | |
| 168 | + | |
| 169 | + | |
81 | 170 | | |
82 | 171 | | |
83 | | - | |
| 172 | + | |
84 | 173 | | |
| 174 | + | |
85 | 175 | | |
86 | 176 | | |
87 | 177 | | |
| |||
0 commit comments