summaryrefslogtreecommitdiff
path: root/Library/Artifacts/ec/ec753874bbb921f6ef2dc387df6c5bfb
blob: fc04d52d6bb9c48161d09b9906d5d871b56b737a (plain)
ofshex dumpascii
0000 00 00 0f 81 00 00 72 c0 00 00 00 15 00 00 10 00 00 00 00 00 32 30 31 39 2e 33 2e 36 66 31 00 fe ......r.............2019.3.6f1..
0020 ff ff ff 01 02 00 00 00 0b 04 00 00 00 ff ff 66 9a 86 21 eb 14 35 98 39 dd 34 1d 51 0e c1 f3 42 ...............f..!..5.9.4.Q...B
0040 00 00 00 ed 00 00 00 02 00 00 00 00 00 00 00 37 00 00 80 ff ff ff ff 00 00 00 00 00 80 00 00 00 ...............7................
0060 00 00 00 00 00 00 00 01 00 01 00 a6 03 00 80 b2 01 00 80 04 00 00 00 01 00 00 00 01 00 00 00 00 ................................
0080 00 00 00 00 00 00 00 01 00 01 00 0d 00 00 00 45 04 00 80 0c 00 00 00 02 00 00 00 01 00 00 00 00 ...............E................
00a0 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 03 00 00 00 01 00 80 00 00 ...............#................
00c0 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 04 00 00 00 01 00 80 00 00 ...............,................
00e0 00 00 00 00 00 00 00 01 00 01 00 35 00 00 00 61 04 00 80 0c 00 00 00 05 00 00 00 01 00 00 00 00 ...........5...a................
0100 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 06 00 00 00 01 00 80 00 00 ...............#................
0120 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 07 00 00 00 01 00 80 00 00 ...............,................
0140 00 00 00 00 00 00 00 01 00 01 00 86 02 00 80 72 04 00 80 0c 00 00 00 08 00 00 00 01 00 00 00 00 ...............r................
0160 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 09 00 00 00 01 00 80 00 00 ...............#................
0180 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 0a 00 00 00 01 00 80 00 00 ...............,................
01a0 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ab 01 00 80 ff ff ff ff 0b 00 00 00 01 80 08 00 00 ...........H....................
01c0 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 0c 00 00 00 01 40 08 00 00 ...........1...1............@...
01e0 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 0d 00 00 00 01 00 08 00 00 ................................
0200 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 0e 00 00 00 01 00 08 00 00 ...........Q...j................
0220 00 00 00 00 00 00 00 01 00 01 00 f1 00 00 80 4a 00 00 00 ff ff ff ff 0f 00 00 00 00 c0 00 00 00 ...............J................
0240 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 10 00 00 00 00 80 00 00 00 ...........1...1................
0260 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 11 00 00 00 00 00 00 00 00 ................................
0280 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a 00 00 80 ff ff ff ff 12 00 00 00 00 80 00 00 00 ...............j................
02a0 00 00 00 00 00 00 00 01 00 04 00 5c 00 00 00 9b 00 00 80 ff ff ff ff 13 00 00 00 00 80 00 00 00 ...........\....................
02c0 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 72 00 00 00 ff ff ff ff 14 00 00 00 00 80 00 00 00 ...........H...r................
02e0 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 15 00 00 00 01 40 00 00 00 ...........1...1............@...
0300 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 16 00 00 00 01 00 00 00 00 ................................
0320 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 17 00 00 00 01 00 00 00 00 ...........Q...j................
0340 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 77 00 00 00 ff ff ff ff 18 00 00 00 00 80 00 00 00 ...........H...w................
0360 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 19 00 00 00 01 40 00 00 00 ...........1...1............@...
0380 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 1a 00 00 00 01 00 00 00 00 ................................
03a0 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 1b 00 00 00 01 00 00 00 00 ...........Q...j................
03c0 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 80 00 00 00 ff ff ff ff 1c 00 00 00 00 80 00 00 00 ...........H....................
03e0 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 1d 00 00 00 01 40 00 00 00 ...........1...1............@...
0400 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 1e 00 00 00 01 00 00 00 00 ................................
0420 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 1f 00 00 00 01 00 00 00 00 ...........Q...j................
0440 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a 03 00 80 0c 00 00 00 20 00 00 00 00 00 00 00 00 ...........y....................
0460 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 23 00 00 00 04 00 00 00 21 00 00 00 01 00 80 00 00 ...............#.......!........
0480 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 2c 00 00 00 08 00 00 00 22 00 00 00 01 00 80 00 00 ...............,......."........
04a0 00 00 00 00 00 00 00 01 00 01 00 11 03 00 80 85 00 00 00 ff ff ff ff 23 00 00 00 01 40 08 00 00 .......................#....@...
04c0 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 24 00 00 00 01 00 08 00 00 ...........1...1.......$........
04e0 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 25 00 00 00 01 00 08 00 00 .......................%........
0500 00 00 00 00 00 00 00 01 00 03 00 2e 03 00 80 6a 00 00 80 08 00 00 00 26 00 00 00 01 00 08 00 00 ...............j.......&........
0520 00 00 00 00 00 00 00 01 00 01 00 d5 03 00 80 93 00 00 00 ff ff ff ff 27 00 00 00 00 80 00 00 00 .......................'........
0540 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 28 00 00 00 00 c0 00 00 00 ...........1...1.......(........
0560 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 29 00 00 00 00 00 00 00 00 .......................)........
0580 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a 00 00 80 ff ff ff ff 2a 00 00 00 00 80 00 00 00 ...............j.......*........
05a0 00 00 00 00 00 00 00 01 00 04 00 48 03 00 80 9b 00 00 80 ff ff ff ff 2b 00 00 00 00 80 00 00 00 ...........H...........+........
05c0 00 00 00 00 00 00 00 01 00 05 01 31 00 00 80 31 00 00 80 ff ff ff ff 2c 00 00 00 01 40 00 00 00 ...........1...1.......,....@...
05e0 00 00 00 00 00 00 00 01 00 06 00 de 00 00 80 1b 03 00 80 04 00 00 00 2d 00 00 00 01 00 00 00 00 .......................-........
0600 00 00 00 00 00 00 00 01 00 06 00 51 00 00 80 6a 00 00 80 01 00 00 00 2e 00 00 00 01 00 00 00 00 ...........Q...j................
0620 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a 03 00 80 0c 00 00 00 2f 00 00 00 00 00 00 00 00 ...........y.........../........
0640 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 23 00 00 00 04 00 00 00 30 00 00 00 01 00 80 00 00 ...............#.......0........
0660 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 2c 00 00 00 08 00 00 00 31 00 00 00 01 00 80 00 00 ...............,.......1........
0680 00 00 00 00 00 00 00 01 00 01 00 20 03 00 80 a7 00 00 00 02 00 00 00 32 00 00 00 00 40 00 00 00 .......................2....@...
06a0 00 00 00 00 00 00 00 01 00 01 00 be 02 00 80 b6 00 00 00 0c 00 00 00 33 00 00 00 00 40 00 00 00 .......................3....@...
06c0 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 34 00 00 00 01 00 80 00 00 ...............#.......4........
06e0 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 35 00 00 00 01 00 80 00 00 ...............,.......5........
0700 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 bb 00 00 00 ff ff ff ff 36 00 00 00 01 80 00 00 00 ...........H...........6........
0720 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 37 00 00 00 01 40 00 00 00 ...........1...1.......7....@...
0740 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 38 00 00 00 01 00 00 00 00 .......................8........
0760 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 39 00 00 00 01 00 00 00 00 ...........Q...j.......9........
0780 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 c6 00 00 00 ff ff ff ff 3a 00 00 00 01 80 00 00 00 ...........H...........:........
07a0 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 3b 00 00 00 01 40 00 00 00 ...........1...1.......;....@...
07c0 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 3c 00 00 00 01 00 00 00 00 .......................<........
07e0 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 3d 00 00 00 01 00 00 00 00 ...........Q...j.......=........
0800 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 d8 00 00 00 ff ff ff ff 3e 00 00 00 01 80 00 00 00 ...........H...........>........
0820 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 3f 00 00 00 01 40 00 00 00 ...........1...1.......?....@...
0840 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 40 00 00 00 01 00 00 00 00 .......................@........
0860 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 41 00 00 00 01 00 00 00 00 ...........Q...j.......A........
0880 00 00 00 00 00 00 00 4d 6f 6e 6f 49 6d 70 6f 72 74 65 72 00 50 50 74 72 3c 45 64 69 74 6f 72 45 .......MonoImporter.PPtr<EditorE
08a0 78 74 65 6e 73 69 6f 6e 3e 00 6d 5f 46 69 6c 65 49 44 00 6d 5f 50 61 74 68 49 44 00 50 50 74 72 xtension>.m_FileID.m_PathID.PPtr
08c0 3c 50 72 65 66 61 62 49 6e 73 74 61 6e 63 65 3e 00 6d 5f 45 78 74 65 72 6e 61 6c 4f 62 6a 65 63 <PrefabInstance>.m_ExternalObjec
08e0 74 73 00 53 6f 75 72 63 65 41 73 73 65 74 49 64 65 6e 74 69 66 69 65 72 00 74 79 70 65 00 61 73 ts.SourceAssetIdentifier.type.as
0900 73 65 6d 62 6c 79 00 6e 61 6d 65 00 6d 5f 55 73 65 64 46 69 6c 65 49 44 73 00 6d 5f 44 65 66 61 sembly.name.m_UsedFileIDs.m_Defa
0920 75 6c 74 52 65 66 65 72 65 6e 63 65 73 00 65 78 65 63 75 74 69 6f 6e 4f 72 64 65 72 00 69 63 6f ultReferences.executionOrder.ico
0940 6e 00 6d 5f 55 73 65 72 44 61 74 61 00 6d 5f 41 73 73 65 74 42 75 6e 64 6c 65 4e 61 6d 65 00 6d n.m_UserData.m_AssetBundleName.m
0960 5f 41 73 73 65 74 42 75 6e 64 6c 65 56 61 72 69 61 6e 74 00 00 00 00 00 73 00 00 00 00 ff ff a3 _AssetBundleVariant.....s.......
0980 47 f1 d7 dc 8f 5a 35 36 a0 3a 21 40 69 c1 4a 2a 00 00 00 81 00 00 00 05 00 00 00 15 01 00 80 37 G....Z56.:!@i.J*...............7
09a0 00 00 80 ff ff ff ff 00 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 01 00 01 00 a6 03 00 80 b2 ................................
09c0 01 00 80 04 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 00 00 00 00 45 ...............................E
09e0 04 00 80 0c 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0a00 00 00 00 04 00 00 00 03 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0a20 00 00 00 08 00 00 00 04 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 28 00 00 00 61 ...........................(...a
0a40 04 00 80 0c 00 00 00 05 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0a60 00 00 00 04 00 00 00 06 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0a80 00 00 00 08 00 00 00 07 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 86 02 00 80 72 ...............................r
0aa0 04 00 80 0c 00 00 00 08 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0ac0 00 00 00 04 00 00 00 09 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0ae0 00 00 00 08 00 00 00 0a 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ab ...........................H....
0b00 01 00 80 ff ff ff ff 0b 00 00 00 01 80 08 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ...........................1...1
0b20 00 00 80 ff ff ff ff 0c 00 00 00 01 40 08 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b ............@...................
0b40 03 00 80 04 00 00 00 0d 00 00 00 01 00 08 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a ...........................Q...j
0b60 00 00 80 01 00 00 00 0e 00 00 00 01 00 08 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ea ...........................H....
0b80 01 00 80 ff ff ff ff 0f 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ...........................1...1
0ba0 00 00 80 ff ff ff ff 10 00 00 00 01 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b ............@...................
0bc0 03 00 80 04 00 00 00 11 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a ...........................Q...j
0be0 00 00 80 01 00 00 00 12 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 f1 00 00 80 3d ...............................=
0c00 00 00 00 ff ff ff ff 13 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ...........................1...1
0c20 00 00 80 ff ff ff ff 14 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b ................................
0c40 03 00 80 04 00 00 00 15 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a ...............................j
0c60 00 00 80 ff ff ff ff 16 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 04 00 48 03 00 80 9b ...........................H....
0c80 00 00 80 ff ff ff ff 17 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 05 01 31 00 00 80 31 ...........................1...1
0ca0 00 00 80 ff ff ff ff 18 00 00 00 01 40 00 00 00 00 00 00 00 00 00 00 01 00 06 00 de 00 00 80 1b ............@...................
0cc0 03 00 80 04 00 00 00 19 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 06 00 51 00 00 80 6a ...........................Q...j
0ce0 00 00 80 01 00 00 00 1a 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a ...........................y....
0d00 03 00 80 0c 00 00 00 1b 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 16 ................................
0d20 00 00 00 04 00 00 00 1c 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 1f ................................
0d40 00 00 00 08 00 00 00 1d 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 79 02 00 80 51 ...........................y...Q
0d60 00 00 00 0c 00 00 00 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0d80 00 00 00 04 00 00 00 1f 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0da0 00 00 00 08 00 00 00 20 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 de 00 00 80 58 ...............................X
0dc0 00 00 00 04 00 00 00 21 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 69 .......!...................H...i
0de0 00 00 00 ff ff ff ff 22 00 00 00 10 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ......."...................1...1
0e00 00 00 80 ff ff ff ff 23 00 00 00 11 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b .......#....@...................
0e20 03 00 80 04 00 00 00 24 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a .......$...................Q...j
0e40 00 00 80 01 00 00 00 25 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 75 .......%...................H...u
0e60 00 00 00 ff ff ff ff 26 00 00 00 10 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 .......&...................1...1
0e80 00 00 80 ff ff ff ff 27 00 00 00 11 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b .......'....@...................
0ea0 03 00 80 04 00 00 00 28 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a .......(...................Q...j
0ec0 00 00 80 01 00 00 00 29 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 50 50 74 72 3c 45 64 69 74 .......)...............PPtr<Edit
0ee0 6f 72 45 78 74 65 6e 73 69 6f 6e 3e 00 6d 5f 46 69 6c 65 49 44 00 6d 5f 50 61 74 68 49 44 00 50 orExtension>.m_FileID.m_PathID.P
0f00 50 74 72 3c 50 72 65 66 61 62 49 6e 73 74 61 6e 63 65 3e 00 6d 5f 44 65 66 61 75 6c 74 52 65 66 Ptr<PrefabInstance>.m_DefaultRef
0f20 65 72 65 6e 63 65 73 00 6d 5f 49 63 6f 6e 00 6d 5f 45 78 65 63 75 74 69 6f 6e 4f 72 64 65 72 00 erences.m_Icon.m_ExecutionOrder.
0f40 6d 5f 43 6c 61 73 73 4e 61 6d 65 00 6d 5f 4e 61 6d 65 73 70 61 63 65 00 00 00 00 00 02 00 00 00 m_ClassName.m_Namespace.........
0f60 03 00 00 00 00 00 00 00 00 00 00 00 5c 00 00 00 00 00 00 00 e0 79 af 00 00 00 00 00 60 00 00 00 ............\........y......`...
0f80 60 62 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 `b..............................
0fa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 e0 79 af 00 00 00 00 00 00 00 00 00 .....................y..........
1040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1080 00 00 00 00 00 00 00 00 0d 00 00 00 49 6e 70 75 74 53 65 74 74 69 6e 67 73 00 00 00 d9 61 00 00 ............InputSettings....a..
10a0 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 49 6e 70 75 74 53 79 73 74 65 6d 2e 4c 61 using.UnityEngine.InputSystem.La
10c0 79 6f 75 74 73 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 49 6e 70 75 74 53 youts;..using.UnityEngine.InputS
10e0 79 73 74 65 6d 2e 4c 6f 77 4c 65 76 65 6c 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 ystem.LowLevel;..using.UnityEngi
1100 6e 65 2e 49 6e 70 75 74 53 79 73 74 65 6d 2e 50 72 6f 63 65 73 73 6f 72 73 3b 0d 0a 75 73 69 6e ne.InputSystem.Processors;..usin
1120 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 49 6e 70 75 74 53 79 73 74 65 6d 2e 55 74 69 6c 69 74 g.UnityEngine.InputSystem.Utilit
1140 69 65 73 3b 0d 0a 0d 0a 2f 2f 2f 2f 54 4f 44 4f 3a 20 6d 61 6b 65 20 73 75 72 65 20 74 68 61 74 ies;....////TODO:.make.sure.that
1160 20 61 6c 74 65 72 61 74 69 6f 6e 73 20 6d 61 64 65 20 74 6f 20 49 6e 70 75 74 53 79 73 74 65 6d .alterations.made.to.InputSystem
1180 2e 73 65 74 74 69 6e 67 73 20 69 6e 20 70 6c 61 79 20 6d 6f 64 65 20 64 6f 20 6e 6f 74 20 6c 65 .settings.in.play.mode.do.not.le
11a0 61 6b 20 6f 75 74 20 69 6e 74 6f 20 65 64 69 74 20 6d 6f 64 65 20 6f 72 20 74 68 65 20 61 73 73 ak.out.into.edit.mode.or.the.ass
11c0 65 74 0d 0a 0d 0a 2f 2f 2f 2f 54 4f 44 4f 3a 20 68 61 6e 64 6c 65 20 63 61 73 65 20 6f 66 20 73 et....////TODO:.handle.case.of.s
11e0 75 70 70 6f 72 74 46 69 78 65 64 55 70 64 61 74 65 73 20 61 6e 64 20 73 75 70 70 6f 72 74 44 79 upportFixedUpdates.and.supportDy
1200 6e 61 6d 69 63 55 70 64 61 74 65 73 20 62 6f 74 68 20 62 65 69 6e 67 20 73 65 74 20 74 6f 20 66 namicUpdates.both.being.set.to.f
1220 61 6c 73 65 3b 20 73 68 6f 75 6c 64 20 69 74 20 62 65 20 61 6e 20 65 6e 75 6d 3f 0d 0a 0d 0a 2f alse;.should.it.be.an.enum?..../
1240 2f 2f 2f 54 4f 44 4f 3a 20 66 69 67 75 72 65 20 6f 75 74 20 68 6f 77 20 74 68 69 73 20 67 65 74 ///TODO:.figure.out.how.this.get
1260 73 20 69 6e 74 6f 20 61 20 62 75 69 6c 64 0d 0a 0d 0a 2f 2f 2f 2f 54 4f 44 4f 3a 20 61 6c 6c 6f s.into.a.build....////TODO:.allo
1280 77 20 73 65 74 74 69 6e 67 20 75 70 20 73 69 6e 67 6c 65 2d 20 61 6e 64 20 6d 75 6c 74 69 2d 75 w.setting.up.single-.and.multi-u
12a0 73 65 72 20 63 6f 6e 66 69 67 73 20 66 6f 72 20 74 68 65 20 70 72 6f 6a 65 63 74 0d 0a 0d 0a 2f ser.configs.for.the.project..../
12c0 2f 2f 2f 54 4f 44 4f 3a 20 61 6c 6c 6f 77 20 65 6e 61 62 6c 69 6e 67 2f 64 69 73 61 62 6c 69 6e ///TODO:.allow.enabling/disablin
12e0 67 20 70 6c 75 67 69 6e 73 0d 0a 0d 0a 2f 2f 2f 2f 52 45 56 49 45 57 3a 20 73 68 6f 75 6c 64 20 g.plugins....////REVIEW:.should.
1300 74 68 65 20 70 72 6f 6a 65 63 74 20 73 65 74 74 69 6e 67 73 20 69 6e 63 6c 75 64 65 20 61 20 6c the.project.settings.include.a.l
1320 69 73 74 20 6f 66 20 61 63 74 69 6f 6e 20 61 73 73 65 74 73 20 74 6f 20 75 73 65 3f 20 28 6f 72 ist.of.action.assets.to.use?.(or
1340 20 74 6f 20 66 6f 72 63 65 20 69 6e 74 6f 20 61 20 62 75 69 6c 64 29 0d 0a 0d 0a 2f 2f 2f 2f 52 .to.force.into.a.build)....////R
1360 45 56 49 45 57 3a 20 61 64 64 20 65 78 74 72 61 20 6f 70 74 69 6f 6e 20 74 6f 20 65 6e 61 62 6c EVIEW:.add.extra.option.to.enabl
1380 65 20 6c 61 74 65 2d 75 70 64 61 74 65 73 3f 0d 0a 0d 0a 2f 2f 2f 2f 52 45 56 49 45 57 3a 20 70 e.late-updates?....////REVIEW:.p
13a0 75 74 20 64 65 66 61 75 6c 74 20 73 65 6e 73 6f 72 20 73 61 6d 70 6c 69 6e 67 20 66 72 65 71 75 ut.default.sensor.sampling.frequ
13c0 65 6e 63 79 20 68 65 72 65 3f 0d 0a 0d 0a 2f 2f 2f 2f 52 45 56 49 45 57 3a 20 70 75 74 20 64 65 ency.here?....////REVIEW:.put.de
13e0 66 61 75 6c 74 20 67 61 6d 65 70 61 64 20 70 6f 6c 6c 69 6e 67 20 66 72 65 71 75 65 6e 63 79 20 fault.gamepad.polling.frequency.
1400 68 65 72 65 3f 0d 0a 0d 0a 6e 61 6d 65 73 70 61 63 65 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 49 here?....namespace.UnityEngine.I
1420 6e 70 75 74 53 79 73 74 65 6d 0d 0a 7b 0d 0a 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e nputSystem..{......///.<summary>
1440 0d 0a 20 20 20 20 2f 2f 2f 20 50 72 6f 6a 65 63 74 2d 77 69 64 65 20 69 6e 70 75 74 20 73 65 74 ......///.Project-wide.input.set
1460 74 69 6e 67 73 2e 0d 0a 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 tings.......///.</summary>......
1480 2f 2f 2f 20 3c 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 2f 2f 2f 20 53 65 76 65 72 61 6c 20 61 ///.<remarks>......///.Several.a
14a0 73 70 65 63 74 73 20 6f 66 20 74 68 65 20 69 6e 70 75 74 20 73 79 73 74 65 6d 20 63 61 6e 20 62 spects.of.the.input.system.can.b
14c0 65 20 63 75 73 74 6f 6d 69 7a 65 64 20 74 6f 20 74 61 69 6c 6f 72 20 68 6f 77 20 74 68 65 20 73 e.customized.to.tailor.how.the.s
14e0 79 73 74 65 6d 20 66 75 6e 63 74 69 6f 6e 73 20 74 6f 20 74 68 65 0d 0a 20 20 20 20 2f 2f 2f 20 ystem.functions.to.the......///.
1500 73 70 65 63 69 66 69 63 20 6e 65 65 64 73 20 6f 66 20 61 20 70 72 6f 6a 65 63 74 2e 20 54 68 65 specific.needs.of.a.project..The
1520 73 65 20 73 65 74 74 69 6e 67 73 20 61 72 65 20 63 6f 6c 6c 65 63 74 65 64 20 69 6e 20 74 68 69 se.settings.are.collected.in.thi
1540 73 20 63 6c 61 73 73 2e 20 54 68 65 72 65 20 69 73 20 6f 6e 65 20 67 6c 6f 62 61 6c 0d 0a 20 20 s.class..There.is.one.global....
1560 20 20 2f 2f 2f 20 73 65 74 74 69 6e 67 73 20 6f 62 6a 65 63 74 20 61 63 74 69 76 65 20 61 74 20 ..///.settings.object.active.at.
1580 61 6e 79 20 6f 6e 65 20 74 69 6d 65 2e 20 49 74 20 63 61 6e 20 62 65 20 61 63 63 65 73 73 65 64 any.one.time..It.can.be.accessed
15a0 20 61 6e 64 20 73 65 74 20 74 68 72 6f 75 67 68 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 .and.set.through.<see.cref="Inpu
15c0 74 53 79 73 74 65 6d 2e 73 65 74 74 69 6e 67 73 22 2f 3e 2e 0d 0a 20 20 20 20 2f 2f 2f 0d 0a 20 tSystem.settings"/>.......///...
15e0 20 20 20 2f 2f 2f 20 43 68 61 6e 67 69 6e 67 20 61 20 73 65 74 74 69 6e 67 20 6f 6e 20 74 68 65 ...///.Changing.a.setting.on.the
1600 20 6f 62 6a 65 63 74 20 74 61 6b 65 73 20 65 66 66 65 63 74 20 69 6d 6d 65 64 69 61 74 65 6c 79 .object.takes.effect.immediately
1620 2e 20 49 74 20 61 6c 73 6f 20 74 72 69 67 67 65 72 73 20 74 68 65 0d 0a 20 20 20 20 2f 2f 2f 20 ..It.also.triggers.the......///.
1640 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 53 79 73 74 65 6d 2e 6f 6e 53 65 74 74 69 6e 67 <see.cref="InputSystem.onSetting
1660 73 43 68 61 6e 67 65 22 2f 3e 20 63 61 6c 6c 62 61 63 6b 2e 0d 0a 20 20 20 20 2f 2f 2f 20 3c 2f sChange"/>.callback.......///.</
1680 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d remarks>......///.<seealso.cref=
16a0 22 49 6e 70 75 74 53 79 73 74 65 6d 2e 73 65 74 74 69 6e 67 73 22 2f 3e 0d 0a 20 20 20 20 2f 2f "InputSystem.settings"/>......//
16c0 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 49 6e 70 75 74 53 79 73 74 65 6d 2e 6f 6e 53 /.<seealso.cref="InputSystem.onS
16e0 65 74 74 69 6e 67 73 43 68 61 6e 67 65 22 2f 3e 0d 0a 20 20 20 20 70 75 62 6c 69 63 20 63 6c 61 ettingsChange"/>......public.cla
1700 73 73 20 49 6e 70 75 74 53 65 74 74 69 6e 67 73 20 3a 20 53 63 72 69 70 74 61 62 6c 65 4f 62 6a ss.InputSettings.:.ScriptableObj
1720 65 63 74 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 ect......{..........///.<summary
1740 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 44 65 74 65 72 6d 69 6e 65 20 68 6f 77 20 74 68 65 >..........///.Determine.how.the
1760 20 69 6e 70 75 74 20 73 79 73 74 65 6d 20 75 70 64 61 74 65 73 2c 20 69 2e 65 2e 20 70 72 6f 63 .input.system.updates,.i.e..proc
1780 65 73 73 65 73 20 70 65 6e 64 69 6e 67 20 69 6e 70 75 74 20 65 76 65 6e 74 73 2e 0d 0a 20 20 20 esses.pending.input.events......
17a0 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f .....///.</summary>..........///
17c0 20 3c 76 61 6c 75 65 3e 57 68 65 6e 20 74 6f 20 72 75 6e 20 69 6e 70 75 74 20 75 70 64 61 74 65 .<value>When.to.run.input.update
17e0 73 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 72 65 6d 61 72 6b 73 s.</value>..........///.<remarks
1800 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 42 79 20 64 65 66 61 75 6c 74 2c 20 69 6e 70 75 74 >..........///.By.default,.input
1820 20 75 70 64 61 74 65 73 20 77 69 6c 6c 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 62 65 20 74 .updates.will.automatically.be.t
1840 72 69 67 67 65 72 65 64 20 61 73 20 70 61 72 74 20 6f 66 20 74 68 65 20 70 6c 61 79 65 72 20 6c riggered.as.part.of.the.player.l
1860 6f 6f 70 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 49 66 20 3c 63 3e 75 70 64 61 74 65 4d 6f oop...........///.If.<c>updateMo
1880 64 65 3c 2f 63 3e 20 69 73 20 73 65 74 20 74 6f 20 3c 73 65 65 20 63 72 65 66 3d 22 55 70 64 61 de</c>.is.set.to.<see.cref="Upda
18a0 74 65 4d 6f 64 65 2e 50 72 6f 63 65 73 73 45 76 65 6e 74 73 49 6e 44 79 6e 61 6d 69 63 55 70 64 teMode.ProcessEventsInDynamicUpd
18c0 61 74 65 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 28 74 68 65 20 64 65 66 61 75 6c 74 ate"/>..........///.(the.default
18e0 29 2c 20 74 68 65 6e 20 72 69 67 68 74 20 61 74 20 74 68 65 20 62 65 67 69 6e 6e 69 6e 67 20 6f ),.then.right.at.the.beginning.o
1900 66 20 61 20 64 79 6e 61 6d 69 63 20 75 70 64 61 74 65 20 28 69 2e 65 2e 20 62 65 66 6f 72 65 20 f.a.dynamic.update.(i.e..before.
1920 61 6c 6c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 63 3e 4d 6f 6e 6f 42 65 68 61 76 69 6f 75 all..........///.<c>MonoBehaviou
1940 72 2e 55 70 64 61 74 65 3c 2f 63 3e 20 6d 65 74 68 6f 64 73 20 61 72 65 20 63 61 6c 6c 65 64 29 r.Update</c>.methods.are.called)
1960 2c 20 69 6e 70 75 74 20 69 73 20 70 72 6f 63 65 73 73 65 64 2e 20 41 6e 64 20 69 66 20 3c 63 3e ,.input.is.processed..And.if.<c>
1980 75 70 64 61 74 65 4d 6f 64 65 3c 2f 63 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 69 73 20 73 updateMode</c>..........///.is.s
19a0 65 74 20 74 6f 20 3c 73 65 65 20 63 72 65 66 3d 22 55 70 64 61 74 65 4d 6f 64 65 2e 50 72 6f 63 et.to.<see.cref="UpdateMode.Proc
19c0 65 73 73 45 76 65 6e 74 73 49 6e 46 69 78 65 64 55 70 64 61 74 65 22 2f 3e 2c 20 74 68 65 6e 20 essEventsInFixedUpdate"/>,.then.
19e0 72 69 67 68 74 20 61 74 20 74 68 65 20 62 65 67 69 6e 6e 69 6e 67 0d 0a 20 20 20 20 20 20 20 20 right.at.the.beginning..........
1a00 2f 2f 2f 20 6f 66 20 65 61 63 68 20 66 69 78 65 64 20 75 70 64 61 74 65 20 28 69 2e 65 2e 20 62 ///.of.each.fixed.update.(i.e..b
1a20 65 66 6f 72 65 20 61 6c 6c 20 3c 63 3e 4d 6f 6e 6f 42 65 68 61 76 69 6f 75 72 2e 46 69 78 65 64 efore.all.<c>MonoBehaviour.Fixed
1a40 55 70 64 61 74 65 3c 2f 63 3e 20 6d 65 74 68 6f 64 73 20 61 72 65 0d 0a 20 20 20 20 20 20 20 20 Update</c>.methods.are..........
1a60 2f 2f 2f 20 63 61 6c 6c 65 64 29 2c 20 69 6e 70 75 74 20 69 73 20 70 72 6f 63 65 73 73 65 64 2e ///.called),.input.is.processed.
1a80 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 41 64 64 69 74 ..........///..........///.Addit
1aa0 69 6f 6e 61 6c 6c 79 2c 20 69 66 20 74 68 65 72 65 20 61 72 65 20 64 65 76 69 63 65 73 20 74 68 ionally,.if.there.are.devices.th
1ac0 61 74 20 6e 65 65 64 20 75 70 64 61 74 65 73 20 72 69 67 68 74 20 62 65 66 6f 72 65 20 72 65 6e at.need.updates.right.before.ren
1ae0 64 65 72 69 6e 67 20 28 73 65 65 20 3c 73 65 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 63 72 dering.(see.<see..........///.cr
1b00 65 66 3d 22 49 6e 70 75 74 44 65 76 69 63 65 2e 75 70 64 61 74 65 42 65 66 6f 72 65 52 65 6e 64 ef="InputDevice.updateBeforeRend
1b20 65 72 22 2f 3e 29 2c 20 61 6e 20 65 78 74 72 61 20 75 70 64 61 74 65 20 77 69 6c 6c 20 62 65 20 er"/>),.an.extra.update.will.be.
1b40 72 75 6e 20 72 69 67 68 74 20 62 65 66 6f 72 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 72 65 run.right.before..........///.re
1b60 6e 64 65 72 69 6e 67 2e 20 54 68 69 73 20 73 70 65 63 69 61 6c 20 75 70 64 61 74 65 20 77 69 6c ndering..This.special.update.wil
1b80 6c 20 6f 6e 6c 79 20 63 6f 6e 73 75 6d 65 20 69 6e 70 75 74 20 6f 6e 20 64 65 76 69 63 65 73 20 l.only.consume.input.on.devices.
1ba0 74 68 61 74 20 68 61 76 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 20 63 72 65 66 that.have..........///.<see.cref
1bc0 3d 22 49 6e 70 75 74 44 65 76 69 63 65 2e 75 70 64 61 74 65 42 65 66 6f 72 65 52 65 6e 64 65 72 ="InputDevice.updateBeforeRender
1be0 22 2f 3e 20 73 65 74 20 74 6f 20 3c 63 3e 74 72 75 65 3c 2f 63 3e 2e 0d 0a 20 20 20 20 20 20 20 "/>.set.to.<c>true</c>..........
1c00 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 59 6f 75 20 63 61 6e 20 72 75 6e 20 75 70 .///..........///.You.can.run.up
1c20 64 61 74 65 73 20 6d 61 6e 75 61 6c 6c 79 20 75 73 69 6e 67 20 3c 73 65 65 20 63 72 65 66 3d 22 dates.manually.using.<see.cref="
1c40 49 6e 70 75 74 53 79 73 74 65 6d 2e 55 70 64 61 74 65 22 2f 3e 2e 20 44 6f 69 6e 67 20 73 6f 0d InputSystem.Update"/>..Doing.so.
1c60 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 6f 75 74 73 69 64 65 20 6f 66 20 74 65 73 74 73 20 69 73 .........///.outside.of.tests.is
1c80 20 6f 6e 6c 79 20 72 65 63 6f 6d 6d 65 6e 64 65 64 2c 20 68 6f 77 65 76 65 72 2c 20 69 66 20 3c .only.recommended,.however,.if.<
1ca0 63 3e 75 70 64 61 74 65 4d 6f 64 65 3c 2f 63 3e 20 69 73 20 73 65 74 20 74 6f 0d 0a 20 20 20 20 c>updateMode</c>.is.set.to......
1cc0 20 20 20 20 2f 2f 2f 20 3c 73 65 65 20 63 72 65 66 3d 22 55 70 64 61 74 65 4d 6f 64 65 2e 50 72 ....///.<see.cref="UpdateMode.Pr
1ce0 6f 63 65 73 73 45 76 65 6e 74 73 4d 61 6e 75 61 6c 6c 79 22 2f 3e 20 28 69 6e 20 77 68 69 63 68 ocessEventsManually"/>.(in.which
1d00 20 63 61 73 65 20 69 74 20 69 73 20 61 63 74 75 61 6c 6c 79 20 72 65 71 75 69 72 65 64 0d 0a 20 .case.it.is.actually.required...
1d20 20 20 20 20 20 20 20 2f 2f 2f 20 66 6f 72 20 69 6e 70 75 74 20 74 6f 20 62 65 20 70 72 6f 63 65 .......///.for.input.to.be.proce
1d40 73 73 65 64 20 61 74 20 61 6c 6c 29 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 ssed.at.all)...........///......
1d60 20 20 20 20 2f 2f 2f 20 4e 6f 74 65 20 74 68 61 74 20 69 6e 20 74 68 65 20 65 64 69 74 6f 72 2c ....///.Note.that.in.the.editor,
1d80 20 69 6e 70 75 74 20 75 70 64 61 74 65 73 20 77 69 6c 6c 20 61 6c 73 6f 20 72 75 6e 20 62 65 66 .input.updates.will.also.run.bef
1da0 6f 72 65 20 65 61 63 68 20 65 64 69 74 6f 72 20 75 70 64 61 74 65 0d 0a 20 20 20 20 20 20 20 20 ore.each.editor.update..........
1dc0 2f 2f 2f 20 28 69 2e 65 2e 20 61 73 20 70 61 72 74 20 6f 66 20 3c 63 3e 45 64 69 74 6f 72 41 70 ///.(i.e..as.part.of.<c>EditorAp
1de0 70 6c 69 63 61 74 69 6f 6e 2e 75 70 64 61 74 65 3c 2f 63 3e 29 2e 20 50 6c 61 79 65 72 20 61 6e plication.update</c>)..Player.an
1e00 64 20 65 64 69 74 6f 72 20 69 6e 70 75 74 20 73 74 61 74 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f d.editor.input.state..........//
1e20 2f 20 61 72 65 20 6b 65 70 74 20 73 65 70 61 72 61 74 65 2c 20 74 68 6f 75 67 68 2c 20 73 6f 20 /.are.kept.separate,.though,.so.
1e40 61 6e 79 20 69 6e 70 75 74 20 63 6f 6e 73 75 6d 65 64 20 69 6e 20 65 64 69 74 6f 72 20 75 70 64 any.input.consumed.in.editor.upd
1e60 61 74 65 73 20 77 69 6c 6c 20 6e 6f 74 20 62 65 20 76 69 73 69 62 6c 65 0d 0a 20 20 20 20 20 20 ates.will.not.be.visible........
1e80 20 20 2f 2f 2f 20 69 6e 20 70 6c 61 79 65 72 20 75 70 64 61 74 65 73 20 61 6e 64 20 76 69 63 65 ..///.in.player.updates.and.vice
1ea0 20 76 65 72 73 61 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b 73 3e 0d .versa...........///.</remarks>.
1ec0 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 49 6e 70 75 .........///.<seealso.cref="Inpu
1ee0 74 53 79 73 74 65 6d 2e 55 70 64 61 74 65 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 tSystem.Update"/>..........publi
1f00 63 20 55 70 64 61 74 65 4d 6f 64 65 20 75 70 64 61 74 65 4d 6f 64 65 0d 0a 20 20 20 20 20 20 20 c.UpdateMode.updateMode.........
1f20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 3d 3e 20 6d 5f 55 70 64 61 74 65 4d .{..............get.=>.m_UpdateM
1f40 6f 64 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 74 0d 0a 20 20 20 20 20 20 20 20 20 ode;..............set...........
1f60 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 55 70 64 61 ...{..................if.(m_Upda
1f80 74 65 4d 6f 64 65 20 3d 3d 20 76 61 6c 75 65 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 teMode.==.value)................
1fa0 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d ......return;..................m
1fc0 5f 55 70 64 61 74 65 4d 6f 64 65 20 3d 20 76 61 6c 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 _UpdateMode.=.value;............
1fe0 20 20 20 20 20 20 4f 6e 43 68 61 6e 67 65 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d ......OnChange();..............}
2000 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d ..........}............///.<summ
2020 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 49 66 20 74 72 75 65 2c 20 73 65 6e 73 6f ary>..........///.If.true,.senso
2040 72 73 20 74 68 61 74 20 64 65 6c 69 76 65 72 20 72 6f 74 61 74 69 6f 6e 20 76 61 6c 75 65 73 20 rs.that.deliver.rotation.values.
2060 6f 6e 20 68 61 6e 64 68 65 6c 64 20 64 65 76 69 63 65 73 20 77 69 6c 6c 20 61 75 74 6f 6d 61 74 on.handheld.devices.will.automat
2080 69 63 61 6c 6c 79 20 61 64 6a 75 73 74 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 72 6f 74 61 74 ically.adjust..........///.rotat
20a0 69 6f 6e 73 20 77 68 65 6e 20 74 68 65 20 73 63 72 65 65 6e 20 6f 72 69 65 6e 74 61 74 69 6f 6e ions.when.the.screen.orientation
20c0 20 63 68 61 6e 67 65 73 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 .changes...........///.</summary
20e0 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 20 20 >..........///.<remarks>........
2100 20 20 2f 2f 2f 20 54 68 69 73 20 69 73 20 65 6e 61 62 6c 65 64 20 62 79 20 64 65 66 61 75 6c 74 ..///.This.is.enabled.by.default
2120 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 49 66 20 65 ...........///..........///.If.e
2140 6e 61 62 6c 65 64 2c 20 72 6f 74 61 74 69 6f 6e 20 76 61 6c 75 65 73 20 77 69 6c 6c 20 62 65 20 nabled,.rotation.values.will.be.
2160 72 6f 74 61 74 65 64 20 61 72 6f 75 6e 64 20 5a 2e 20 49 6e 20 3c 73 65 65 20 63 72 65 66 3d 22 rotated.around.Z..In.<see.cref="
2180 53 63 72 65 65 6e 4f 72 69 65 6e 74 61 74 69 6f 6e 2e 50 6f 72 74 72 61 69 74 22 2f 3e 2c 20 76 ScreenOrientation.Portrait"/>,.v
21a0 61 6c 75 65 73 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 72 65 6d 61 69 6e 20 75 6e 63 68 61 6e alues..........///.remain.unchan
21c0 67 65 64 2e 20 49 6e 20 3c 73 65 65 20 63 72 65 66 3d 22 53 63 72 65 65 6e 4f 72 69 65 6e 74 61 ged..In.<see.cref="ScreenOrienta
21e0 74 69 6f 6e 2e 50 6f 72 74 72 61 69 74 55 70 73 69 64 65 44 6f 77 6e 22 2f 3e 2c 20 74 68 65 79 tion.PortraitUpsideDown"/>,.they
2200 20 77 69 6c 6c 20 62 65 20 72 6f 74 61 74 65 64 20 62 79 20 31 38 30 20 64 65 67 72 65 65 73 2e .will.be.rotated.by.180.degrees.
2220 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 49 6e 20 3c 73 65 65 20 63 72 65 66 3d 22 53 63 72 65 ..........///.In.<see.cref="Scre
2240 65 6e 4f 72 69 65 6e 74 61 74 69 6f 6e 2e 4c 61 6e 64 73 63 61 70 65 4c 65 66 74 22 2f 3e 20 62 enOrientation.LandscapeLeft"/>.b
2260 79 20 39 30 20 64 65 67 72 65 65 73 2c 20 61 6e 64 20 69 6e 20 3c 73 65 65 20 63 72 65 66 3d 22 y.90.degrees,.and.in.<see.cref="
2280 53 63 72 65 65 6e 4f 72 69 65 6e 74 61 74 69 6f 6e 2e 4c 61 6e 64 73 63 61 70 65 52 69 67 68 74 ScreenOrientation.LandscapeRight
22a0 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 62 79 20 32 37 30 20 64 65 67 72 65 65 73 2e "/>..........///.by.270.degrees.
22c0 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 53 65 6e 73 6f ..........///..........///.Senso
22e0 72 73 20 61 66 66 65 63 74 65 64 20 62 79 20 74 68 69 73 20 73 65 74 74 69 6e 67 20 61 72 65 20 rs.affected.by.this.setting.are.
2300 3c 73 65 65 20 63 72 65 66 3d 22 41 63 63 65 6c 65 72 6f 6d 65 74 65 72 22 2f 3e 2c 20 3c 73 65 <see.cref="Accelerometer"/>,.<se
2320 65 20 63 72 65 66 3d 22 43 6f 6d 70 61 73 73 22 2f 3e 2c 20 61 6e 64 20 3c 73 65 65 20 63 72 65 e.cref="Compass"/>,.and.<see.cre
2340 66 3d 22 47 79 72 6f 73 63 6f 70 65 22 2f 3e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f f="Gyroscope"/>...........///.</
2360 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 remarks>..........///.<seealso.c
2380 72 65 66 3d 22 43 6f 6d 70 65 6e 73 61 74 65 44 69 72 65 63 74 69 6f 6e 50 72 6f 63 65 73 73 6f ref="CompensateDirectionProcesso
23a0 72 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 62 6f 6f 6c 20 63 6f 6d 70 65 6e r"/>..........public.bool.compen
23c0 73 61 74 65 46 6f 72 53 63 72 65 65 6e 4f 72 69 65 6e 74 61 74 69 6f 6e 0d 0a 20 20 20 20 20 20 sateForScreenOrientation........
23e0 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 3d 3e 20 6d 5f 43 6f 6d 70 65 6e ..{..............get.=>.m_Compen
2400 73 61 74 65 46 6f 72 53 63 72 65 65 6e 4f 72 69 65 6e 74 61 74 69 6f 6e 3b 0d 0a 20 20 20 20 20 sateForScreenOrientation;.......
2420 20 20 20 20 20 20 20 73 65 74 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 .......set..............{.......
2440 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 43 6f 6d 70 65 6e 73 61 74 65 46 6f 72 53 63 ...........if.(m_CompensateForSc
2460 72 65 65 6e 4f 72 69 65 6e 74 61 74 69 6f 6e 20 3d 3d 20 76 61 6c 75 65 29 0d 0a 20 20 20 20 20 reenOrientation.==.value).......
2480 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0d 0a 20 20 20 20 20 20 20 20 ...............return;..........
24a0 20 20 20 20 20 20 20 20 6d 5f 43 6f 6d 70 65 6e 73 61 74 65 46 6f 72 53 63 72 65 65 6e 4f 72 69 ........m_CompensateForScreenOri
24c0 65 6e 74 61 74 69 6f 6e 20 3d 20 76 61 6c 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 entation.=.value;...............
24e0 20 20 20 4f 6e 43 68 61 6e 67 65 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 ...OnChange();..............}...
2500 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 .......}............///.<summary
2520 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 57 68 65 74 68 65 72 20 74 6f 20 6e 6f 74 20 6d 61 >..........///.Whether.to.not.ma
2540 6b 65 20 61 20 64 65 76 69 63 65 20 3c 63 3e 2e 63 75 72 72 65 6e 74 3c 2f 63 3e 20 28 73 65 65 ke.a.device.<c>.current</c>.(see
2560 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 44 65 76 69 63 65 2e 4d 61 6b 65 43 75 72 72 .<see.cref="InputDevice.MakeCurr
2580 65 6e 74 22 2f 3e 29 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 77 68 65 6e 20 74 68 65 72 65 20 ent"/>)..........///.when.there.
25a0 69 73 20 6f 6e 6c 79 20 6e 6f 69 73 65 20 69 6e 20 74 68 65 20 69 6e 70 75 74 2e 0d 0a 20 20 20 is.only.noise.in.the.input......
25c0 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f .....///.</summary>..........///
25e0 20 3c 76 61 6c 75 65 3e 57 68 65 74 68 65 72 20 74 6f 20 63 68 65 63 6b 20 69 6e 70 75 74 20 6f .<value>Whether.to.check.input.o
2600 6e 20 64 65 76 69 63 65 73 20 66 6f 72 20 6e 6f 69 73 65 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 n.devices.for.noise.</value>....
2620 20 20 20 20 20 20 2f 2f 2f 20 3c 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f ......///.<remarks>..........///
2640 20 54 68 69 73 20 69 73 20 3c 65 6d 3e 64 69 73 61 62 6c 65 64 20 62 79 20 64 65 66 61 75 6c 74 .This.is.<em>disabled.by.default
2660 3c 2f 65 6d 3e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f </em>...........///..........///
2680 20 57 68 65 6e 20 74 6f 67 67 6c 65 64 20 6f 6e 2c 20 74 68 69 73 20 70 72 6f 70 65 72 74 79 20 .When.toggled.on,.this.property.
26a0 61 64 64 73 20 65 78 74 72 61 20 70 72 6f 63 65 73 73 69 6e 67 20 65 76 65 72 79 20 74 69 6d 65 adds.extra.processing.every.time
26c0 20 69 6e 70 75 74 20 69 73 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 72 65 63 65 69 76 65 64 20 .input.is..........///.received.
26e0 6f 6e 20 61 20 64 65 76 69 63 65 20 74 68 61 74 20 69 73 20 63 6f 6e 73 69 64 65 72 65 64 20 6e on.a.device.that.is.considered.n
2700 6f 69 73 79 2e 20 54 68 65 73 65 20 64 65 76 69 63 65 73 20 61 72 65 20 74 68 6f 73 65 20 74 68 oisy..These.devices.are.those.th
2720 61 74 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 68 61 76 65 20 61 74 20 6c 65 61 73 74 20 6f 6e at..........///.have.at.least.on
2740 65 20 63 6f 6e 74 72 6f 6c 20 74 68 61 74 20 69 73 20 6d 61 72 6b 65 64 20 61 73 20 3c 73 65 65 e.control.that.is.marked.as.<see
2760 20 63 72 65 66 3d 22 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 2e 6e 6f 69 73 79 22 2f 3e 2e 0d 0a 20 .cref="InputControl.noisy"/>....
2780 20 20 20 20 20 20 20 2f 2f 2f 20 41 20 67 6f 6f 64 20 65 78 61 6d 70 6c 65 20 69 73 20 74 68 65 .......///.A.good.example.is.the
27a0 20 50 53 34 20 63 6f 6e 74 72 6f 6c 6c 65 72 20 77 68 69 63 68 20 68 61 73 20 61 20 67 79 72 6f .PS4.controller.which.has.a.gyro
27c0 73 63 6f 70 65 20 73 65 6e 73 6f 72 20 62 75 69 6c 74 20 69 6e 74 6f 0d 0a 20 20 20 20 20 20 20 scope.sensor.built.into.........
27e0 20 2f 2f 2f 20 74 68 65 20 64 65 76 69 63 65 2e 20 57 68 65 72 65 61 73 20 73 74 69 63 6b 73 20 .///.the.device..Whereas.sticks.
2800 61 6e 64 20 62 75 74 74 6f 6e 73 20 6f 6e 20 74 68 65 20 64 65 76 69 63 65 20 72 65 71 75 69 72 and.buttons.on.the.device.requir
2820 65 20 75 73 65 72 20 69 6e 74 65 72 61 63 74 69 6f 6e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 e.user.interaction..........///.
2840 74 6f 20 70 72 6f 64 75 63 65 20 6e 6f 6e 2d 64 65 66 61 75 6c 74 20 76 61 6c 75 65 73 2c 20 74 to.produce.non-default.values,.t
2860 68 65 20 67 79 72 6f 20 77 69 6c 6c 20 70 72 6f 64 75 63 65 20 76 61 72 79 69 6e 67 20 76 61 6c he.gyro.will.produce.varying.val
2880 75 65 73 20 65 76 65 6e 20 69 66 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 74 68 65 20 64 65 76 ues.even.if..........///.the.dev
28a0 69 63 65 20 6a 75 73 74 20 73 69 74 73 20 74 68 65 72 65 20 77 69 74 68 6f 75 74 20 75 73 65 72 ice.just.sits.there.without.user
28c0 20 69 6e 74 65 72 61 63 74 69 6f 6e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 .interaction...........///......
28e0 20 20 20 20 2f 2f 2f 20 57 69 74 68 6f 75 74 20 6e 6f 69 73 65 20 66 69 6c 74 65 72 69 6e 67 2c ....///.Without.noise.filtering,
2900 20 61 20 50 53 34 20 63 6f 6e 74 72 6f 6c 6c 65 72 20 77 69 6c 6c 20 74 68 75 73 20 63 6f 6e 74 .a.PS4.controller.will.thus.cont
2920 69 6e 75 61 6c 6c 79 20 6d 61 6b 65 20 69 74 73 65 6c 66 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f inually.make.itself..........///
2940 20 63 75 72 72 65 6e 74 20 61 73 20 69 74 20 77 69 6c 6c 20 73 65 6e 64 20 61 20 63 6f 6e 74 69 .current.as.it.will.send.a.conti
2960 6e 75 6f 75 73 20 73 74 72 65 61 6d 20 6f 66 20 69 6e 70 75 74 20 65 76 65 6e 20 77 68 65 6e 20 nuous.stream.of.input.even.when.
2980 6e 6f 74 20 61 63 74 69 76 65 6c 79 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 75 73 65 64 20 62 not.actively..........///.used.b
29a0 79 20 74 68 65 20 70 6c 61 79 65 72 2e 20 42 79 20 74 6f 67 67 6c 69 6e 67 20 74 68 69 73 20 70 y.the.player..By.toggling.this.p
29c0 72 6f 70 65 72 74 79 20 6f 6e 2c 20 65 61 63 68 20 69 6e 70 75 74 20 65 76 65 6e 74 20 77 69 6c roperty.on,.each.input.event.wil
29e0 6c 20 62 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 72 75 6e 20 74 68 72 6f 75 67 68 20 61 20 l.be..........///.run.through.a.
2a00 6e 6f 69 73 65 20 6d 61 73 6b 2e 20 4f 6e 6c 79 20 69 66 20 73 74 61 74 65 20 68 61 73 20 63 68 noise.mask..Only.if.state.has.ch
2a20 61 6e 67 65 64 20 6f 75 74 73 69 64 65 20 6f 66 20 6d 65 6d 6f 72 79 20 61 72 65 61 73 0d 0a 20 anged.outside.of.memory.areas...
2a40 20 20 20 20 20 20 20 2f 2f 2f 20 6d 61 72 6b 65 64 20 61 73 20 6e 6f 69 73 65 20 77 69 6c 6c 20 .......///.marked.as.noise.will.
2a60 74 68 65 20 69 6e 70 75 74 20 62 65 20 63 6f 6e 73 69 64 65 72 65 64 20 76 61 6c 69 64 20 75 73 the.input.be.considered.valid.us
2a80 65 72 20 69 6e 74 65 72 61 63 74 69 6f 6e 20 61 6e 64 20 74 68 65 0d 0a 20 20 20 20 20 20 20 20 er.interaction.and.the..........
2aa0 2f 2f 2f 20 64 65 76 69 63 65 20 77 69 6c 6c 20 62 65 20 6d 61 64 65 20 63 75 72 72 65 6e 74 2e ///.device.will.be.made.current.
2ac0 20 4e 6f 74 65 20 74 68 61 74 20 69 6e 20 74 68 69 73 20 70 72 6f 63 65 73 73 2c 20 74 68 65 20 .Note.that.in.this.process,.the.
2ae0 73 79 73 74 65 6d 20 64 6f 65 73 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 65 6d 3e 6e 6f 74 system.does..........///.<em>not
2b00 3c 2f 65 6d 3e 20 64 65 74 65 72 6d 69 6e 65 20 77 68 65 74 68 65 72 20 6e 6f 6e 2d 6e 6f 69 73 </em>.determine.whether.non-nois
2b20 79 20 63 6f 6e 74 72 6f 6c 73 20 6f 6e 20 74 68 65 20 64 65 76 69 63 65 20 68 61 76 65 20 61 63 y.controls.on.the.device.have.ac
2b40 74 75 61 6c 6c 79 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 63 68 61 6e 67 65 64 20 76 61 6c 75 tually..........///.changed.valu
2b60 65 2e 20 41 6c 6c 20 74 68 65 20 73 79 73 74 65 6d 20 65 73 74 61 62 6c 69 73 68 65 73 20 69 73 e..All.the.system.establishes.is
2b80 20 77 68 65 74 68 65 72 20 73 75 63 68 20 63 6f 6e 74 72 6f 6c 73 20 68 61 76 65 20 63 68 61 6e .whether.such.controls.have.chan
2ba0 67 65 64 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 65 6d 3e 73 74 61 74 65 3c 2f 65 6d 3e 2e ged..........///.<em>state</em>.
2bc0 20 48 6f 77 65 76 65 72 2c 20 70 72 6f 63 65 73 73 69 6e 67 20 73 75 63 68 20 61 73 20 66 6f 72 .However,.processing.such.as.for
2be0 20 64 65 61 64 7a 6f 6e 65 73 20 6d 61 79 20 63 61 75 73 65 20 76 61 6c 75 65 73 0d 0a 20 20 20 .deadzones.may.cause.values.....
2c00 20 20 20 20 20 2f 2f 2f 20 74 6f 20 6e 6f 74 20 65 66 66 65 63 74 69 76 65 6c 79 20 63 68 61 6e .....///.to.not.effectively.chan
2c20 67 65 20 65 76 65 6e 20 74 68 6f 75 67 68 20 74 68 65 20 6e 6f 6e 2d 6e 6f 69 73 79 20 73 74 61 ge.even.though.the.non-noisy.sta
2c40 74 65 20 6f 66 20 74 68 65 20 64 65 76 69 63 65 20 68 61 73 0d 0a 20 20 20 20 20 20 20 20 2f 2f te.of.the.device.has..........//
2c60 2f 20 63 68 61 6e 67 65 64 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b /.changed...........///.</remark
2c80 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 49 s>..........///.<seealso.cref="I
2ca0 6e 70 75 74 44 65 76 69 63 65 2e 4d 61 6b 65 43 75 72 72 65 6e 74 22 2f 3e 0d 0a 20 20 20 20 20 nputDevice.MakeCurrent"/>.......
2cc0 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 49 6e 70 75 74 43 6f 6e 74 72 ...///.<seealso.cref="InputContr
2ce0 6f 6c 2e 6e 6f 69 73 79 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 62 6f 6f 6c ol.noisy"/>..........public.bool
2d00 20 66 69 6c 74 65 72 4e 6f 69 73 65 4f 6e 43 75 72 72 65 6e 74 0d 0a 20 20 20 20 20 20 20 20 7b .filterNoiseOnCurrent..........{
2d20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 3d 3e 20 6d 5f 46 69 6c 74 65 72 4e 6f 69 ..............get.=>.m_FilterNoi
2d40 73 65 4f 6e 43 75 72 72 65 6e 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 74 0d 0a 20 seOnCurrent;..............set...
2d60 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 ...........{..................if
2d80 20 28 6d 5f 46 69 6c 74 65 72 4e 6f 69 73 65 4f 6e 43 75 72 72 65 6e 74 20 3d 3d 20 76 61 6c 75 .(m_FilterNoiseOnCurrent.==.valu
2da0 65 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0d e)......................return;.
2dc0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 46 69 6c 74 65 72 4e 6f 69 73 65 4f 6e .................m_FilterNoiseOn
2de0 43 75 72 72 65 6e 74 20 3d 20 76 61 6c 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 Current.=.value;................
2e00 20 20 4f 6e 43 68 61 6e 67 65 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 ..OnChange();..............}....
2e20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e ......}............///.<summary>
2e40 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 44 65 66 61 75 6c 74 20 76 61 6c 75 65 20 75 73 65 64 ..........///.Default.value.used
2e60 20 77 68 65 6e 20 6e 6f 74 68 69 6e 67 20 69 73 20 73 65 74 20 65 78 70 6c 69 63 69 74 6c 79 20 .when.nothing.is.set.explicitly.
2e80 6f 6e 20 3c 73 65 65 20 63 72 65 66 3d 22 53 74 69 63 6b 44 65 61 64 7a 6f 6e 65 50 72 6f 63 65 on.<see.cref="StickDeadzoneProce
2ea0 73 73 6f 72 2e 6d 69 6e 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 6f 72 20 3c 73 65 65 ssor.min"/>..........///.or.<see
2ec0 20 63 72 65 66 3d 22 41 78 69 73 44 65 61 64 7a 6f 6e 65 50 72 6f 63 65 73 73 6f 72 2e 6d 69 6e .cref="AxisDeadzoneProcessor.min
2ee0 22 2f 3e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 "/>...........///.</summary>....
2f00 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 44 65 66 61 75 6c 74 20 6c 6f 77 65 72 20 6c ......///.<value>Default.lower.l
2f20 69 6d 69 74 20 66 6f 72 20 64 65 61 64 7a 6f 6e 65 73 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 20 imit.for.deadzones.</value>.....
2f40 20 20 20 20 20 2f 2f 2f 20 3c 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 .....///.<remarks>..........///.
2f60 22 44 65 61 64 7a 6f 6e 65 73 22 20 72 65 66 65 72 20 74 6f 20 6c 69 6d 69 74 73 20 65 73 74 61 "Deadzones".refer.to.limits.esta
2f80 62 6c 69 73 68 65 64 20 66 6f 72 20 74 68 65 20 72 61 6e 67 65 20 6f 66 20 76 61 6c 75 65 73 20 blished.for.the.range.of.values.
2fa0 61 63 63 65 70 74 65 64 20 61 73 20 69 6e 70 75 74 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 6f accepted.as.input..........///.o
2fc0 6e 20 61 20 63 6f 6e 74 72 6f 6c 2e 20 49 66 20 74 68 65 20 76 61 6c 75 65 20 66 6f 72 20 74 68 n.a.control..If.the.value.for.th
2fe0 65 20 63 6f 6e 74 72 6f 6c 20 66 61 6c 6c 73 20 6f 75 74 73 69 64 65 20 74 68 65 20 72 61 6e 67 e.control.falls.outside.the.rang
3000 65 2c 20 69 2e 65 2e 20 62 65 6c 6f 77 20 74 68 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 67 e,.i.e..below.the..........///.g
3020 69 76 65 6e 20 6d 69 6e 69 6d 75 6d 20 6f 72 20 61 62 6f 76 65 20 74 68 65 20 67 69 76 65 6e 20 iven.minimum.or.above.the.given.
3040 6d 61 78 69 6d 75 6d 2c 20 74 68 65 20 76 61 6c 75 65 20 69 73 20 63 6c 61 6d 70 65 64 20 74 6f maximum,.the.value.is.clamped.to
3060 20 74 68 65 20 72 65 73 70 65 63 74 69 76 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 6c 69 6d .the.respective..........///.lim
3080 69 74 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 it...........///..........///.Th
30a0 69 73 20 70 72 6f 70 65 72 74 79 20 63 6f 6e 66 69 67 75 72 65 73 20 74 68 65 20 64 65 66 61 75 is.property.configures.the.defau
30c0 6c 74 20 6c 6f 77 65 72 20 62 6f 75 6e 64 20 6f 66 20 74 68 65 20 76 61 6c 75 65 20 72 61 6e 67 lt.lower.bound.of.the.value.rang
30e0 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 4e 6f 74 e...........///..........///.Not
3100 65 20 74 68 61 74 20 64 65 61 64 7a 6f 6e 65 73 20 77 69 6c 6c 20 62 79 20 64 65 66 61 75 6c 74 e.that.deadzones.will.by.default
3120 20 72 65 2d 6e 6f 72 6d 61 6c 69 7a 65 20 76 61 6c 75 65 73 20 61 66 74 65 72 20 63 6c 61 6d 70 .re-normalize.values.after.clamp
3140 69 6e 67 2e 20 54 68 69 73 20 6d 65 61 6e 73 20 74 68 61 74 0d 0a 20 20 20 20 20 20 20 20 2f 2f ing..This.means.that..........//
3160 2f 20 69 6e 70 75 74 73 20 61 74 20 74 68 65 20 6c 6f 77 65 72 20 61 6e 64 20 75 70 70 65 72 20 /.inputs.at.the.lower.and.upper.
3180 65 6e 64 20 61 72 65 20 64 72 6f 70 70 65 64 20 61 6e 64 20 74 68 61 74 20 74 68 65 20 72 61 6e end.are.dropped.and.that.the.ran
31a0 67 65 20 69 6e 2d 62 65 74 77 65 65 6e 20 69 73 20 72 65 2d 6e 6f 72 6d 61 6c 69 7a 65 64 0d 0a ge.in-between.is.re-normalized..
31c0 20 20 20 20 20 20 20 20 2f 2f 2f 20 74 6f 20 5b 30 2e 2e 31 5d 2e 0d 0a 20 20 20 20 20 20 20 20 ........///.to.[0..1]...........
31e0 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 4e 6f 74 65 20 74 68 61 74 20 64 65 61 64 7a ///..........///.Note.that.deadz
3200 6f 6e 65 73 20 70 72 65 73 65 72 76 65 20 74 68 65 20 73 69 67 6e 20 6f 66 20 69 6e 70 75 74 73 ones.preserve.the.sign.of.inputs
3220 2e 20 54 68 69 73 20 6d 65 61 6e 73 20 74 68 61 74 20 62 6f 74 68 20 74 68 65 20 75 70 70 65 72 ..This.means.that.both.the.upper
3240 20 61 6e 64 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 74 68 65 20 6c 6f 77 65 72 20 64 65 61 64 .and..........///.the.lower.dead
3260 7a 6f 6e 65 20 62 6f 75 6e 64 20 65 78 74 65 6e 64 20 74 6f 20 62 6f 74 68 20 74 68 65 20 70 6f zone.bound.extend.to.both.the.po
3280 73 69 74 69 76 65 20 61 6e 64 20 74 68 65 20 6e 65 67 61 74 69 76 65 20 72 61 6e 67 65 2e 20 46 sitive.and.the.negative.range..F
32a0 6f 72 20 65 78 61 6d 70 6c 65 2c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 61 20 64 65 61 64 7a or.example,..........///.a.deadz
32c0 6f 6e 65 20 6d 69 6e 20 6f 66 20 30 2e 31 20 77 69 6c 6c 20 63 6c 61 6d 70 20 76 61 6c 75 65 73 one.min.of.0.1.will.clamp.values
32e0 20 62 65 74 77 65 65 6e 20 2d 30 2e 31 20 61 6e 64 20 2b 30 2e 31 2e 0d 0a 20 20 20 20 20 20 20 .between.-0.1.and.+0.1..........
3300 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 6d 6f 73 74 20 63 6f 6d 6d 6f .///..........///.The.most.commo
3320 6e 20 65 78 61 6d 70 6c 65 20 6f 66 20 77 68 65 72 65 20 64 65 61 64 7a 6f 6e 65 73 20 61 72 65 n.example.of.where.deadzones.are
3340 20 75 73 65 64 20 61 72 65 20 74 68 65 20 73 74 69 63 6b 73 20 6f 6e 20 67 61 6d 65 70 61 64 73 .used.are.the.sticks.on.gamepads
3360 2c 20 69 2e 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 20 63 72 65 66 3d 22 47 ,.i.e...........///.<see.cref="G
3380 61 6d 65 70 61 64 2e 6c 65 66 74 53 74 69 63 6b 22 2f 3e 20 61 6e 64 20 3c 73 65 65 20 63 72 65 amepad.leftStick"/>.and.<see.cre
33a0 66 3d 22 47 61 6d 65 70 61 64 2e 72 69 67 68 74 53 74 69 63 6b 22 2f 3e 2e 20 53 74 69 63 6b 73 f="Gamepad.rightStick"/>..Sticks
33c0 20 77 69 6c 6c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 75 73 75 61 6c 6c 79 20 62 65 20 77 6f .will..........///.usually.be.wo
33e0 62 62 6c 79 20 74 6f 20 73 6f 6d 65 20 65 78 74 65 6e 74 20 28 6a 75 73 74 20 68 6f 77 20 77 6f bbly.to.some.extent.(just.how.wo
3400 62 62 6c 79 20 76 61 72 69 65 73 20 67 72 65 61 74 6c 79 20 62 65 74 77 65 65 6e 20 64 69 66 66 bbly.varies.greatly.between.diff
3420 65 72 65 6e 74 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 74 79 70 65 73 20 6f 66 20 63 6f 6e 74 erent..........///.types.of.cont
3440 72 6f 6c 6c 65 72 73 20 2d 2d 20 77 68 69 63 68 20 6d 65 61 6e 73 20 74 68 61 74 20 6f 66 74 65 rollers.--.which.means.that.ofte
3460 6e 20 64 65 61 64 7a 6f 6e 65 73 20 6e 65 65 64 20 74 6f 20 62 65 20 63 6f 6e 66 69 67 75 72 65 n.deadzones.need.to.be.configure
3480 64 20 6f 6e 20 61 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 70 65 72 2d 64 65 76 69 63 65 20 74 d.on.a..........///.per-device.t
34a0 79 70 65 20 62 61 73 69 73 29 2e 20 55 73 69 6e 67 20 64 65 61 64 7a 6f 6e 65 73 2c 20 73 74 69 ype.basis)..Using.deadzones,.sti
34c0 63 6b 20 6d 6f 74 69 6f 6e 20 61 74 20 74 68 65 20 65 78 74 72 65 6d 65 20 65 6e 64 73 20 6f 66 ck.motion.at.the.extreme.ends.of
34e0 20 74 68 65 20 73 70 65 63 74 72 75 6d 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 63 61 6e 20 62 .the.spectrum..........///.can.b
3500 65 20 66 69 6c 74 65 72 65 64 20 6f 75 74 20 61 6e 64 20 6e 6f 69 73 65 20 69 6e 20 74 68 65 73 e.filtered.out.and.noise.in.thes
3520 65 20 61 72 65 61 73 20 63 61 6e 20 65 66 66 65 63 74 69 76 65 6c 79 20 62 65 20 65 6c 69 6d 69 e.areas.can.effectively.be.elimi
3540 6e 61 74 65 64 20 74 68 69 73 20 77 61 79 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 nated.this.way...........///....
3560 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 20 66 6f 72 20 ......///.The.default.value.for.
3580 74 68 69 73 20 70 72 6f 70 65 72 74 79 20 69 73 20 30 2e 31 32 35 2e 0d 0a 20 20 20 20 20 20 20 this.property.is.0.125..........
35a0 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 .///.</remarks>..........///.<se
35c0 65 61 6c 73 6f 20 63 72 65 66 3d 22 53 74 69 63 6b 44 65 61 64 7a 6f 6e 65 50 72 6f 63 65 73 73 ealso.cref="StickDeadzoneProcess
35e0 6f 72 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 or"/>..........///.<seealso.cref
3600 3d 22 41 78 69 73 44 65 61 64 7a 6f 6e 65 50 72 6f 63 65 73 73 6f 72 22 2f 3e 0d 0a 20 20 20 20 ="AxisDeadzoneProcessor"/>......
3620 20 20 20 20 70 75 62 6c 69 63 20 66 6c 6f 61 74 20 64 65 66 61 75 6c 74 44 65 61 64 7a 6f 6e 65 ....public.float.defaultDeadzone
3640 4d 69 6e 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 Min..........{..............get.
3660 3d 3e 20 6d 5f 44 65 66 61 75 6c 74 44 65 61 64 7a 6f 6e 65 4d 69 6e 3b 0d 0a 20 20 20 20 20 20 =>.m_DefaultDeadzoneMin;........
3680 20 20 20 20 20 20 73 65 74 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 ......set..............{........
36a0 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 44 65 66 61 75 6c 74 44 65 61 64 7a 6f 6e 65 4d ..........if.(m_DefaultDeadzoneM
36c0 69 6e 20 3d 3d 20 76 61 6c 75 65 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 in.==.value)....................
36e0 20 20 72 65 74 75 72 6e 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 44 65 66 ..return;..................m_Def
3700 61 75 6c 74 44 65 61 64 7a 6f 6e 65 4d 69 6e 20 3d 20 76 61 6c 75 65 3b 0d 0a 20 20 20 20 20 20 aultDeadzoneMin.=.value;........
3720 20 20 20 20 20 20 20 20 20 20 4f 6e 43 68 61 6e 67 65 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 ..........OnChange();...........
3740 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c ...}..........}............///.<
3760 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 44 65 66 61 75 6c 74 20 76 61 summary>..........///.Default.va
3780 6c 75 65 20 75 73 65 64 20 77 68 65 6e 20 6e 6f 74 68 69 6e 67 20 69 73 20 73 65 74 20 65 78 70 lue.used.when.nothing.is.set.exp
37a0 6c 69 63 69 74 6c 79 20 6f 6e 20 3c 73 65 65 20 63 72 65 66 3d 22 53 74 69 63 6b 44 65 61 64 7a licitly.on.<see.cref="StickDeadz
37c0 6f 6e 65 50 72 6f 63 65 73 73 6f 72 2e 6d 61 78 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f oneProcessor.max"/>..........///
37e0 20 6f 72 20 3c 73 65 65 20 63 72 65 66 3d 22 41 78 69 73 44 65 61 64 7a 6f 6e 65 50 72 6f 63 65 .or.<see.cref="AxisDeadzoneProce
3800 73 73 6f 72 2e 6d 61 78 22 2f 3e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d ssor.max"/>...........///.</summ
3820 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 44 65 66 61 75 6c 74 ary>..........///.<value>Default
3840 20 75 70 70 65 72 20 6c 69 6d 69 74 20 66 6f 72 20 64 65 61 64 7a 6f 6e 65 73 2e 3c 2f 76 61 6c .upper.limit.for.deadzones.</val
3860 75 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 ue>..........///.<remarks>......
3880 20 20 20 20 2f 2f 2f 20 22 44 65 61 64 7a 6f 6e 65 73 22 20 72 65 66 65 72 20 74 6f 20 6c 69 6d ....///."Deadzones".refer.to.lim
38a0 69 74 73 20 65 73 74 61 62 6c 69 73 68 65 64 20 66 6f 72 20 74 68 65 20 72 61 6e 67 65 20 6f 66 its.established.for.the.range.of
38c0 20 76 61 6c 75 65 73 20 61 63 63 65 70 74 65 64 20 61 73 20 69 6e 70 75 74 0d 0a 20 20 20 20 20 .values.accepted.as.input.......
38e0 20 20 20 2f 2f 2f 20 6f 6e 20 61 20 63 6f 6e 74 72 6f 6c 2e 20 49 66 20 74 68 65 20 76 61 6c 75 ...///.on.a.control..If.the.valu
3900 65 20 66 6f 72 20 74 68 65 20 63 6f 6e 74 72 6f 6c 20 66 61 6c 6c 73 20 6f 75 74 73 69 64 65 20 e.for.the.control.falls.outside.
3920 74 68 65 20 72 61 6e 67 65 2c 20 69 2e 65 2e 20 62 65 6c 6f 77 20 74 68 65 0d 0a 20 20 20 20 20 the.range,.i.e..below.the.......
3940 20 20 20 2f 2f 2f 20 67 69 76 65 6e 20 6d 69 6e 69 6d 75 6d 20 6f 72 20 61 62 6f 76 65 20 74 68 ...///.given.minimum.or.above.th
3960 65 20 67 69 76 65 6e 20 6d 61 78 69 6d 75 6d 2c 20 74 68 65 20 76 61 6c 75 65 20 69 73 20 63 6c e.given.maximum,.the.value.is.cl
3980 61 6d 70 65 64 20 74 6f 20 74 68 65 20 72 65 73 70 65 63 74 69 76 65 0d 0a 20 20 20 20 20 20 20 amped.to.the.respective.........
39a0 20 2f 2f 2f 20 6c 69 6d 69 74 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 .///.limit...........///........
39c0 20 20 2f 2f 2f 20 54 68 69 73 20 70 72 6f 70 65 72 74 79 20 63 6f 6e 66 69 67 75 72 65 73 20 74 ..///.This.property.configures.t
39e0 68 65 20 64 65 66 61 75 6c 74 20 75 70 70 65 72 20 62 6f 75 6e 64 20 6f 66 20 74 68 65 20 76 61 he.default.upper.bound.of.the.va
3a00 6c 75 65 20 72 61 6e 67 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 lue.range...........///.........
3a20 20 2f 2f 2f 20 4e 6f 74 65 20 74 68 61 74 20 64 65 61 64 7a 6f 6e 65 73 20 77 69 6c 6c 20 62 79 .///.Note.that.deadzones.will.by
3a40 20 64 65 66 61 75 6c 74 20 72 65 2d 6e 6f 72 6d 61 6c 69 7a 65 20 76 61 6c 75 65 73 20 61 66 74 .default.re-normalize.values.aft
3a60 65 72 20 63 6c 61 6d 70 69 6e 67 2e 20 54 68 69 73 20 6d 65 61 6e 73 20 74 68 61 74 0d 0a 20 20 er.clamping..This.means.that....
3a80 20 20 20 20 20 20 2f 2f 2f 20 69 6e 70 75 74 73 20 61 74 20 74 68 65 20 6c 6f 77 65 72 20 61 6e ......///.inputs.at.the.lower.an
3aa0 64 20 75 70 70 65 72 20 65 6e 64 20 61 72 65 20 64 72 6f 70 70 65 64 20 61 6e 64 20 74 68 61 74 d.upper.end.are.dropped.and.that
3ac0 20 74 68 65 20 72 61 6e 67 65 20 69 6e 2d 62 65 74 77 65 65 6e 20 69 73 20 72 65 2d 6e 6f 72 6d .the.range.in-between.is.re-norm
3ae0 61 6c 69 7a 65 64 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 74 6f 20 5b 30 2e 2e 31 5d 2e 0d 0a alized..........///.to.[0..1]...
3b00 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 4e 6f 74 65 20 74 68 ........///..........///.Note.th
3b20 61 74 20 64 65 61 64 7a 6f 6e 65 73 20 70 72 65 73 65 72 76 65 20 74 68 65 20 73 69 67 6e 20 6f at.deadzones.preserve.the.sign.o
3b40 66 20 69 6e 70 75 74 73 2e 20 54 68 69 73 20 6d 65 61 6e 73 20 74 68 61 74 20 62 6f 74 68 20 74 f.inputs..This.means.that.both.t
3b60 68 65 20 75 70 70 65 72 20 61 6e 64 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 74 68 65 20 6c 6f he.upper.and..........///.the.lo
3b80 77 65 72 20 64 65 61 64 7a 6f 6e 65 20 62 6f 75 6e 64 20 65 78 74 65 6e 64 20 74 6f 20 62 6f 74 wer.deadzone.bound.extend.to.bot
3ba0 68 20 74 68 65 20 70 6f 73 69 74 69 76 65 20 61 6e 64 20 74 68 65 20 6e 65 67 61 74 69 76 65 20 h.the.positive.and.the.negative.
3bc0 72 61 6e 67 65 2e 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f range..For.example,..........///
3be0 20 61 20 64 65 61 64 7a 6f 6e 65 20 6d 61 78 20 6f 66 20 30 2e 39 35 20 77 69 6c 6c 20 63 6c 61 .a.deadzone.max.of.0.95.will.cla
3c00 6d 70 20 76 61 6c 75 65 73 20 6f 66 20 26 67 74 3b 30 2e 39 35 20 61 6e 64 20 26 6c 74 3b 2d 30 mp.values.of.&gt;0.95.and.&lt;-0
3c20 2e 39 35 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 .95...........///..........///.T
3c40 68 65 20 6d 6f 73 74 20 63 6f 6d 6d 6f 6e 20 65 78 61 6d 70 6c 65 20 6f 66 20 77 68 65 72 65 20 he.most.common.example.of.where.
3c60 64 65 61 64 7a 6f 6e 65 73 20 61 72 65 20 75 73 65 64 20 61 72 65 20 74 68 65 20 73 74 69 63 6b deadzones.are.used.are.the.stick
3c80 73 20 6f 6e 20 67 61 6d 65 70 61 64 73 2c 20 69 2e 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f s.on.gamepads,.i.e...........///
3ca0 20 3c 73 65 65 20 63 72 65 66 3d 22 47 61 6d 65 70 61 64 2e 6c 65 66 74 53 74 69 63 6b 22 2f 3e .<see.cref="Gamepad.leftStick"/>
3cc0 20 61 6e 64 20 3c 73 65 65 20 63 72 65 66 3d 22 47 61 6d 65 70 61 64 2e 72 69 67 68 74 53 74 69 .and.<see.cref="Gamepad.rightSti
3ce0 63 6b 22 2f 3e 2e 20 53 74 69 63 6b 73 20 77 69 6c 6c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 ck"/>..Sticks.will..........///.
3d00 75 73 75 61 6c 6c 79 20 62 65 20 77 6f 62 62 6c 79 20 74 6f 20 73 6f 6d 65 20 65 78 74 65 6e 74 usually.be.wobbly.to.some.extent
3d20 20 28 6a 75 73 74 20 68 6f 77 20 77 6f 62 62 6c 79 20 76 61 72 69 65 73 20 67 72 65 61 74 6c 79 .(just.how.wobbly.varies.greatly
3d40 20 62 65 74 77 65 65 6e 20 64 69 66 66 65 72 65 6e 74 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 .between.different..........///.
3d60 74 79 70 65 73 20 6f 66 20 63 6f 6e 74 72 6f 6c 6c 65 72 73 20 2d 2d 20 77 68 69 63 68 20 6d 65 types.of.controllers.--.which.me
3d80 61 6e 73 20 74 68 61 74 20 6f 66 74 65 6e 20 64 65 61 64 7a 6f 6e 65 73 20 6e 65 65 64 20 74 6f ans.that.often.deadzones.need.to
3da0 20 62 65 20 63 6f 6e 66 69 67 75 72 65 64 20 6f 6e 20 61 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f .be.configured.on.a..........///
3dc0 20 70 65 72 2d 64 65 76 69 63 65 20 74 79 70 65 20 62 61 73 69 73 29 2e 20 55 73 69 6e 67 20 64 .per-device.type.basis)..Using.d
3de0 65 61 64 7a 6f 6e 65 73 2c 20 73 74 69 63 6b 20 6d 6f 74 69 6f 6e 20 61 74 20 74 68 65 20 65 78 eadzones,.stick.motion.at.the.ex
3e00 74 72 65 6d 65 20 65 6e 64 73 20 6f 66 20 74 68 65 20 73 70 65 63 74 72 75 6d 0d 0a 20 20 20 20 treme.ends.of.the.spectrum......
3e20 20 20 20 20 2f 2f 2f 20 63 61 6e 20 62 65 20 66 69 6c 74 65 72 65 64 20 6f 75 74 20 61 6e 64 20 ....///.can.be.filtered.out.and.
3e40 6e 6f 69 73 65 20 69 6e 20 74 68 65 73 65 20 61 72 65 61 73 20 63 61 6e 20 65 66 66 65 63 74 69 noise.in.these.areas.can.effecti
3e60 76 65 6c 79 20 62 65 20 65 6c 69 6d 69 6e 61 74 65 64 20 74 68 69 73 20 77 61 79 2e 0d 0a 20 20 vely.be.eliminated.this.way.....
3e80 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 64 65 66 61 75 ......///..........///.The.defau
3ea0 6c 74 20 76 61 6c 75 65 20 66 6f 72 20 74 68 69 73 20 70 72 6f 70 65 72 74 79 20 69 73 20 30 2e lt.value.for.this.property.is.0.
3ec0 39 32 35 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 925...........///.</remarks>....
3ee0 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 53 74 69 63 6b 44 65 ......///.<seealso.cref="StickDe
3f00 61 64 7a 6f 6e 65 50 72 6f 63 65 73 73 6f 72 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 adzoneProcessor"/>..........///.
3f20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 41 78 69 73 44 65 61 64 7a 6f 6e 65 50 72 6f 63 65 <seealso.cref="AxisDeadzoneProce
3f40 73 73 6f 72 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 66 6c 6f 61 74 20 64 65 ssor"/>..........public.float.de
3f60 66 61 75 6c 74 44 65 61 64 7a 6f 6e 65 4d 61 78 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 faultDeadzoneMax..........{.....
3f80 20 20 20 20 20 20 20 20 20 67 65 74 20 3d 3e 20 6d 5f 44 65 66 61 75 6c 74 44 65 61 64 7a 6f 6e .........get.=>.m_DefaultDeadzon
3fa0 65 4d 61 78 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 74 0d 0a 20 20 20 20 20 20 20 20 eMax;..............set..........
3fc0 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 44 65 66 ....{..................if.(m_Def
3fe0 61 75 6c 74 44 65 61 64 7a 6f 6e 65 4d 61 78 20 3d 3d 20 76 61 6c 75 65 29 0d 0a 20 20 20 20 20 aultDeadzoneMax.==.value).......
4000 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0d 0a 20 20 20 20 20 20 20 20 ...............return;..........
4020 20 20 20 20 20 20 20 20 6d 5f 44 65 66 61 75 6c 74 44 65 61 64 7a 6f 6e 65 4d 61 78 20 3d 20 76 ........m_DefaultDeadzoneMax.=.v
4040 61 6c 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4f 6e 43 68 61 6e 67 65 28 alue;..................OnChange(
4060 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a );..............}..........}....
4080 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f ........///.<summary>........../
40a0 2f 2f 20 54 68 65 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 20 74 68 72 65 73 68 6f 6c 64 20 66 //.The.default.value.threshold.f
40c0 6f 72 20 77 68 65 6e 20 61 20 62 75 74 74 6f 6e 20 69 73 20 63 6f 6e 73 69 64 65 72 65 64 20 70 or.when.a.button.is.considered.p
40e0 72 65 73 73 65 64 2e 20 55 73 65 64 20 69 66 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 6e 6f 20 ressed..Used.if..........///.no.
4100 65 78 70 6c 69 63 69 74 20 74 68 72 65 73 68 6f 6c 64 73 20 61 72 65 20 73 65 74 20 6f 6e 20 70 explicit.thresholds.are.set.on.p
4120 61 72 61 6d 65 74 65 72 73 20 73 75 63 68 20 61 73 20 3c 73 65 65 20 63 72 65 66 3d 22 43 6f 6e arameters.such.as.<see.cref="Con
4140 74 72 6f 6c 73 2e 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 2e 70 72 65 73 73 50 6f 69 6e 74 22 2f trols.ButtonControl.pressPoint"/
4160 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 6f 72 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 74 >..........///.or.<see.cref="Int
4180 65 72 61 63 74 69 6f 6e 73 2e 50 72 65 73 73 49 6e 74 65 72 61 63 74 69 6f 6e 2e 70 72 65 73 73 eractions.PressInteraction.press
41a0 50 6f 69 6e 74 22 2f 3e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 Point"/>...........///.</summary
41c0 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 44 65 66 61 75 6c 74 20 62 75 >..........///.<value>Default.bu
41e0 74 74 6f 6e 20 70 72 65 73 73 20 74 68 72 65 73 68 6f 6c 64 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 tton.press.threshold.</value>...
4200 20 20 20 20 20 20 20 2f 2f 2f 20 3c 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f .......///.<remarks>..........//
4220 2f 20 49 6e 20 74 68 65 20 69 6e 70 75 74 20 73 79 73 74 65 6d 2c 20 65 61 63 68 20 62 75 74 74 /.In.the.input.system,.each.butt
4240 6f 6e 20 63 6f 6e 73 74 69 74 75 74 65 73 20 61 20 66 75 6c 6c 20 66 6c 6f 61 74 69 6e 67 2d 70 on.constitutes.a.full.floating-p
4260 6f 69 6e 74 20 76 61 6c 75 65 2e 20 50 75 72 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 74 6f oint.value..Pure..........///.to
4280 67 67 6c 65 20 62 75 74 74 6f 6e 73 2c 20 73 75 63 68 20 61 73 20 3c 73 65 65 20 63 72 65 66 3d ggle.buttons,.such.as.<see.cref=
42a0 22 47 61 6d 65 70 61 64 2e 62 75 74 74 6f 6e 53 6f 75 74 68 22 2f 3e 20 66 6f 72 20 65 78 61 6d "Gamepad.buttonSouth"/>.for.exam
42c0 70 6c 65 2c 20 77 69 6c 6c 20 73 69 6d 70 6c 79 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 61 6c ple,.will.simply..........///.al
42e0 74 65 72 6e 61 74 65 20 62 65 74 77 65 65 6e 20 30 20 28 6e 6f 74 20 70 72 65 73 73 65 64 29 20 ternate.between.0.(not.pressed).
4300 61 6e 64 20 31 20 28 70 72 65 73 73 65 64 29 2e 20 48 6f 77 65 76 65 72 2c 20 62 75 74 74 6f 6e and.1.(pressed)..However,.button
4320 73 20 6d 61 79 20 61 6c 73 6f 20 68 61 76 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 72 61 6e s.may.also.have..........///.ran
4340 67 65 73 2c 20 73 75 63 68 20 61 73 20 3c 73 65 65 20 63 72 65 66 3d 22 47 61 6d 65 70 61 64 2e ges,.such.as.<see.cref="Gamepad.
4360 6c 65 66 74 54 72 69 67 67 65 72 22 2f 3e 20 66 6f 72 20 65 78 61 6d 70 6c 65 2e 20 57 68 65 6e leftTrigger"/>.for.example..When
4380 20 75 73 65 64 20 69 6e 20 61 20 63 6f 6e 74 65 78 74 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 .used.in.a.context..........///.
43a0 77 68 65 72 65 20 61 20 63 6c 65 61 72 20 64 69 73 74 69 6e 63 74 69 6f 6e 20 62 65 74 77 65 65 where.a.clear.distinction.betwee
43c0 6e 20 70 72 65 73 73 65 64 20 61 6e 64 20 6e 6f 74 20 70 72 65 73 73 65 64 20 69 73 20 72 65 71 n.pressed.and.not.pressed.is.req
43e0 75 69 72 65 64 2c 20 77 65 20 6e 65 65 64 20 61 20 76 61 6c 75 65 0d 0a 20 20 20 20 20 20 20 20 uired,.we.need.a.value..........
4400 2f 2f 2f 20 62 65 79 6f 6e 64 20 77 68 69 63 68 20 77 65 20 63 6f 6e 73 69 64 65 72 20 74 68 65 ///.beyond.which.we.consider.the
4420 20 62 75 74 74 6f 6e 20 70 72 65 73 73 65 64 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 .button.pressed...........///...
4440 20 20 20 20 20 20 20 2f 2f 2f 20 42 79 20 73 65 74 74 69 6e 67 20 74 68 69 73 20 70 72 6f 70 65 .......///.By.setting.this.prope
4460 72 74 79 2c 20 74 68 65 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 20 66 6f 72 20 74 68 69 73 20 rty,.the.default.value.for.this.
4480 63 61 6e 20 62 65 20 63 6f 6e 66 69 67 75 72 65 64 2e 20 49 66 20 61 20 62 75 74 74 6f 6e 0d 0a can.be.configured..If.a.button..
44a0 20 20 20 20 20 20 20 20 2f 2f 2f 20 68 61 73 20 61 20 76 61 6c 75 65 20 65 71 75 61 6c 20 74 6f ........///.has.a.value.equal.to
44c0 20 6f 72 20 67 72 65 61 74 65 72 20 74 68 61 6e 20 74 68 65 20 62 75 74 74 6f 6e 20 70 72 65 73 .or.greater.than.the.button.pres
44e0 73 20 70 6f 69 6e 74 2c 20 69 74 20 69 73 20 63 6f 6e 73 69 64 65 72 65 64 20 70 72 65 73 73 65 s.point,.it.is.considered.presse
4500 64 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 d...........///..........///.The
4520 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 20 69 73 20 30 2e 35 2e 0d 0a 20 20 20 20 20 20 20 20 .default.value.is.0.5...........
4540 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 4c 6f 77 65 72 69 6e 67 20 74 68 65 20 62 75 ///..........///.Lowering.the.bu
4560 74 74 6f 6e 20 70 72 65 73 73 20 70 6f 69 6e 74 20 77 69 6c 6c 20 6d 61 6b 65 20 74 72 69 67 67 tton.press.point.will.make.trigg
4580 65 72 73 20 66 65 65 6c 20 6d 6f 72 65 20 6c 69 6b 65 20 68 61 69 72 2d 74 72 69 67 67 65 72 73 ers.feel.more.like.hair-triggers
45a0 20 28 61 6b 69 6e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 74 6f 20 75 73 69 6e 67 20 74 68 65 .(akin..........///.to.using.the
45c0 20 68 61 69 72 2d 74 72 69 67 67 65 72 20 66 65 61 74 75 72 65 20 6f 6e 20 58 62 6f 78 20 45 6c .hair-trigger.feature.on.Xbox.El
45e0 69 74 65 20 63 6f 6e 74 72 6f 6c 6c 65 72 73 29 2e 20 48 6f 77 65 76 65 72 2c 20 69 74 20 6d 61 ite.controllers)..However,.it.ma
4600 79 20 6d 61 6b 65 20 75 73 69 6e 67 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 74 68 65 20 64 69 y.make.using..........///.the.di
4620 72 65 63 74 69 6f 6e 61 6c 20 62 75 74 74 6f 6e 73 20 28 69 2e 65 2e 20 3c 73 65 65 20 63 72 65 rectional.buttons.(i.e..<see.cre
4640 66 3d 22 43 6f 6e 74 72 6f 6c 73 2e 53 74 69 63 6b 43 6f 6e 74 72 6f 6c 2e 75 70 22 2f 3e 20 65 f="Controls.StickControl.up"/>.e
4660 74 63 29 20 62 65 20 66 69 63 6b 6c 65 20 61 73 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 73 6f tc).be.fickle.as..........///.so
4680 6c 65 6c 79 20 6d 6f 76 69 6e 67 20 69 6e 20 6f 6e 6c 79 20 6f 6e 65 20 64 69 72 65 63 74 69 6f lely.moving.in.only.one.directio
46a0 6e 20 77 69 74 68 20 73 74 69 63 6b 73 20 69 73 6e 27 74 20 65 61 73 79 2e 20 54 6f 20 63 6f 75 n.with.sticks.isn't.easy..To.cou
46c0 6e 74 65 72 61 63 74 20 74 68 61 74 2c 20 74 68 65 20 62 75 74 74 6f 6e 0d 0a 20 20 20 20 20 20 nteract.that,.the.button........
46e0 20 20 2f 2f 2f 20 70 72 65 73 73 20 70 6f 69 6e 74 73 20 6f 6e 20 74 68 65 20 73 74 69 63 6b 20 ..///.press.points.on.the.stick.
4700 62 75 74 74 6f 6e 73 20 63 61 6e 20 62 65 20 72 61 69 73 65 64 2e 0d 0a 20 20 20 20 20 20 20 20 buttons.can.be.raised...........
4720 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 41 6e 6f 74 68 65 72 20 73 6f 6c 75 74 69 6f ///..........///.Another.solutio
4740 6e 20 69 73 20 74 6f 20 73 69 6d 70 6c 79 20 6c 6f 77 65 72 20 74 68 65 20 70 72 65 73 73 20 70 n.is.to.simply.lower.the.press.p
4760 6f 69 6e 74 73 20 6f 6e 20 74 68 65 20 74 72 69 67 67 65 72 73 20 73 70 65 63 69 66 69 63 61 6c oints.on.the.triggers.specifical
4780 6c 79 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 65 ly...........///..........///.<e
47a0 78 61 6d 70 6c 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 63 6f 64 65 3e 0d 0a 20 20 20 xample>..........///.<code>.....
47c0 20 20 20 20 20 2f 2f 2f 20 49 6e 70 75 74 53 79 73 74 65 6d 2e 52 65 67 69 73 74 65 72 4c 61 79 .....///.InputSystem.RegisterLay
47e0 6f 75 74 4f 76 65 72 72 69 64 65 28 40 22 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 outOverride(@"..........///.....
4800 7b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 20 20 20 20 22 22 6e 61 6d 65 22 22 20 {..........///.........""name"".
4820 3a 20 22 22 48 61 69 72 54 72 69 67 67 65 72 73 22 22 2c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f :.""HairTriggers"",..........///
4840 20 20 20 20 20 20 20 20 20 22 22 65 78 74 65 6e 64 22 22 20 3a 20 22 22 47 61 6d 65 70 61 64 22 .........""extend"".:.""Gamepad"
4860 22 2c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 20 20 20 20 22 22 63 6f 6e 74 72 6f ",..........///.........""contro
4880 6c 73 22 22 20 5b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 20 20 20 20 20 20 20 20 ls"".[..........///.............
48a0 7b 20 22 22 6e 61 6d 65 22 22 20 3a 20 22 22 6c 65 66 74 54 72 69 67 67 65 72 22 22 2c 20 22 22 {.""name"".:.""leftTrigger"",.""
48c0 70 61 72 61 6d 65 74 65 72 73 22 22 20 3a 20 22 22 70 72 65 73 73 50 6f 69 6e 74 3d 30 2e 31 22 parameters"".:.""pressPoint=0.1"
48e0 22 20 7d 2c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 20 ".},..........///.............{.
4900 22 22 6e 61 6d 65 22 22 20 3a 20 22 22 72 69 67 68 74 54 72 69 67 67 65 72 22 22 2c 20 22 22 70 ""name"".:.""rightTrigger"",.""p
4920 61 72 61 6d 65 74 65 72 73 22 22 20 3a 20 22 22 70 72 65 73 73 50 6f 69 6e 74 3d 30 2e 31 22 22 arameters"".:.""pressPoint=0.1""
4940 20 7d 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 20 20 20 20 5d 0d 0a 20 20 20 20 20 .}..........///.........].......
4960 20 20 20 2f 2f 2f 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 22 29 3b 0d 0a 20 ...///.....}..........///.");...
4980 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 63 6f 64 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 .......///.</code>..........///.
49a0 3c 2f 65 78 61 6d 70 6c 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b </example>..........///.</remark
49c0 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 43 s>..........///.<seealso.cref="C
49e0 6f 6e 74 72 6f 6c 73 2e 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 2e 70 72 65 73 73 50 6f 69 6e 74 ontrols.ButtonControl.pressPoint
4a00 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 "/>..........///.<seealso.cref="
4a20 43 6f 6e 74 72 6f 6c 73 2e 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 2e 69 73 50 72 65 73 73 65 64 Controls.ButtonControl.isPressed
4a40 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 "/>..........///.<seealso.cref="
4a60 49 6e 74 65 72 61 63 74 69 6f 6e 73 2e 50 72 65 73 73 49 6e 74 65 72 61 63 74 69 6f 6e 2e 70 72 Interactions.PressInteraction.pr
4a80 65 73 73 50 6f 69 6e 74 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 essPoint"/>..........///.<seeals
4aa0 6f 20 63 72 65 66 3d 22 49 6e 74 65 72 61 63 74 69 6f 6e 73 2e 54 61 70 49 6e 74 65 72 61 63 74 o.cref="Interactions.TapInteract
4ac0 69 6f 6e 2e 70 72 65 73 73 50 6f 69 6e 74 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c ion.pressPoint"/>..........///.<
4ae0 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 49 6e 74 65 72 61 63 74 69 6f 6e 73 2e 53 6c 6f 77 54 seealso.cref="Interactions.SlowT
4b00 61 70 49 6e 74 65 72 61 63 74 69 6f 6e 2e 70 72 65 73 73 50 6f 69 6e 74 22 2f 3e 0d 0a 20 20 20 apInteraction.pressPoint"/>.....
4b20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 49 6e 70 75 74 42 69 6e .....///.<seealso.cref="InputBin
4b40 64 69 6e 67 43 6f 6d 70 6f 73 69 74 65 43 6f 6e 74 65 78 74 2e 52 65 61 64 56 61 6c 75 65 41 73 dingCompositeContext.ReadValueAs
4b60 42 75 74 74 6f 6e 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 66 6c 6f 61 74 20 Button"/>..........public.float.
4b80 64 65 66 61 75 6c 74 42 75 74 74 6f 6e 50 72 65 73 73 50 6f 69 6e 74 0d 0a 20 20 20 20 20 20 20 defaultButtonPressPoint.........
4ba0 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 3d 3e 20 6d 5f 44 65 66 61 75 6c 74 .{..............get.=>.m_Default
4bc0 42 75 74 74 6f 6e 50 72 65 73 73 50 6f 69 6e 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 ButtonPressPoint;..............s
4be0 65 74 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 et..............{...............
4c00 20 20 20 69 66 20 28 6d 5f 44 65 66 61 75 6c 74 42 75 74 74 6f 6e 50 72 65 73 73 50 6f 69 6e 74 ...if.(m_DefaultButtonPressPoint
4c20 20 3d 3d 20 76 61 6c 75 65 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .==.value)......................
4c40 72 65 74 75 72 6e 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 44 65 66 61 75 return;..................m_Defau
4c60 6c 74 42 75 74 74 6f 6e 50 72 65 73 73 50 6f 69 6e 74 20 3d 20 76 61 6c 75 65 3b 0d 0a 20 20 20 ltButtonPressPoint.=.value;.....
4c80 20 20 20 20 20 20 20 20 20 20 20 20 20 4f 6e 43 68 61 6e 67 65 28 29 3b 0d 0a 20 20 20 20 20 20 .............OnChange();........
4ca0 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f ......}..........}............//
4cc0 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 44 65 66 61 75 6c 74 /.<summary>..........///.Default
4ce0 20 74 69 6d 65 20 28 69 6e 20 73 65 63 6f 6e 64 73 29 20 77 69 74 68 69 6e 20 77 68 69 63 68 20 .time.(in.seconds).within.which.
4d00 61 20 70 72 65 73 73 20 61 6e 64 20 72 65 6c 65 61 73 65 20 68 61 73 20 74 6f 20 6f 63 63 75 72 a.press.and.release.has.to.occur
4d20 20 66 6f 72 20 69 74 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 74 6f 20 62 65 20 72 65 67 69 73 .for.it..........///.to.be.regis
4d40 74 65 72 65 64 20 61 73 20 61 20 22 74 61 70 22 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c tered.as.a."tap"...........///.<
4d60 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 44 65 /summary>..........///.<value>De
4d80 66 61 75 6c 74 20 75 70 70 65 72 20 6c 69 6d 69 74 20 6f 6e 20 70 72 65 73 73 20 64 75 72 61 74 fault.upper.limit.on.press.durat
4da0 69 6f 6e 73 20 66 6f 72 20 74 68 65 6d 20 74 6f 20 72 65 67 69 73 74 65 72 20 61 73 20 74 61 70 ions.for.them.to.register.as.tap
4dc0 73 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 72 65 6d 61 72 6b 73 s.</value>..........///.<remarks
4de0 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 41 20 74 61 70 20 69 73 20 63 6f 6e 73 69 64 65 72 >..........///.A.tap.is.consider
4e00 65 64 20 61 73 20 61 20 71 75 69 63 6b 20 70 72 65 73 73 2d 61 6e 64 2d 72 65 6c 65 61 73 65 20 ed.as.a.quick.press-and-release.
4e20 6f 6e 20 61 20 62 75 74 74 6f 6e 2d 6c 69 6b 65 20 69 6e 70 75 74 20 63 6f 6e 74 72 6f 6c 2e 0d on.a.button-like.input.control..
4e40 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 69 73 20 70 72 6f 70 65 72 74 79 20 64 65 74 65 72 .........///.This.property.deter
4e60 6d 69 6e 65 73 20 6a 75 73 74 20 68 6f 77 20 71 75 69 63 6b 20 74 68 65 20 70 72 65 73 73 2d 61 mines.just.how.quick.the.press-a
4e80 6e 64 2d 72 65 6c 65 61 73 65 20 68 61 73 20 74 6f 20 62 65 2c 20 69 2e 65 2e 20 77 68 61 74 0d nd-release.has.to.be,.i.e..what.
4ea0 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 74 68 65 20 6d 61 78 69 6d 75 6d 20 74 69 6d 65 20 69 73 .........///.the.maximum.time.is
4ec0 20 74 68 61 74 20 63 61 6e 20 65 6c 61 70 73 65 20 62 65 74 77 65 65 6e 20 74 68 65 20 62 75 74 .that.can.elapse.between.the.but
4ee0 74 6f 6e 20 62 65 69 6e 67 20 70 72 65 73 73 65 64 20 61 6e 64 20 72 65 6c 65 61 73 65 64 0d 0a ton.being.pressed.and.released..
4f00 20 20 20 20 20 20 20 20 2f 2f 2f 20 61 67 61 69 6e 2e 20 49 66 20 74 68 65 20 64 65 6c 61 79 20 ........///.again..If.the.delay.
4f20 62 65 74 77 65 65 6e 20 70 72 65 73 73 20 61 6e 64 20 72 65 6c 65 61 73 65 20 69 73 20 67 72 65 between.press.and.release.is.gre
4f40 61 74 65 72 20 74 68 61 6e 20 74 68 69 73 20 74 69 6d 65 2c 20 74 68 65 0d 0a 20 20 20 20 20 20 ater.than.this.time,.the........
4f60 20 20 2f 2f 2f 20 69 6e 70 75 74 20 64 6f 65 73 20 6e 6f 74 20 71 75 61 6c 69 66 79 20 61 73 20 ..///.input.does.not.qualify.as.
4f80 61 20 74 61 70 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f a.tap...........///..........///
4fa0 20 54 68 65 20 64 65 66 61 75 6c 74 20 74 61 70 20 74 69 6d 65 20 69 73 20 30 2e 32 20 73 65 63 .The.default.tap.time.is.0.2.sec
4fc0 6f 6e 64 73 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b 73 3e 0d 0a 20 onds...........///.</remarks>...
4fe0 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 54 61 70 49 6e 74 .......///.<seealso.cref="TapInt
5000 65 72 61 63 74 69 6f 6e 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 66 6c 6f 61 eraction"/>..........public.floa
5020 74 20 64 65 66 61 75 6c 74 54 61 70 54 69 6d 65 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 t.defaultTapTime..........{.....
5040 20 20 20 20 20 20 20 20 20 67 65 74 20 3d 3e 20 6d 5f 44 65 66 61 75 6c 74 54 61 70 54 69 6d 65 .........get.=>.m_DefaultTapTime
5060 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 74 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ;..............set..............
5080 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 44 65 66 61 75 6c 74 {..................if.(m_Default
50a0 54 61 70 54 69 6d 65 20 3d 3d 20 76 61 6c 75 65 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 TapTime.==.value)...............
50c0 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .......return;..................
50e0 6d 5f 44 65 66 61 75 6c 74 54 61 70 54 69 6d 65 20 3d 20 76 61 6c 75 65 3b 0d 0a 20 20 20 20 20 m_DefaultTapTime.=.value;.......
5100 20 20 20 20 20 20 20 20 20 20 20 4f 6e 43 68 61 6e 67 65 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 ...........OnChange();..........
5120 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c ....}..........}............publ
5140 69 63 20 66 6c 6f 61 74 20 64 65 66 61 75 6c 74 53 6c 6f 77 54 61 70 54 69 6d 65 0d 0a 20 20 20 ic.float.defaultSlowTapTime.....
5160 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 3d 3e 20 6d 5f 44 65 66 .....{..............get.=>.m_Def
5180 61 75 6c 74 53 6c 6f 77 54 61 70 54 69 6d 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 aultSlowTapTime;..............se
51a0 74 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 t..............{................
51c0 20 20 69 66 20 28 6d 5f 44 65 66 61 75 6c 74 53 6c 6f 77 54 61 70 54 69 6d 65 20 3d 3d 20 76 61 ..if.(m_DefaultSlowTapTime.==.va
51e0 6c 75 65 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e lue)......................return
5200 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 44 65 66 61 75 6c 74 53 6c 6f 77 ;..................m_DefaultSlow
5220 54 61 70 54 69 6d 65 20 3d 20 76 61 6c 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 TapTime.=.value;................
5240 20 20 4f 6e 43 68 61 6e 67 65 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 ..OnChange();..............}....
5260 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 66 6c 6f 61 74 20 ......}............public.float.
5280 64 65 66 61 75 6c 74 48 6f 6c 64 54 69 6d 65 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 defaultHoldTime..........{......
52a0 20 20 20 20 20 20 20 20 67 65 74 20 3d 3e 20 6d 5f 44 65 66 61 75 6c 74 48 6f 6c 64 54 69 6d 65 ........get.=>.m_DefaultHoldTime
52c0 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 74 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ;..............set..............
52e0 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 44 65 66 61 75 6c 74 {..................if.(m_Default
5300 48 6f 6c 64 54 69 6d 65 20 3d 3d 20 76 61 6c 75 65 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 HoldTime.==.value)..............
5320 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ........return;.................
5340 20 6d 5f 44 65 66 61 75 6c 74 48 6f 6c 64 54 69 6d 65 20 3d 20 76 61 6c 75 65 3b 0d 0a 20 20 20 .m_DefaultHoldTime.=.value;.....
5360 20 20 20 20 20 20 20 20 20 20 20 20 20 4f 6e 43 68 61 6e 67 65 28 29 3b 0d 0a 20 20 20 20 20 20 .............OnChange();........
5380 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 ......}..........}............pu
53a0 62 6c 69 63 20 66 6c 6f 61 74 20 74 61 70 52 61 64 69 75 73 0d 0a 20 20 20 20 20 20 20 20 7b 0d blic.float.tapRadius..........{.
53c0 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 3d 3e 20 6d 5f 54 61 70 52 61 64 69 75 73 3b .............get.=>.m_TapRadius;
53e0 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 74 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b ..............set..............{
5400 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 54 61 70 52 61 64 69 75 ..................if.(m_TapRadiu
5420 73 20 3d 3d 20 76 61 6c 75 65 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 s.==.value).....................
5440 20 72 65 74 75 72 6e 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 54 61 70 52 .return;..................m_TapR
5460 61 64 69 75 73 20 3d 20 76 61 6c 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 adius.=.value;..................
5480 4f 6e 43 68 61 6e 67 65 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 OnChange();..............}......
54a0 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 66 6c 6f 61 74 20 6d 75 ....}............public.float.mu
54c0 6c 74 69 54 61 70 44 65 6c 61 79 54 69 6d 65 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 ltiTapDelayTime..........{......
54e0 20 20 20 20 20 20 20 20 67 65 74 20 3d 3e 20 6d 5f 4d 75 6c 74 69 54 61 70 44 65 6c 61 79 54 69 ........get.=>.m_MultiTapDelayTi
5500 6d 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 74 0d 0a 20 20 20 20 20 20 20 20 20 20 me;..............set............
5520 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 4d 75 6c 74 69 ..{..................if.(m_Multi
5540 54 61 70 44 65 6c 61 79 54 69 6d 65 20 3d 3d 20 76 61 6c 75 65 29 0d 0a 20 20 20 20 20 20 20 20 TapDelayTime.==.value)..........
5560 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ............return;.............
5580 20 20 20 20 20 6d 5f 4d 75 6c 74 69 54 61 70 44 65 6c 61 79 54 69 6d 65 20 3d 20 76 61 6c 75 65 .....m_MultiTapDelayTime.=.value
55a0 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4f 6e 43 68 61 6e 67 65 28 29 3b 0d 0a ;..................OnChange();..
55c0 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 ............}..........}........
55e0 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 4c ....///.<summary>..........///.L
5600 69 73 74 20 6f 66 20 64 65 76 69 63 65 20 6c 61 79 6f 75 74 73 20 75 73 65 64 20 62 79 20 74 68 ist.of.device.layouts.used.by.th
5620 65 20 70 72 6f 6a 65 63 74 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 e.project...........///.</summar
5640 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 20 y>..........///.<remarks>.......
5660 20 20 20 2f 2f 2f 20 54 68 69 73 20 77 6f 75 6c 64 20 75 73 75 61 6c 6c 79 20 62 65 20 6f 6e 65 ...///.This.would.usually.be.one
5680 20 6f 66 20 74 68 65 20 68 69 67 68 2d 6c 65 76 65 6c 20 61 62 73 74 72 61 63 74 20 64 65 76 69 .of.the.high-level.abstract.devi
56a0 63 65 20 6c 61 79 6f 75 74 73 2e 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 66 6f 72 0d 0a 20 20 ce.layouts..For.example,.for....
56c0 20 20 20 20 20 20 2f 2f 2f 20 61 20 67 61 6d 65 20 74 68 61 74 20 73 75 70 70 6f 72 74 73 20 74 ......///.a.game.that.supports.t
56e0 6f 75 63 68 2c 20 67 61 6d 65 70 61 64 2c 20 61 6e 64 20 6b 65 79 62 6f 61 72 64 26 61 6d 70 3b ouch,.gamepad,.and.keyboard&amp;
5700 6d 6f 75 73 65 2c 20 74 68 65 20 6c 69 73 74 20 77 6f 75 6c 64 20 62 65 0d 0a 20 20 20 20 20 20 mouse,.the.list.would.be........
5720 20 20 2f 2f 2f 20 3c 63 3e 7b 20 22 54 6f 75 63 68 73 63 72 65 65 6e 22 2c 20 22 47 61 6d 65 70 ..///.<c>{."Touchscreen",."Gamep
5740 61 64 22 2c 20 22 4d 6f 75 73 65 22 2c 20 22 4b 65 79 62 6f 61 72 64 22 20 7d 3c 2f 63 3e 2e 20 ad",."Mouse",."Keyboard".}</c>..
5760 48 6f 77 65 76 65 72 2c 20 6e 6f 74 68 69 6e 67 20 70 72 65 76 65 6e 74 73 20 74 68 65 0d 0a 20 However,.nothing.prevents.the...
5780 20 20 20 20 20 20 20 2f 2f 2f 20 74 68 65 20 75 73 65 72 20 66 72 6f 6d 20 61 64 64 69 6e 67 20 .......///.the.user.from.adding.
57a0 73 6f 6d 65 74 68 69 6e 67 20 61 20 6c 6f 74 20 6d 6f 72 65 20 73 70 65 63 69 66 69 63 2e 20 41 something.a.lot.more.specific..A
57c0 20 67 61 6d 65 20 74 68 61 74 20 63 61 6e 20 6f 6e 6c 79 20 62 65 20 70 6c 61 79 65 64 0d 0a 20 .game.that.can.only.be.played...
57e0 20 20 20 20 20 20 20 2f 2f 2f 20 77 69 74 68 20 61 20 44 75 61 6c 53 68 6f 63 6b 20 63 6f 6e 74 .......///.with.a.DualShock.cont
5800 72 6f 6c 6c 65 72 20 63 6f 75 6c 64 20 6d 61 6b 65 20 74 68 69 73 20 6c 69 73 74 20 6a 75 73 74 roller.could.make.this.list.just
5820 20 62 65 20 3c 63 3e 7b 20 22 44 75 61 6c 53 68 6f 63 6b 47 61 6d 65 70 61 64 22 20 7d 3c 2f 63 .be.<c>{."DualShockGamepad".}</c
5840 3e 2c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 66 6f 72 20 65 78 61 6d 70 6c 65 2e 0d 0a 20 20 >,..........///.for.example.....
5860 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 49 6e 20 74 68 65 20 65 64 ......///..........///.In.the.ed
5880 69 74 6f 72 2c 20 77 65 20 75 73 65 20 74 68 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 74 6f 20 itor,.we.use.the.information.to.
58a0 66 69 6c 74 65 72 20 77 68 61 74 20 77 65 20 64 69 73 70 6c 61 79 20 74 6f 20 74 68 65 20 75 73 filter.what.we.display.to.the.us
58c0 65 72 20 62 79 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f er.by.automatically..........///
58e0 20 66 69 6c 74 65 72 69 6e 67 20 6f 75 74 20 69 72 72 65 6c 65 76 61 6e 74 20 63 6f 6e 74 72 6f .filtering.out.irrelevant.contro
5900 6c 73 20 69 6e 20 74 68 65 20 63 6f 6e 74 72 6f 6c 20 70 69 63 6b 65 72 20 61 6e 64 20 73 75 63 ls.in.the.control.picker.and.suc
5920 68 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 h...........///..........///.The
5940 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 69 73 20 61 6c 73 6f 20 75 73 65 64 20 77 68 65 6e 20 61 .information.is.also.used.when.a
5960 20 6e 65 77 20 64 65 76 69 63 65 20 69 73 20 64 69 73 63 6f 76 65 72 65 64 2e 20 49 66 20 74 68 .new.device.is.discovered..If.th
5980 65 20 64 65 76 69 63 65 20 69 73 20 6e 6f 74 20 6c 69 73 74 65 64 0d 0a 20 20 20 20 20 20 20 20 e.device.is.not.listed..........
59a0 2f 2f 2f 20 61 73 20 73 75 70 70 6f 72 74 65 64 20 62 79 20 74 68 65 20 70 72 6f 6a 65 63 74 2c ///.as.supported.by.the.project,
59c0 20 69 74 20 69 73 20 69 67 6e 6f 72 65 64 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 .it.is.ignored...........///....
59e0 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 6c 69 73 74 20 69 73 20 65 6d 70 74 79 20 62 79 20 64 ......///.The.list.is.empty.by.d
5a00 65 66 61 75 6c 74 2e 20 41 6e 20 65 6d 70 74 79 20 6c 69 73 74 20 69 6e 64 69 63 61 74 65 73 20 efault..An.empty.list.indicates.
5a20 74 68 61 74 20 6e 6f 20 72 65 73 74 72 69 63 74 69 6f 6e 73 20 61 72 65 20 70 6c 61 63 65 64 20 that.no.restrictions.are.placed.
5a40 6f 6e 20 77 68 61 74 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 64 65 76 69 63 65 73 20 61 72 65 on.what..........///.devices.are
5a60 20 73 75 70 70 6f 72 74 65 64 2e 20 49 6e 20 74 68 69 73 20 65 64 69 74 6f 72 2c 20 74 68 69 73 .supported..In.this.editor,.this
5a80 20 6d 65 61 6e 73 20 74 68 61 74 20 61 6c 6c 20 70 6f 73 73 69 62 6c 65 20 64 65 76 69 63 65 73 .means.that.all.possible.devices
5aa0 20 61 6e 64 20 63 6f 6e 74 72 6f 6c 73 20 61 72 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 73 .and.controls.are..........///.s
5ac0 68 6f 77 6e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b 73 3e 0d 0a 20 hown...........///.</remarks>...
5ae0 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 49 6e 70 75 74 43 .......///.<seealso.cref="InputC
5b00 6f 6e 74 72 6f 6c 4c 61 79 6f 75 74 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 ontrolLayout"/>..........public.
5b20 52 65 61 64 4f 6e 6c 79 41 72 72 61 79 3c 73 74 72 69 6e 67 3e 20 73 75 70 70 6f 72 74 65 64 44 ReadOnlyArray<string>.supportedD
5b40 65 76 69 63 65 73 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 evices..........{..............g
5b60 65 74 20 3d 3e 20 6e 65 77 20 52 65 61 64 4f 6e 6c 79 41 72 72 61 79 3c 73 74 72 69 6e 67 3e 28 et.=>.new.ReadOnlyArray<string>(
5b80 6d 5f 53 75 70 70 6f 72 74 65 64 44 65 76 69 63 65 73 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 m_SupportedDevices);............
5ba0 20 20 73 65 74 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 ..set..............{............
5bc0 20 20 20 20 20 20 2f 2f 20 44 65 74 65 63 74 20 69 66 20 74 68 65 72 65 20 77 61 73 20 61 20 63 ......//.Detect.if.there.was.a.c
5be0 68 61 6e 67 65 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 75 70 70 hange...................if.(supp
5c00 6f 72 74 65 64 44 65 76 69 63 65 73 2e 43 6f 75 6e 74 20 3d 3d 20 76 61 6c 75 65 2e 43 6f 75 6e ortedDevices.Count.==.value.Coun
5c20 74 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 t)..................{...........
5c40 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 68 61 73 43 68 61 6e 67 65 64 20 3d 20 66 61 6c 73 ...........var.hasChanged.=.fals
5c60 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 e;......................for.(var
5c80 20 69 20 3d 20 30 3b 20 69 20 3c 20 73 75 70 70 6f 72 74 65 64 44 65 76 69 63 65 73 2e 43 6f 75 .i.=.0;.i.<.supportedDevices.Cou
5ca0 6e 74 3b 20 2b 2b 69 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 nt;.++i)........................
5cc0 20 20 69 66 20 28 6d 5f 53 75 70 70 6f 72 74 65 64 44 65 76 69 63 65 73 5b 69 5d 20 21 3d 20 76 ..if.(m_SupportedDevices[i].!=.v
5ce0 61 6c 75 65 5b 69 5d 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 alue[i])........................
5d00 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..{.............................
5d20 20 68 61 73 43 68 61 6e 67 65 64 20 3d 20 74 72 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 .hasChanged.=.true;.............
5d40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0d 0a 20 20 20 20 20 20 20 .................break;.........
5d60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 .................}..............
5d80 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 68 61 73 43 68 61 6e 67 65 64 29 0d 0a 20 20 20 20 ..........if.(!hasChanged)......
5da0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0d 0a 20 20 20 ....................return;.....
5dc0 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .............}..................
5de0 20 20 6d 5f 53 75 70 70 6f 72 74 65 64 44 65 76 69 63 65 73 20 3d 20 76 61 6c 75 65 2e 54 6f 41 ..m_SupportedDevices.=.value.ToA
5e00 72 72 61 79 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4f 6e 43 68 61 6e 67 rray();..................OnChang
5e20 65 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a e();..............}..........}..
5e40 0d 0a 20 20 20 20 20 20 20 20 5b 54 6f 6f 6c 74 69 70 28 22 44 65 74 65 72 6d 69 6e 65 20 77 68 ..........[Tooltip("Determine.wh
5e60 69 63 68 20 74 79 70 65 20 6f 66 20 64 65 76 69 63 65 73 20 61 72 65 20 75 73 65 64 20 62 79 20 ich.type.of.devices.are.used.by.
5e80 74 68 65 20 61 70 70 6c 69 63 61 74 69 6f 6e 2e 20 42 79 20 64 65 66 61 75 6c 74 2c 20 74 68 69 the.application..By.default,.thi
5ea0 73 20 69 73 20 65 6d 70 74 79 20 6d 65 61 6e 69 6e 67 20 74 68 61 74 20 61 6c 6c 20 64 65 76 69 s.is.empty.meaning.that.all.devi
5ec0 63 65 73 20 72 65 63 6f 67 6e 69 7a 65 64 20 22 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2b 20 ces.recognized."..............+.
5ee0 22 62 79 20 55 6e 69 74 79 20 77 69 6c 6c 20 62 65 20 75 73 65 64 2e 20 52 65 73 74 72 69 63 74 "by.Unity.will.be.used..Restrict
5f00 69 6e 67 20 74 68 65 20 73 65 74 20 6f 66 20 73 75 70 70 6f 72 74 65 64 20 64 65 76 69 63 65 73 ing.the.set.of.supported.devices
5f20 20 77 69 6c 6c 20 6d 61 6b 65 20 6f 6e 6c 79 20 74 68 6f 73 65 20 64 65 76 69 63 65 73 20 61 70 .will.make.only.those.devices.ap
5f40 70 65 61 72 20 69 6e 20 74 68 65 20 69 6e 70 75 74 20 73 79 73 74 65 6d 2e 22 29 5d 0d 0a 20 20 pear.in.the.input.system.")]....
5f60 20 20 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 20 70 72 69 76 61 74 65 20 73 ......[SerializeField].private.s
5f80 74 72 69 6e 67 5b 5d 20 6d 5f 53 75 70 70 6f 72 74 65 64 44 65 76 69 63 65 73 3b 0d 0a 20 20 20 tring[].m_SupportedDevices;.....
5fa0 20 20 20 20 20 5b 54 6f 6f 6c 74 69 70 28 22 44 65 74 65 72 6d 69 6e 65 20 77 68 65 6e 20 55 6e .....[Tooltip("Determine.when.Un
5fc0 69 74 79 20 70 72 6f 63 65 73 73 65 73 20 65 76 65 6e 74 73 2e 20 42 79 20 64 65 66 61 75 6c 74 ity.processes.events..By.default
5fe0 2c 20 61 63 63 75 6d 75 6c 61 74 65 64 20 69 6e 70 75 74 20 65 76 65 6e 74 73 20 61 72 65 20 66 ,.accumulated.input.events.are.f
6000 6c 75 73 68 65 64 20 6f 75 74 20 62 65 66 6f 72 65 20 65 61 63 68 20 66 69 78 65 64 20 75 70 64 lushed.out.before.each.fixed.upd
6020 61 74 65 20 61 6e 64 20 22 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2b 20 22 62 65 66 6f 72 65 ate.and."..............+."before
6040 20 65 61 63 68 20 64 79 6e 61 6d 69 63 20 75 70 64 61 74 65 2e 20 54 68 69 73 20 73 65 74 74 69 .each.dynamic.update..This.setti
6060 6e 67 20 63 61 6e 20 62 65 20 75 73 65 64 20 74 6f 20 72 65 73 74 72 69 63 74 20 65 76 65 6e 74 ng.can.be.used.to.restrict.event
6080 20 70 72 6f 63 65 73 73 69 6e 67 20 74 6f 20 6f 6e 6c 79 20 77 68 65 72 65 20 74 68 65 20 61 70 .processing.to.only.where.the.ap
60a0 70 6c 69 63 61 74 69 6f 6e 20 6e 65 65 64 73 20 69 74 2e 22 29 5d 0d 0a 20 20 20 20 20 20 20 20 plication.needs.it.")]..........
60c0 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 20 70 72 69 76 61 74 65 20 55 70 64 61 74 65 4d [SerializeField].private.UpdateM
60e0 6f 64 65 20 6d 5f 55 70 64 61 74 65 4d 6f 64 65 20 3d 20 55 70 64 61 74 65 4d 6f 64 65 2e 50 72 ode.m_UpdateMode.=.UpdateMode.Pr
6100 6f 63 65 73 73 45 76 65 6e 74 73 49 6e 44 79 6e 61 6d 69 63 55 70 64 61 74 65 3b 0d 0a 0d 0a 20 ocessEventsInDynamicUpdate;.....
6120 20 20 20 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 20 70 72 69 76 61 74 65 20 .......[SerializeField].private.
6140 62 6f 6f 6c 20 6d 5f 43 6f 6d 70 65 6e 73 61 74 65 46 6f 72 53 63 72 65 65 6e 4f 72 69 65 6e 74 bool.m_CompensateForScreenOrient
6160 61 74 69 6f 6e 20 3d 20 74 72 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 5b 53 65 72 69 61 6c 69 7a ation.=.true;..........[Serializ
6180 65 46 69 65 6c 64 5d 20 70 72 69 76 61 74 65 20 62 6f 6f 6c 20 6d 5f 46 69 6c 74 65 72 4e 6f 69 eField].private.bool.m_FilterNoi
61a0 73 65 4f 6e 43 75 72 72 65 6e 74 20 3d 20 66 61 6c 73 65 3b 0d 0a 20 20 20 20 20 20 20 20 5b 53 seOnCurrent.=.false;..........[S
61c0 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 20 70 72 69 76 61 74 65 20 66 6c 6f 61 74 20 6d 5f 44 erializeField].private.float.m_D
61e0 65 66 61 75 6c 74 44 65 61 64 7a 6f 6e 65 4d 69 6e 20 3d 20 30 2e 31 32 35 66 3b 0d 0a 20 20 20 efaultDeadzoneMin.=.0.125f;.....
6200 20 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 20 70 72 69 76 61 74 65 20 66 6c .....[SerializeField].private.fl
6220 6f 61 74 20 6d 5f 44 65 66 61 75 6c 74 44 65 61 64 7a 6f 6e 65 4d 61 78 20 3d 20 30 2e 39 32 35 oat.m_DefaultDeadzoneMax.=.0.925
6240 66 3b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 20 41 20 73 65 74 74 69 6e 67 20 6f 66 20 30 2e 35 20 f;..........//.A.setting.of.0.5.
6260 73 65 65 6d 73 20 74 6f 20 72 6f 75 67 68 6c 79 20 62 65 20 77 68 61 74 20 67 61 6d 65 73 20 67 seems.to.roughly.be.what.games.g
6280 65 6e 65 72 61 6c 6c 79 20 75 73 65 20 6f 6e 20 74 68 65 20 67 61 6d 65 70 61 64 20 74 72 69 67 enerally.use.on.the.gamepad.trig
62a0 67 65 72 73 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 20 48 61 76 69 6e 67 20 61 20 68 69 67 68 65 gers...........//.Having.a.highe
62c0 72 20 76 61 6c 75 65 20 68 65 72 65 20 61 6c 73 6f 20 6f 62 73 6f 6c 65 74 65 73 20 74 68 65 20 r.value.here.also.obsoletes.the.
62e0 6e 65 65 64 20 66 6f 72 20 63 75 73 74 6f 6d 20 70 72 65 73 73 20 70 6f 69 6e 74 73 20 6f 6e 20 need.for.custom.press.points.on.
6300 73 74 69 63 6b 20 62 75 74 74 6f 6e 73 0d 0a 20 20 20 20 20 20 20 20 2f 2f 20 28 74 68 65 20 75 stick.buttons..........//.(the.u
6320 70 2f 64 6f 77 6e 2f 6c 65 66 74 2f 72 69 67 68 74 20 6f 6e 65 73 29 2e 0d 0a 20 20 20 20 20 20 p/down/left/right.ones).........
6340 20 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 20 70 72 69 76 61 74 65 20 66 6c 6f 61 74 ..[SerializeField].private.float
6360 20 6d 5f 44 65 66 61 75 6c 74 42 75 74 74 6f 6e 50 72 65 73 73 50 6f 69 6e 74 20 3d 20 30 2e 35 .m_DefaultButtonPressPoint.=.0.5
6380 66 3b 0d 0a 20 20 20 20 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 20 70 72 69 f;..........[SerializeField].pri
63a0 76 61 74 65 20 66 6c 6f 61 74 20 6d 5f 44 65 66 61 75 6c 74 54 61 70 54 69 6d 65 20 3d 20 30 2e vate.float.m_DefaultTapTime.=.0.
63c0 32 66 3b 0d 0a 20 20 20 20 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 20 70 72 2f;..........[SerializeField].pr
63e0 69 76 61 74 65 20 66 6c 6f 61 74 20 6d 5f 44 65 66 61 75 6c 74 53 6c 6f 77 54 61 70 54 69 6d 65 ivate.float.m_DefaultSlowTapTime
6400 20 3d 20 30 2e 35 66 3b 0d 0a 20 20 20 20 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c .=.0.5f;..........[SerializeFiel
6420 64 5d 20 70 72 69 76 61 74 65 20 66 6c 6f 61 74 20 6d 5f 44 65 66 61 75 6c 74 48 6f 6c 64 54 69 d].private.float.m_DefaultHoldTi
6440 6d 65 20 3d 20 30 2e 34 66 3b 0d 0a 20 20 20 20 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 me.=.0.4f;..........[SerializeFi
6460 65 6c 64 5d 20 70 72 69 76 61 74 65 20 66 6c 6f 61 74 20 6d 5f 54 61 70 52 61 64 69 75 73 20 3d eld].private.float.m_TapRadius.=
6480 20 35 3b 0d 0a 20 20 20 20 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 20 70 72 .5;..........[SerializeField].pr
64a0 69 76 61 74 65 20 66 6c 6f 61 74 20 6d 5f 4d 75 6c 74 69 54 61 70 44 65 6c 61 79 54 69 6d 65 20 ivate.float.m_MultiTapDelayTime.
64c0 3d 20 30 2e 37 35 66 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 76 6f 69 =.0.75f;............internal.voi
64e0 64 20 4f 6e 43 68 61 6e 67 65 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 d.OnChange()..........{.........
6500 20 20 20 20 20 69 66 20 28 49 6e 70 75 74 53 79 73 74 65 6d 2e 73 65 74 74 69 6e 67 73 20 3d 3d .....if.(InputSystem.settings.==
6520 20 74 68 69 73 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 49 6e 70 75 74 53 79 73 .this)..................InputSys
6540 74 65 6d 2e 73 5f 4d 61 6e 61 67 65 72 2e 41 70 70 6c 79 53 65 74 74 69 6e 67 73 28 29 3b 0d 0a tem.s_Manager.ApplySettings();..
6560 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 63 6f ........}............internal.co
6580 6e 73 74 20 69 6e 74 20 73 5f 4f 6c 64 55 6e 73 75 70 70 6f 72 74 65 64 46 69 78 65 64 41 6e 64 nst.int.s_OldUnsupportedFixedAnd
65a0 44 79 6e 61 6d 69 63 55 70 64 61 74 65 53 65 74 74 69 6e 67 20 3d 20 30 3b 0d 0a 0d 0a 20 20 20 DynamicUpdateSetting.=.0;.......
65c0 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 .....///.<summary>..........///.
65e0 48 6f 77 20 74 68 65 20 69 6e 70 75 74 20 73 79 73 74 65 6d 20 73 68 6f 75 6c 64 20 75 70 64 61 How.the.input.system.should.upda
6600 74 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 te...........///.</summary>.....
6620 20 20 20 20 20 2f 2f 2f 20 3c 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 .....///.<remarks>..........///.
6640 42 79 20 64 65 66 61 75 6c 74 2c 20 74 68 65 20 69 6e 70 75 74 20 73 79 73 74 65 6d 20 77 69 6c By.default,.the.input.system.wil
6660 6c 20 72 75 6e 20 65 76 65 6e 74 20 70 72 6f 63 65 73 73 69 6e 67 20 61 73 20 70 61 72 74 20 6f l.run.event.processing.as.part.o
6680 66 20 74 68 65 20 70 6c 61 79 65 72 20 6c 6f 6f 70 2e 20 49 6e 20 74 68 65 20 64 65 66 61 75 6c f.the.player.loop..In.the.defaul
66a0 74 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 74 68 t.configuration,..........///.th
66c0 65 20 70 72 6f 63 65 73 73 69 6e 67 20 77 69 6c 6c 20 68 61 70 70 65 6e 73 20 6f 6e 63 65 20 62 e.processing.will.happens.once.b
66e0 65 66 6f 72 65 20 65 76 65 72 79 20 65 76 65 72 79 20 64 79 6e 61 6d 69 63 20 75 70 64 61 74 65 efore.every.every.dynamic.update
6700 20 28 3c 73 65 65 20 63 72 65 66 3d 22 55 70 64 61 74 65 22 2f 3e 29 2c 20 69 2e 65 2e 20 3c 73 .(<see.cref="Update"/>),.i.e..<s
6720 65 65 20 63 72 65 66 3d 22 50 72 6f 63 65 73 73 45 76 65 6e 74 73 49 6e 44 79 6e 61 6d 69 63 55 ee.cref="ProcessEventsInDynamicU
6740 70 64 61 74 65 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 69 73 20 74 68 65 20 64 65 66 pdate"/>..........///.is.the.def
6760 61 75 6c 74 20 62 65 68 61 76 69 6f 72 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 ault.behavior...........///.....
6780 20 20 20 20 20 2f 2f 2f 20 54 68 65 72 65 20 61 72 65 20 74 77 6f 20 74 79 70 65 73 20 6f 66 20 .....///.There.are.two.types.of.
67a0 75 70 64 61 74 65 73 20 6e 6f 74 20 67 6f 76 65 72 6e 65 64 20 62 79 20 55 70 64 61 74 65 4d 6f updates.not.governed.by.UpdateMo
67c0 64 65 2e 20 4f 6e 65 20 69 73 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 55 70 64 61 74 de..One.is.<see.cref="InputUpdat
67e0 65 54 79 70 65 2e 45 64 69 74 6f 72 22 2f 3e 20 77 68 69 63 68 0d 0a 20 20 20 20 20 20 20 20 2f eType.Editor"/>.which........../
6800 2f 2f 20 77 69 6c 6c 20 61 6c 77 61 79 73 20 62 65 20 65 6e 61 62 6c 65 64 20 69 6e 20 74 68 65 //.will.always.be.enabled.in.the
6820 20 65 64 69 74 6f 72 20 61 6e 64 20 67 6f 76 65 72 6e 20 69 6e 70 75 74 20 75 70 64 61 74 65 73 .editor.and.govern.input.updates
6840 20 66 6f 72 20 3c 73 65 65 20 63 72 65 66 3d 22 55 6e 69 74 79 45 64 69 74 6f 72 2e 45 64 69 74 .for.<see.cref="UnityEditor.Edit
6860 6f 72 57 69 6e 64 6f 77 22 2f 3e 73 20 69 6e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 73 79 6e orWindow"/>s.in..........///.syn
6880 63 20 74 6f 20 3c 73 65 65 20 63 72 65 66 3d 22 55 6e 69 74 79 45 64 69 74 6f 72 2e 45 64 69 74 c.to.<see.cref="UnityEditor.Edit
68a0 6f 72 41 70 70 6c 69 63 61 74 69 6f 6e 2e 75 70 64 61 74 65 22 2f 3e 2e 0d 0a 20 20 20 20 20 20 orApplication.update"/>.........
68c0 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 6f 74 68 65 72 20 75 70 64 ..///..........///.The.other.upd
68e0 61 74 65 20 74 79 70 65 20 69 73 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 55 70 64 61 ate.type.is.<see.cref="InputUpda
6900 74 65 54 79 70 65 2e 42 65 66 6f 72 65 52 65 6e 64 65 72 22 2f 3e 2e 20 54 68 69 73 20 74 79 70 teType.BeforeRender"/>..This.typ
6920 65 20 6f 66 20 75 70 64 61 74 65 20 69 73 20 65 6e 61 62 6c 65 64 20 61 6e 64 20 64 69 73 61 62 e.of.update.is.enabled.and.disab
6940 6c 65 64 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 69 led..........///.automatically.i
6960 6e 20 72 65 73 70 6f 6e 73 65 20 74 6f 20 77 68 65 74 68 65 72 20 64 65 76 69 63 65 73 20 61 72 n.response.to.whether.devices.ar
6980 65 20 70 72 65 73 65 6e 74 20 72 65 71 75 69 72 69 6e 67 20 74 68 69 73 20 74 79 70 65 20 6f 66 e.present.requiring.this.type.of
69a0 20 75 70 64 61 74 65 20 28 3c 73 65 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 63 72 65 66 3d .update.(<see..........///.cref=
69c0 22 49 6e 70 75 74 44 65 76 69 63 65 2e 75 70 64 61 74 65 42 65 66 6f 72 65 52 65 6e 64 65 72 22 "InputDevice.updateBeforeRender"
69e0 2f 3e 29 2e 20 54 68 69 73 20 75 70 64 61 74 65 20 64 6f 65 73 20 6e 6f 74 20 63 6f 6e 73 75 6d />)..This.update.does.not.consum
6a00 65 20 65 78 74 72 61 20 73 74 61 74 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 e.extra.state...........///.</re
6a20 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 marks>..........///.<seealso.cre
6a40 66 3d 22 49 6e 70 75 74 53 79 73 74 65 6d 2e 55 70 64 61 74 65 22 2f 3e 0d 0a 20 20 20 20 20 20 f="InputSystem.Update"/>........
6a60 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 49 6e 70 75 74 55 70 64 61 74 65 ..///.<seealso.cref="InputUpdate
6a80 54 79 70 65 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 Type"/>..........///.<seealso.cr
6aa0 65 66 3d 22 4d 6f 6e 6f 42 65 68 61 76 69 6f 75 72 2e 46 69 78 65 64 55 70 64 61 74 65 22 2f 3e ef="MonoBehaviour.FixedUpdate"/>
6ac0 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 4d 6f 6e ..........///.<seealso.cref="Mon
6ae0 6f 42 65 68 61 76 69 6f 75 72 2e 55 70 64 61 74 65 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 oBehaviour.Update"/>..........pu
6b00 62 6c 69 63 20 65 6e 75 6d 20 55 70 64 61 74 65 4d 6f 64 65 0d 0a 20 20 20 20 20 20 20 20 7b 0d blic.enum.UpdateMode..........{.
6b20 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 52 65 6d 6f 76 65 64 3a 20 50 72 6f 63 65 73 73 .............//.Removed:.Process
6b40 45 76 65 6e 74 73 49 6e 42 6f 74 68 46 69 78 65 64 41 6e 64 44 79 6e 61 6d 69 63 55 70 64 61 74 EventsInBothFixedAndDynamicUpdat
6b60 65 3d 30 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e e=0................///.<summary>
6b80 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 41 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 ..............///.Automatically.
6ba0 72 75 6e 20 69 6e 70 75 74 20 75 70 64 61 74 65 73 20 72 69 67 68 74 20 62 65 66 6f 72 65 20 65 run.input.updates.right.before.e
6bc0 76 65 72 79 20 3c 73 65 65 20 63 72 65 66 3d 22 4d 6f 6e 6f 42 65 68 61 76 69 6f 75 72 2e 55 70 very.<see.cref="MonoBehaviour.Up
6be0 64 61 74 65 22 2f 3e 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d date"/>...............///.</summ
6c00 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 72 65 6d 61 72 6b 73 3e 0d ary>..............///.<remarks>.
6c20 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 49 6e 20 74 68 69 73 20 6d 6f 64 65 2c 20 6e .............///.In.this.mode,.n
6c40 6f 20 70 72 6f 63 65 73 73 69 6e 67 20 68 61 70 70 65 6e 73 20 73 70 65 63 69 66 69 63 61 6c 6c o.processing.happens.specificall
6c60 79 20 66 6f 72 20 66 69 78 65 64 20 75 70 64 61 74 65 73 2e 20 51 75 65 72 79 69 6e 67 20 69 6e y.for.fixed.updates..Querying.in
6c80 70 75 74 20 73 74 61 74 65 20 69 6e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 put.state.in..............///.<s
6ca0 65 65 20 63 72 65 66 3d 22 4d 6f 6e 6f 42 65 68 61 76 69 6f 75 72 2e 46 69 78 65 64 55 70 64 61 ee.cref="MonoBehaviour.FixedUpda
6cc0 74 65 22 2f 3e 20 77 69 6c 6c 20 72 65 73 75 6c 74 20 69 6e 20 65 72 72 6f 72 73 20 62 65 69 6e te"/>.will.result.in.errors.bein
6ce0 67 20 6c 6f 67 67 65 64 20 69 6e 20 74 68 65 20 65 64 69 74 6f 72 20 61 6e 64 20 69 6e 0d 0a 20 g.logged.in.the.editor.and.in...
6d00 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 64 65 76 65 6c 6f 70 6d 65 6e 74 20 62 75 69 6c 64 ...........///.development.build
6d20 73 2e 20 49 6e 20 72 65 6c 65 61 73 65 20 70 6c 61 79 65 72 20 62 75 69 6c 64 73 2c 20 74 68 65 s..In.release.player.builds,.the
6d40 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 64 79 6e 61 6d 69 63 20 75 70 64 61 74 65 20 73 74 61 .value.of.the.dynamic.update.sta
6d60 74 65 20 69 73 20 72 65 74 75 72 6e 65 64 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f te.is.returned...............///
6d80 20 3c 2f 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 50 72 6f 63 65 73 73 .</remarks>..............Process
6da0 45 76 65 6e 74 73 49 6e 44 79 6e 61 6d 69 63 55 70 64 61 74 65 20 3d 20 31 2c 0d 0a 0d 0a 20 20 EventsInDynamicUpdate.=.1,......
6dc0 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 ..........///.<summary>.........
6de0 20 20 20 20 20 2f 2f 2f 20 41 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 69 6e 70 75 74 20 72 75 6e .....///.Automatically.input.run
6e00 20 75 70 64 61 74 65 73 20 72 69 67 68 74 20 62 65 66 6f 72 65 20 65 76 65 72 79 20 3c 73 65 65 .updates.right.before.every.<see
6e20 20 63 72 65 66 3d 22 4d 6f 6e 6f 42 65 68 61 76 69 6f 75 72 2e 46 69 78 65 64 55 70 64 61 74 65 .cref="MonoBehaviour.FixedUpdate
6e40 22 2f 3e 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e "/>...............///.</summary>
6e60 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 ..............///.<remarks>.....
6e80 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 49 6e 20 74 68 69 73 20 6d 6f 64 65 2c 20 6e 6f 20 70 72 .........///.In.this.mode,.no.pr
6ea0 6f 63 65 73 73 69 6e 67 20 68 61 70 70 65 6e 73 20 73 70 65 63 69 66 69 63 61 6c 6c 79 20 66 6f ocessing.happens.specifically.fo
6ec0 72 20 64 79 6e 61 6d 69 63 20 75 70 64 61 74 65 73 2e 20 51 75 65 72 79 69 6e 67 20 69 6e 70 75 r.dynamic.updates..Querying.inpu
6ee0 74 20 73 74 61 74 65 20 69 6e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 t.state.in..............///.<see
6f00 20 63 72 65 66 3d 22 4d 6f 6e 6f 42 65 68 61 76 69 6f 75 72 2e 55 70 64 61 74 65 22 2f 3e 20 77 .cref="MonoBehaviour.Update"/>.w
6f20 69 6c 6c 20 72 65 73 75 6c 74 20 69 6e 20 65 72 72 6f 72 73 20 62 65 69 6e 67 20 6c 6f 67 67 65 ill.result.in.errors.being.logge
6f40 64 20 69 6e 20 74 68 65 20 65 64 69 74 6f 72 20 61 6e 64 20 69 6e 0d 0a 20 20 20 20 20 20 20 20 d.in.the.editor.and.in..........
6f60 20 20 20 20 2f 2f 2f 20 64 65 76 65 6c 6f 70 6d 65 6e 74 20 62 75 69 6c 64 73 2e 20 49 6e 20 72 ....///.development.builds..In.r
6f80 65 6c 65 61 73 65 20 70 6c 61 79 65 72 20 62 75 69 6c 64 73 2c 20 74 68 65 20 76 61 6c 75 65 20 elease.player.builds,.the.value.
6fa0 6f 66 20 74 68 65 20 66 69 78 65 64 20 75 70 64 61 74 65 20 73 74 61 74 65 20 69 73 20 72 65 74 of.the.fixed.update.state.is.ret
6fc0 75 72 6e 65 64 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b urned...............///.</remark
6fe0 73 3e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 50 72 6f 63 65 73 73 45 76 65 6e 74 73 49 6e 46 s>..............ProcessEventsInF
7000 69 78 65 64 55 70 64 61 74 65 2c 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c ixedUpdate,................///.<
7020 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 44 6f 20 6e 6f 74 summary>..............///.Do.not
7040 20 72 75 6e 20 75 70 64 61 74 65 73 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 2e 20 49 6e 20 74 .run.updates.automatically..In.t
7060 68 69 73 20 6d 6f 64 65 2c 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 53 79 73 74 65 6d his.mode,.<see.cref="InputSystem
7080 2e 55 70 64 61 74 65 22 2f 3e 20 6d 75 73 74 20 62 65 20 63 61 6c 6c 65 64 0d 0a 20 20 20 20 20 .Update"/>.must.be.called.......
70a0 20 20 20 20 20 20 20 2f 2f 2f 20 6d 61 6e 75 61 6c 6c 79 20 74 6f 20 75 70 64 61 74 65 20 69 6e .......///.manually.to.update.in
70c0 70 75 74 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e put...............///.</summary>
70e0 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 ..............///.<remarks>.....
7100 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 69 73 20 6d 6f 64 65 20 69 73 20 6d 6f 73 74 20 75 .........///.This.mode.is.most.u
7120 73 65 66 75 6c 20 66 6f 72 20 70 6c 61 63 69 6e 67 20 69 6e 70 75 74 20 75 70 64 61 74 65 73 20 seful.for.placing.input.updates.
7140 69 6e 20 74 68 65 20 66 72 61 6d 65 20 65 78 70 6c 69 63 69 74 6c 79 20 61 74 20 61 6e 20 65 78 in.the.frame.explicitly.at.an.ex
7160 61 63 74 20 6c 6f 63 61 74 69 6f 6e 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a act.location...............///..
7180 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 4e 6f 74 65 20 74 68 61 74 20 66 61 69 6c 69 6e ............///.Note.that.failin
71a0 67 20 74 6f 20 63 61 6c 6c 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 53 79 73 74 65 6d g.to.call.<see.cref="InputSystem
71c0 2e 55 70 64 61 74 65 22 2f 3e 20 6d 61 79 20 72 65 73 75 6c 74 20 69 6e 20 61 20 6c 6f 74 20 6f .Update"/>.may.result.in.a.lot.o
71e0 66 20 65 76 65 6e 74 73 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 61 63 63 75 6d 75 f.events..............///.accumu
7200 6c 61 74 69 6e 67 20 6f 72 20 73 6f 6d 65 20 69 6e 70 75 74 20 67 65 74 74 69 6e 67 20 6c 6f 73 lating.or.some.input.getting.los
7220 74 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b 73 3e 0d 0a t...............///.</remarks>..
7240 20 20 20 20 20 20 20 20 20 20 20 20 50 72 6f 63 65 73 73 45 76 65 6e 74 73 4d 61 6e 75 61 6c 6c ............ProcessEventsManuall
7260 79 2c 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 7d 0d 0a 7d 0d 0a 00 00 00 00 00 00 00 y,..........}......}..}.........
7280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0d 00 00 00 49 6e 70 75 74 53 65 74 74 69 6e 67 ....................InputSetting
72a0 73 00 00 00 17 00 00 00 55 6e 69 74 79 45 6e 67 69 6e 65 2e 49 6e 70 75 74 53 79 73 74 65 6d 00 s.......UnityEngine.InputSystem.