summaryrefslogtreecommitdiff
path: root/Library/Artifacts/2c/2cea405066adcfdce564230fa7e64610
blob: 20451d3637218a77f31ac59f0f98560e48844c92 (plain)
ofshex dumpascii
0000 00 00 0f 81 00 00 4f e4 00 00 00 15 00 00 10 00 00 00 00 00 32 30 31 39 2e 33 2e 36 66 31 00 fe ......O.............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 84 3f 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 .?..............................
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 03 00 00 00 50 65 6e 00 17 3f 00 00 75 73 69 6e 67 20 53 79 73 74 65 6d ............Pen..?..using.System
10a0 2e 43 6f 6d 70 6f 6e 65 6e 74 4d 6f 64 65 6c 3b 0d 0a 75 73 69 6e 67 20 53 79 73 74 65 6d 2e 52 .ComponentModel;..using.System.R
10c0 75 6e 74 69 6d 65 2e 49 6e 74 65 72 6f 70 53 65 72 76 69 63 65 73 3b 0d 0a 75 73 69 6e 67 20 55 untime.InteropServices;..using.U
10e0 6e 69 74 79 45 6e 67 69 6e 65 2e 49 6e 70 75 74 53 79 73 74 65 6d 2e 43 6f 6e 74 72 6f 6c 73 3b nityEngine.InputSystem.Controls;
1100 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 79 73 74 65 6d 2e ..using.UnityEngine.InputSystem.
1120 4c 61 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 Layouts;..using.UnityEngine.Inpu
1140 74 53 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 tSystem.LowLevel;..using.UnityEn
1160 67 69 6e 65 2e 49 6e 70 75 74 53 79 73 74 65 6d 2e 55 74 69 6c 69 74 69 65 73 3b 0d 0a 0d 0a 2f gine.InputSystem.Utilities;..../
1180 2f 2f 2f 54 4f 44 4f 3a 20 65 78 70 6f 73 65 20 77 68 65 74 68 65 72 20 70 65 6e 20 61 63 74 75 ///TODO:.expose.whether.pen.actu
11a0 61 6c 6c 79 20 68 61 73 20 65 72 61 73 65 72 20 61 6e 64 20 77 68 69 63 68 20 62 61 72 72 65 6c ally.has.eraser.and.which.barrel
11c0 20 62 75 74 74 6f 6e 73 20 69 74 20 68 61 73 0d 0a 0d 0a 2f 2f 2f 2f 54 4f 44 4f 3a 20 68 6f 6f .buttons.it.has....////TODO:.hoo
11e0 6b 20 75 70 20 70 6f 69 6e 74 65 72 49 64 20 69 6e 20 62 61 63 6b 65 6e 64 20 74 6f 20 61 6c 6c k.up.pointerId.in.backend.to.all
1200 6f 77 20 69 64 65 6e 74 69 66 79 69 6e 67 20 64 69 66 66 65 72 65 6e 74 20 70 65 6e 73 0d 0a 0d ow.identifying.different.pens...
1220 0a 2f 2f 2f 2f 52 45 56 49 45 57 3a 20 68 61 76 65 20 73 75 72 66 61 63 65 20 64 69 73 74 61 6e .////REVIEW:.have.surface.distan
1240 63 65 20 70 72 6f 70 65 72 74 79 20 74 6f 20 64 65 74 65 63 74 20 68 6f 77 20 66 61 72 20 70 65 ce.property.to.detect.how.far.pe
1260 6e 20 69 73 20 77 68 65 6e 20 68 6f 76 65 72 69 6e 67 3f 0d 0a 0d 0a 2f 2f 2f 2f 52 45 56 49 45 n.is.when.hovering?....////REVIE
1280 57 3a 20 64 6f 65 73 20 69 74 20 6d 61 6b 65 20 73 65 6e 73 65 20 74 6f 20 68 61 76 65 20 6f 72 W:.does.it.make.sense.to.have.or
12a0 69 65 6e 74 61 74 69 6f 6e 20 73 75 70 70 6f 72 74 20 66 6f 72 20 70 65 6e 2c 20 74 6f 6f 3f 0d ientation.support.for.pen,.too?.
12c0 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 6e 70 75 74 53 79 ...namespace.UnityEngine.InputSy
12e0 73 74 65 6d 2e 4c 6f 77 4c 65 76 65 6c 0d 0a 7b 0d 0a 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 stem.LowLevel..{......///.<summa
1300 72 79 3e 0d 0a 20 20 20 20 2f 2f 2f 20 44 65 66 61 75 6c 74 20 73 74 61 74 65 20 6c 61 79 6f 75 ry>......///.Default.state.layou
1320 74 20 66 6f 72 20 70 65 6e 20 64 65 76 69 63 65 73 2e 0d 0a 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 t.for.pen.devices.......///.</su
1340 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 2f 2f 20 49 4d 50 4f 52 54 41 4e 54 3a 20 4d 75 73 74 20 6d mmary>......//.IMPORTANT:.Must.m
1360 61 74 63 68 20 77 69 74 68 20 50 65 6e 49 6e 70 75 74 53 74 61 74 65 20 69 6e 20 6e 61 74 69 76 atch.with.PenInputState.in.nativ
1380 65 2e 0d 0a 20 20 20 20 5b 53 74 72 75 63 74 4c 61 79 6f 75 74 28 4c 61 79 6f 75 74 4b 69 6e 64 e.......[StructLayout(LayoutKind
13a0 2e 45 78 70 6c 69 63 69 74 2c 20 53 69 7a 65 20 3d 20 33 36 29 5d 0d 0a 20 20 20 20 70 75 62 6c .Explicit,.Size.=.36)]......publ
13c0 69 63 20 73 74 72 75 63 74 20 50 65 6e 53 74 61 74 65 20 3a 20 49 49 6e 70 75 74 53 74 61 74 65 ic.struct.PenState.:.IInputState
13e0 54 79 70 65 49 6e 66 6f 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 TypeInfo......{..........///.<su
1400 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 46 6f 72 6d 61 74 20 63 6f 64 65 20 mmary>..........///.Format.code.
1420 66 6f 72 20 50 65 6e 53 74 61 74 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d for.PenState...........///.</sum
1440 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 52 65 74 75 72 6e mary>..........///.<value>Return
1460 73 20 22 50 45 4e 20 22 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c s."PEN.".</value>..........///.<
1480 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 49 6e 70 75 74 53 74 61 74 65 42 6c 6f 63 6b 2e 66 6f seealso.cref="InputStateBlock.fo
14a0 72 6d 61 74 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 46 rmat"/>..........public.static.F
14c0 6f 75 72 43 43 20 46 6f 72 6d 61 74 20 3d 3e 20 6e 65 77 20 46 6f 75 72 43 43 28 27 50 27 2c 20 ourCC.Format.=>.new.FourCC('P',.
14e0 27 45 27 2c 20 27 4e 27 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 'E',.'N');............///.<summa
1500 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 43 75 72 72 65 6e 74 20 73 63 72 65 65 6e 2d ry>..........///.Current.screen-
1520 73 70 61 63 65 20 70 6f 73 69 74 69 6f 6e 20 6f 66 20 74 68 65 20 70 65 6e 2e 0d 0a 20 20 20 20 space.position.of.the.pen.......
1540 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 20 ....///.</summary>..........///.
1560 3c 76 61 6c 75 65 3e 53 63 72 65 65 6e 2d 73 70 61 63 65 20 70 6f 73 69 74 69 6f 6e 2e 3c 2f 76 <value>Screen-space.position.</v
1580 61 6c 75 65 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 alue>..........///.<seealso.cref
15a0 3d 22 50 6f 69 6e 74 65 72 2e 70 6f 73 69 74 69 6f 6e 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 5b ="Pointer.position"/>..........[
15c0 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 75 73 61 67 65 20 3d 20 22 50 6f 69 6e 74 22 29 5d 0d 0a InputControl(usage.=."Point")]..
15e0 20 20 20 20 20 20 20 20 5b 46 69 65 6c 64 4f 66 66 73 65 74 28 30 29 5d 0d 0a 20 20 20 20 20 20 ........[FieldOffset(0)]........
1600 20 20 70 75 62 6c 69 63 20 56 65 63 74 6f 72 32 20 70 6f 73 69 74 69 6f 6e 3b 0d 0a 0d 0a 20 20 ..public.Vector2.position;......
1620 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 2f 2f ......///.<summary>..........///
1640 20 53 63 72 65 65 6e 2d 73 70 61 63 65 20 6d 6f 74 69 6f 6e 20 64 65 6c 74 61 2e 0d 0a 20 20 20 .Screen-space.motion.delta......
1660 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>..........///
1680 20 3c 76 61 6c 75 65 3e 53 63 72 65 65 6e 2d 73 70 61 63 65 20 6d 6f 74 69 6f 6e 20 64 65 6c 74 .<value>Screen-space.motion.delt
16a0 61 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f a.</value>..........///.<seealso
16c0 20 63 72 65 66 3d 22 50 6f 69 6e 74 65 72 2e 64 65 6c 74 61 22 2f 3e 0d 0a 20 20 20 20 20 20 20 .cref="Pointer.delta"/>.........
16e0 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 75 73 61 67 65 20 3d 20 22 53 65 63 6f 6e 64 61 72 .[InputControl(usage.=."Secondar
1700 79 32 44 4d 6f 74 69 6f 6e 22 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 46 69 65 6c 64 4f 66 66 73 y2DMotion")]..........[FieldOffs
1720 65 74 28 38 29 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 56 65 63 74 6f 72 32 20 64 et(8)]..........public.Vector2.d
1740 65 6c 74 61 3b 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 0d 0a elta;............///.<summary>..
1760 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 77 61 79 20 74 68 65 20 70 65 6e 20 69 73 20 6c ........///.The.way.the.pen.is.l
1780 65 61 6e 65 64 20 6f 76 65 72 20 70 65 72 70 65 6e 64 69 63 75 6c 61 72 20 74 6f 20 74 68 65 20 eaned.over.perpendicular.to.the.
17a0 74 61 62 6c 65 74 20 73 75 72 66 61 63 65 2e 20 58 20 67 6f 65 73 20 5b 2d 31 2e 2e 31 5d 20 6c tablet.surface..X.goes.[-1..1].l
17c0 65 66 74 20 74 6f 20 72 69 67 68 74 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 28 77 69 74 68 20 eft.to.right..........///.(with.
17e0 2d 31 20 61 6e 64 20 31 20 62 65 69 6e 67 20 63 6f 6d 70 6c 65 74 65 6c 79 20 66 6c 75 73 68 20 -1.and.1.being.completely.flush.
1800 74 6f 20 74 68 65 20 73 75 72 66 61 63 65 29 20 61 6e 64 20 59 20 67 6f 65 73 20 5b 2d 31 2e 2e to.the.surface).and.Y.goes.[-1..
1820 31 5d 20 62 6f 74 74 6f 6d 20 74 6f 20 74 6f 70 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 1].bottom.to.top...........///.<
1840 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 41 6d /summary>..........///.<value>Am
1860 6f 75 6e 74 20 70 65 6e 20 69 73 20 6c 65 61 6e 69 6e 67 20 6f 76 65 72 2e 3c 2f 76 61 6c 75 65 ount.pen.is.leaning.over.</value
1880 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 50 65 >..........///.<seealso.cref="Pe
18a0 6e 2e 74 69 6c 74 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c n.tilt"/>..........[InputControl
18c0 28 6c 61 79 6f 75 74 20 3d 20 22 56 65 63 74 6f 72 32 22 2c 20 64 69 73 70 6c 61 79 4e 61 6d 65 (layout.=."Vector2",.displayName
18e0 20 3d 20 22 54 69 6c 74 22 2c 20 75 73 61 67 65 20 3d 20 22 54 69 6c 74 22 29 5d 0d 0a 20 20 20 .=."Tilt",.usage.=."Tilt")].....
1900 20 20 20 20 20 5b 46 69 65 6c 64 4f 66 66 73 65 74 28 31 36 29 5d 0d 0a 20 20 20 20 20 20 20 20 .....[FieldOffset(16)]..........
1920 70 75 62 6c 69 63 20 56 65 63 74 6f 72 32 20 74 69 6c 74 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 public.Vector2.tilt;............
1940 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 50 72 65 73 73 ///.<summary>..........///.Press
1960 75 72 65 20 77 69 74 68 20 77 68 69 63 68 20 74 68 65 20 70 65 6e 20 69 73 20 70 72 65 73 73 65 ure.with.which.the.pen.is.presse
1980 64 20 61 67 61 69 6e 73 74 20 74 68 65 20 73 75 72 66 61 63 65 2e 20 30 20 69 73 20 6e 6f 6e 65 d.against.the.surface..0.is.none
19a0 2c 20 31 20 69 73 20 66 75 6c 6c 20 70 72 65 73 73 75 72 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f ,.1.is.full.pressure.........../
19c0 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 20 3c 76 61 6c 75 //.</summary>..........///.<valu
19e0 65 3e 50 72 65 73 73 75 72 65 20 77 69 74 68 20 77 68 69 63 68 20 74 68 65 20 70 65 6e 20 69 73 e>Pressure.with.which.the.pen.is
1a00 20 70 72 65 73 73 65 64 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c .pressed.</value>..........///.<
1a20 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 4d 61 79 20 67 6f 20 62 65 79 remarks>..........///.May.go.bey
1a40 6f 6e 64 20 31 20 64 65 70 65 6e 64 69 6e 67 20 6f 6e 20 70 72 65 73 73 75 72 65 20 63 61 6c 69 ond.1.depending.on.pressure.cali
1a60 62 72 61 74 69 6f 6e 20 6f 6e 20 74 68 65 20 73 79 73 74 65 6d 2e 20 54 68 65 20 6d 61 78 69 6d bration.on.the.system..The.maxim
1a80 75 6d 20 70 72 65 73 73 75 72 65 20 70 6f 69 6e 74 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 6d um.pressure.point..........///.m
1aa0 61 79 20 62 65 20 73 65 74 20 74 6f 20 6c 65 73 73 20 74 68 61 6e 20 74 68 65 20 70 68 79 73 69 ay.be.set.to.less.than.the.physi
1ac0 63 61 6c 20 6d 61 78 69 6d 75 6d 20 70 72 65 73 73 75 72 65 20 70 6f 69 6e 74 20 64 65 74 65 72 cal.maximum.pressure.point.deter
1ae0 6d 69 6e 65 64 20 62 79 20 74 68 65 20 68 61 72 64 77 61 72 65 2e 0d 0a 20 20 20 20 20 20 20 20 mined.by.the.hardware...........
1b00 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 65 ///.</remarks>..........///.<see
1b20 61 6c 73 6f 20 63 72 65 66 3d 22 50 6f 69 6e 74 65 72 2e 70 72 65 73 73 75 72 65 22 2f 3e 0d 0a also.cref="Pointer.pressure"/>..
1b40 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6c 61 79 6f 75 74 20 3d 20 22 ........[InputControl(layout.=."
1b60 41 6e 61 6c 6f 67 22 2c 20 75 73 61 67 65 20 3d 20 22 50 72 65 73 73 75 72 65 22 2c 20 64 65 66 Analog",.usage.=."Pressure",.def
1b80 61 75 6c 74 53 74 61 74 65 20 3d 20 30 2e 30 66 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 46 69 65 aultState.=.0.0f)]..........[Fie
1ba0 6c 64 4f 66 66 73 65 74 28 32 34 29 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 66 6c ldOffset(24)]..........public.fl
1bc0 6f 61 74 20 70 72 65 73 73 75 72 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 oat.pressure;............///.<su
1be0 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 41 6d 6f 75 6e 74 20 62 79 20 77 68 mmary>..........///.Amount.by.wh
1c00 69 63 68 20 74 68 65 20 70 65 6e 20 69 73 20 72 6f 74 61 74 65 64 20 61 72 6f 75 6e 64 20 69 74 ich.the.pen.is.rotated.around.it
1c20 73 65 6c 66 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 self...........///.</summary>...
1c40 20 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 52 6f 74 61 74 69 6f 6e 20 6f 66 20 74 68 .......///.<value>Rotation.of.th
1c60 65 20 70 65 6e 20 61 72 6f 75 6e 64 20 69 74 73 65 6c 66 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 e.pen.around.itself.</value>....
1c80 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 50 65 6e 2e 74 77 69 ......///.<seealso.cref="Pen.twi
1ca0 73 74 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6c 61 79 st"/>..........[InputControl(lay
1cc0 6f 75 74 20 3d 20 22 41 78 69 73 22 2c 20 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 54 77 69 out.=."Axis",.displayName.=."Twi
1ce0 73 74 22 2c 20 75 73 61 67 65 20 3d 20 22 54 77 69 73 74 22 29 5d 0d 0a 20 20 20 20 20 20 20 20 st",.usage.=."Twist")]..........
1d00 5b 46 69 65 6c 64 4f 66 66 73 65 74 28 32 38 29 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 [FieldOffset(28)]..........publi
1d20 63 20 66 6c 6f 61 74 20 74 77 69 73 74 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 c.float.twist;............///.<s
1d40 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 42 75 74 74 6f 6e 20 6d 61 73 6b ummary>..........///.Button.mask
1d60 20 66 6f 72 20 77 68 69 63 68 20 62 75 74 74 6f 6e 73 20 6f 6e 20 74 68 65 20 70 65 6e 20 61 72 .for.which.buttons.on.the.pen.ar
1d80 65 20 61 63 74 69 76 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 e.active...........///.</summary
1da0 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 42 69 74 6d 61 73 6b 20 66 6f >..........///.<value>Bitmask.fo
1dc0 72 20 62 75 74 74 6f 6e 73 20 6f 6e 20 74 68 65 20 70 65 6e 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 r.buttons.on.the.pen.</value>...
1de0 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6e 61 6d 65 20 3d 20 22 74 69 70 .......[InputControl(name.=."tip
1e00 22 2c 20 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 54 69 70 22 2c 20 6c 61 79 6f 75 74 20 3d ",.displayName.=."Tip",.layout.=
1e20 20 22 42 75 74 74 6f 6e 22 2c 20 62 69 74 20 3d 20 28 69 6e 74 29 50 65 6e 42 75 74 74 6f 6e 2e ."Button",.bit.=.(int)PenButton.
1e40 54 69 70 2c 20 75 73 61 67 65 20 3d 20 22 50 72 69 6d 61 72 79 41 63 74 69 6f 6e 22 29 5d 0d 0a Tip,.usage.=."PrimaryAction")]..
1e60 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6e 61 6d 65 20 3d 20 22 70 72 ........[InputControl(name.=."pr
1e80 65 73 73 22 2c 20 75 73 65 53 74 61 74 65 46 72 6f 6d 20 3d 20 22 74 69 70 22 2c 20 73 79 6e 74 ess",.useStateFrom.=."tip",.synt
1ea0 68 65 74 69 63 20 3d 20 74 72 75 65 2c 20 75 73 61 67 65 73 20 3d 20 6e 65 77 20 73 74 72 69 6e hetic.=.true,.usages.=.new.strin
1ec0 67 5b 30 5d 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6e 61 g[0])]..........[InputControl(na
1ee0 6d 65 20 3d 20 22 65 72 61 73 65 72 22 2c 20 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 45 72 me.=."eraser",.displayName.=."Er
1f00 61 73 65 72 22 2c 20 6c 61 79 6f 75 74 20 3d 20 22 42 75 74 74 6f 6e 22 2c 20 62 69 74 20 3d 20 aser",.layout.=."Button",.bit.=.
1f20 28 69 6e 74 29 50 65 6e 42 75 74 74 6f 6e 2e 45 72 61 73 65 72 29 5d 0d 0a 20 20 20 20 20 20 20 (int)PenButton.Eraser)].........
1f40 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6e 61 6d 65 20 3d 20 22 69 6e 52 61 6e 67 65 22 2c .[InputControl(name.=."inRange",
1f60 20 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 49 6e 20 52 61 6e 67 65 3f 22 2c 20 6c 61 79 6f .displayName.=."In.Range?",.layo
1f80 75 74 20 3d 20 22 42 75 74 74 6f 6e 22 2c 20 62 69 74 20 3d 20 28 69 6e 74 29 50 65 6e 42 75 74 ut.=."Button",.bit.=.(int)PenBut
1fa0 74 6f 6e 2e 49 6e 52 61 6e 67 65 2c 20 73 79 6e 74 68 65 74 69 63 20 3d 20 74 72 75 65 29 5d 0d ton.InRange,.synthetic.=.true)].
1fc0 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6e 61 6d 65 20 3d 20 22 62 .........[InputControl(name.=."b
1fe0 61 72 72 65 6c 31 22 2c 20 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 42 61 72 72 65 6c 20 42 arrel1",.displayName.=."Barrel.B
2000 75 74 74 6f 6e 20 23 31 22 2c 20 6c 61 79 6f 75 74 20 3d 20 22 42 75 74 74 6f 6e 22 2c 20 62 69 utton.#1",.layout.=."Button",.bi
2020 74 20 3d 20 28 69 6e 74 29 50 65 6e 42 75 74 74 6f 6e 2e 42 61 72 72 65 6c 46 69 72 73 74 2c 20 t.=.(int)PenButton.BarrelFirst,.
2040 61 6c 69 61 73 20 3d 20 22 62 61 72 72 65 6c 46 69 72 73 74 22 2c 20 75 73 61 67 65 20 3d 20 22 alias.=."barrelFirst",.usage.=."
2060 53 65 63 6f 6e 64 61 72 79 41 63 74 69 6f 6e 22 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 SecondaryAction")]..........[Inp
2080 75 74 43 6f 6e 74 72 6f 6c 28 6e 61 6d 65 20 3d 20 22 62 61 72 72 65 6c 32 22 2c 20 64 69 73 70 utControl(name.=."barrel2",.disp
20a0 6c 61 79 4e 61 6d 65 20 3d 20 22 42 61 72 72 65 6c 20 42 75 74 74 6f 6e 20 23 32 22 2c 20 6c 61 layName.=."Barrel.Button.#2",.la
20c0 79 6f 75 74 20 3d 20 22 42 75 74 74 6f 6e 22 2c 20 62 69 74 20 3d 20 28 69 6e 74 29 50 65 6e 42 yout.=."Button",.bit.=.(int)PenB
20e0 75 74 74 6f 6e 2e 42 61 72 72 65 6c 53 65 63 6f 6e 64 2c 20 61 6c 69 61 73 20 3d 20 22 62 61 72 utton.BarrelSecond,.alias.=."bar
2100 72 65 6c 53 65 63 6f 6e 64 22 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 relSecond")]..........[InputCont
2120 72 6f 6c 28 6e 61 6d 65 20 3d 20 22 62 61 72 72 65 6c 33 22 2c 20 64 69 73 70 6c 61 79 4e 61 6d rol(name.=."barrel3",.displayNam
2140 65 20 3d 20 22 42 61 72 72 65 6c 20 42 75 74 74 6f 6e 20 23 33 22 2c 20 6c 61 79 6f 75 74 20 3d e.=."Barrel.Button.#3",.layout.=
2160 20 22 42 75 74 74 6f 6e 22 2c 20 62 69 74 20 3d 20 28 69 6e 74 29 50 65 6e 42 75 74 74 6f 6e 2e ."Button",.bit.=.(int)PenButton.
2180 42 61 72 72 65 6c 54 68 69 72 64 2c 20 61 6c 69 61 73 20 3d 20 22 62 61 72 72 65 6c 54 68 69 72 BarrelThird,.alias.=."barrelThir
21a0 64 22 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6e 61 6d 65 d")]..........[InputControl(name
21c0 20 3d 20 22 62 61 72 72 65 6c 34 22 2c 20 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 42 61 72 .=."barrel4",.displayName.=."Bar
21e0 72 65 6c 20 42 75 74 74 6f 6e 20 23 34 22 2c 20 6c 61 79 6f 75 74 20 3d 20 22 42 75 74 74 6f 6e rel.Button.#4",.layout.=."Button
2200 22 2c 20 62 69 74 20 3d 20 28 69 6e 74 29 50 65 6e 42 75 74 74 6f 6e 2e 42 61 72 72 65 6c 46 6f ",.bit.=.(int)PenButton.BarrelFo
2220 75 72 74 68 2c 20 61 6c 69 61 73 20 3d 20 22 62 61 72 72 65 6c 46 6f 75 72 74 68 22 29 5d 0d 0a urth,.alias.=."barrelFourth")]..
2240 20 20 20 20 20 20 20 20 2f 2f 20 22 50 61 72 6b 22 20 75 6e 75 73 65 64 20 63 6f 6e 74 72 6f 6c ........//."Park".unused.control
2260 73 2e 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6e 61 6d 65 20 3d s...........[InputControl(name.=
2280 20 22 72 61 64 69 75 73 22 2c 20 6c 61 79 6f 75 74 20 3d 20 22 56 65 63 74 6f 72 32 22 2c 20 66 ."radius",.layout.=."Vector2",.f
22a0 6f 72 6d 61 74 20 3d 20 22 56 45 43 32 22 2c 20 73 69 7a 65 49 6e 42 69 74 73 20 3d 20 36 34 2c ormat.=."VEC2",.sizeInBits.=.64,
22c0 20 75 73 61 67 65 20 3d 20 22 52 61 64 69 75 73 22 2c 20 6f 66 66 73 65 74 20 3d 20 49 6e 70 75 .usage.=."Radius",.offset.=.Inpu
22e0 74 53 74 61 74 65 42 6c 6f 63 6b 2e 41 75 74 6f 6d 61 74 69 63 4f 66 66 73 65 74 29 5d 0d 0a 20 tStateBlock.AutomaticOffset)]...
2300 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6e 61 6d 65 20 3d 20 22 70 6f 69 .......[InputControl(name.=."poi
2320 6e 74 65 72 49 64 22 2c 20 6c 61 79 6f 75 74 20 3d 20 22 44 69 67 69 74 61 6c 22 2c 20 66 6f 72 nterId",.layout.=."Digital",.for
2340 6d 61 74 20 3d 20 22 55 49 4e 54 22 2c 20 73 69 7a 65 49 6e 42 69 74 73 20 3d 20 33 32 2c 20 6f mat.=."UINT",.sizeInBits.=.32,.o
2360 66 66 73 65 74 20 3d 20 49 6e 70 75 74 53 74 61 74 65 42 6c 6f 63 6b 2e 41 75 74 6f 6d 61 74 69 ffset.=.InputStateBlock.Automati
2380 63 4f 66 66 73 65 74 29 5d 20 2f 2f 2f 2f 54 4f 44 4f 3a 20 74 68 69 73 20 73 68 6f 75 6c 64 20 cOffset)].////TODO:.this.should.
23a0 62 65 20 75 73 65 64 0d 0a 20 20 20 20 20 20 20 20 5b 46 69 65 6c 64 4f 66 66 73 65 74 28 33 32 be.used..........[FieldOffset(32
23c0 29 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 75 73 68 6f 72 74 20 62 75 74 74 6f 6e )]..........public.ushort.button
23e0 73 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 20 4e 6f 74 20 63 75 72 72 65 6e 74 6c 79 20 75 s;............//.Not.currently.u
2400 73 65 64 2c 20 62 75 74 20 73 74 69 6c 6c 20 6e 65 65 64 65 64 20 69 6e 20 74 68 69 73 20 73 74 sed,.but.still.needed.in.this.st
2420 72 75 63 74 20 66 6f 72 20 70 61 64 64 69 6e 67 2c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 20 61 73 ruct.for.padding,..........//.as
2440 20 69 6c 32 63 70 70 20 64 6f 65 73 20 6e 6f 74 20 69 6d 70 6c 65 6d 65 6e 74 20 46 69 65 6c 64 .il2cpp.does.not.implement.Field
2460 4f 66 66 73 65 74 2e 0d 0a 20 20 20 20 20 20 20 20 5b 46 69 65 6c 64 4f 66 66 73 65 74 28 33 34 Offset...........[FieldOffset(34
2480 29 5d 0d 0a 20 20 20 20 20 20 20 20 75 73 68 6f 72 74 20 64 69 73 70 6c 61 79 49 6e 64 65 78 3b )]..........ushort.displayIndex;
24a0 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 0d 0a 20 20 20 20 20 ............///.<summary>.......
24c0 20 20 20 2f 2f 2f 20 53 65 74 20 6f 72 20 75 6e 73 65 74 20 74 68 65 20 62 69 74 20 69 6e 20 3c ...///.Set.or.unset.the.bit.in.<
24e0 73 65 65 20 63 72 65 66 3d 22 62 75 74 74 6f 6e 73 22 2f 3e 20 66 6f 72 20 74 68 65 20 67 69 76 see.cref="buttons"/>.for.the.giv
2500 65 6e 20 3c 70 61 72 61 6d 72 65 66 20 6e 61 6d 65 3d 22 62 75 74 74 6f 6e 22 2f 3e 2e 0d 0a 20 en.<paramref.name="button"/>....
2520 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 20 20 20 20 20 2f .......///.</summary>........../
2540 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 62 75 74 74 6f 6e 22 3e 42 75 74 74 6f 6e 20 77 //.<param.name="button">Button.w
2560 68 6f 73 65 20 73 74 61 74 65 20 74 6f 20 73 65 74 2e 3c 2f 70 61 72 61 6d 3e 0d 0a 20 20 20 20 hose.state.to.set.</param>......
2580 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 73 74 61 74 65 22 3e 57 68 65 74 ....///.<param.name="state">Whet
25a0 68 65 72 20 74 68 65 20 62 75 74 74 6f 6e 20 69 73 20 6f 6e 20 6f 72 20 6f 66 66 2e 3c 2f 70 61 her.the.button.is.on.or.off.</pa
25c0 72 61 6d 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 72 65 74 75 72 6e 73 3e 53 61 6d 65 20 ram>..........///.<returns>Same.
25e0 50 65 6e 53 74 61 74 65 20 77 69 74 68 20 61 6e 20 75 70 64 61 74 65 64 20 3c 73 65 65 20 63 72 PenState.with.an.updated.<see.cr
2600 65 66 3d 22 62 75 74 74 6f 6e 73 22 2f 3e 20 6d 61 73 6b 2e 3c 2f 72 65 74 75 72 6e 73 3e 0d 0a ef="buttons"/>.mask.</returns>..
2620 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 50 65 6e 53 74 61 74 65 20 57 69 74 68 42 75 74 74 ........public.PenState.WithButt
2640 6f 6e 28 50 65 6e 42 75 74 74 6f 6e 20 62 75 74 74 6f 6e 2c 20 62 6f 6f 6c 20 73 74 61 74 65 20 on(PenButton.button,.bool.state.
2660 3d 20 74 72 75 65 29 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 =.true)..........{..............
2680 69 66 20 28 73 74 61 74 65 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 75 74 74 if.(state)..................butt
26a0 6f 6e 73 20 7c 3d 20 28 75 73 68 6f 72 74 29 28 31 20 3c 3c 20 28 69 6e 74 29 62 75 74 74 6f 6e ons.|=.(ushort)(1.<<.(int)button
26c0 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0d 0a 20 20 20 20 20 20 20 20 20 20 );..............else............
26e0 20 20 20 20 20 20 62 75 74 74 6f 6e 73 20 26 3d 20 28 75 73 68 6f 72 74 29 7e 28 31 20 3c 3c 20 ......buttons.&=.(ushort)~(1.<<.
2700 28 69 6e 74 29 62 75 74 74 6f 6e 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 (int)button);..............retur
2720 6e 20 74 68 69 73 3b 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 n.this;..........}............//
2740 2f 20 3c 69 6e 68 65 72 69 74 64 6f 63 20 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 /.<inheritdoc./>..........public
2760 20 46 6f 75 72 43 43 20 66 6f 72 6d 61 74 20 3d 3e 20 46 6f 72 6d 61 74 3b 0d 0a 20 20 20 20 7d .FourCC.format.=>.Format;......}
2780 0d 0a 7d 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 6e 70 ..}....namespace.UnityEngine.Inp
27a0 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 0d 0a utSystem..{......///.<summary>..
27c0 20 20 20 20 2f 2f 2f 20 45 6e 75 6d 65 72 61 74 69 6f 6e 20 6f 66 20 62 75 74 74 6f 6e 73 20 6f ....///.Enumeration.of.buttons.o
27e0 6e 20 61 20 3c 73 65 65 20 63 72 65 66 3d 22 50 65 6e 22 2f 3e 2e 0d 0a 20 20 20 20 2f 2f 2f 20 n.a.<see.cref="Pen"/>.......///.
2800 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 70 75 62 6c 69 63 20 65 6e 75 6d 20 50 65 6e 42 </summary>......public.enum.PenB
2820 75 74 74 6f 6e 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 utton......{..........///.<summa
2840 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 42 75 74 74 6f 6e 20 61 74 20 74 68 65 20 74 ry>..........///.Button.at.the.t
2860 69 70 20 6f 66 20 61 20 70 65 6e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d ip.of.a.pen...........///.</summ
2880 61 72 79 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 ary>..........///.<seealso.cref=
28a0 22 50 65 6e 2e 74 69 70 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 54 69 70 2c 0d 0a 0d 0a 20 20 20 "Pen.tip"/>..........Tip,.......
28c0 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>..........///.
28e0 42 75 74 74 6f 6e 20 6c 6f 63 61 74 65 64 20 65 6e 64 20 6f 66 20 70 65 6e 20 6f 70 70 6f 73 69 Button.located.end.of.pen.opposi
2900 74 65 20 74 6f 20 3c 73 65 65 20 63 72 65 66 3d 22 54 69 70 22 2f 3e 2e 0d 0a 20 20 20 20 20 20 te.to.<see.cref="Tip"/>.........
2920 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 20 3c 72 ..///.</summary>..........///.<r
2940 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 50 65 6e 73 20 64 6f 20 6e 6f 74 emarks>..........///.Pens.do.not
2960 20 6e 65 63 65 73 73 61 72 69 6c 79 20 68 61 76 65 20 61 6e 20 65 72 61 73 65 72 2e 20 49 66 20 .necessarily.have.an.eraser..If.
2980 61 20 70 65 6e 20 64 6f 65 73 6e 27 74 2c 20 74 68 65 20 72 65 73 70 65 63 74 69 76 65 20 62 75 a.pen.doesn't,.the.respective.bu
29a0 74 74 6f 6e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 64 6f 65 73 20 6e 6f 74 68 69 6e 67 20 61 tton..........///.does.nothing.a
29c0 6e 64 20 77 69 6c 6c 20 61 6c 77 61 79 73 20 62 65 20 75 6e 70 72 65 73 73 65 64 2e 0d 0a 20 20 nd.will.always.be.unpressed.....
29e0 20 20 20 20 20 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 ......///.</remarks>..........//
2a00 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 50 65 6e 2e 65 72 61 73 65 72 22 2f 3e 0d 0a /.<seealso.cref="Pen.eraser"/>..
2a20 20 20 20 20 20 20 20 20 45 72 61 73 65 72 2c 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c ........Eraser,............///.<
2a40 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 46 69 72 73 74 20 62 75 74 74 summary>..........///.First.butt
2a60 6f 6e 20 6f 6e 20 74 68 65 20 73 69 64 65 20 6f 66 20 74 68 65 20 70 65 6e 2e 0d 0a 20 20 20 20 on.on.the.side.of.the.pen.......
2a80 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 20 ....///.</summary>..........///.
2aa0 3c 73 65 65 20 63 72 65 66 3d 22 50 65 6e 2e 66 69 72 73 74 42 61 72 72 65 6c 42 75 74 74 6f 6e <see.cref="Pen.firstBarrelButton
2ac0 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 42 61 72 72 65 6c 46 69 72 73 74 2c 0d 0a 0d 0a 20 20 20 "/>..........BarrelFirst,.......
2ae0 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>..........///.
2b00 53 65 63 6f 6e 64 20 62 75 74 74 6f 6e 20 6f 6e 20 74 68 65 20 73 69 64 65 20 6f 66 20 74 68 65 Second.button.on.the.side.of.the
2b20 20 70 65 6e 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 .pen...........///.</summary>...
2b40 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 50 65 6e 2e 73 65 .......///.<seealso.cref="Pen.se
2b60 63 6f 6e 64 42 61 72 72 65 6c 42 75 74 74 6f 6e 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 42 61 72 condBarrelButton"/>..........Bar
2b80 72 65 6c 53 65 63 6f 6e 64 2c 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 relSecond,............///.<summa
2ba0 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 41 72 74 69 66 69 63 69 61 6c 20 62 75 74 74 ry>..........///.Artificial.butt
2bc0 6f 6e 20 74 68 61 74 20 69 6e 64 69 63 61 74 65 73 20 77 68 65 74 68 65 72 20 74 68 65 20 70 65 on.that.indicates.whether.the.pe
2be0 6e 20 69 73 20 69 6e 20 64 65 74 65 63 74 69 6f 6e 20 72 61 6e 67 65 20 6f 72 20 6e 6f 74 2e 0d n.is.in.detection.range.or.not..
2c00 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 20 20 20 20 .........///.</summary>.........
2c20 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 52 61 6e 67 .///.<remarks>..........///.Rang
2c40 65 20 64 65 74 65 63 74 69 6f 6e 20 6d 61 79 20 6e 6f 74 20 62 65 20 73 75 70 70 6f 72 74 65 64 e.detection.may.not.be.supported
2c60 20 62 79 20 61 20 70 65 6e 2f 74 61 62 6c 65 74 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c .by.a.pen/tablet...........///.<
2c80 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 65 61 6c 73 6f 20 /remarks>..........///.<seealso.
2ca0 63 72 65 66 3d 22 50 65 6e 2e 69 6e 52 61 6e 67 65 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 49 6e cref="Pen.inRange"/>..........In
2cc0 52 61 6e 67 65 2c 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 0d Range,............///.<summary>.
2ce0 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 69 72 64 20 62 75 74 74 6f 6e 20 6f 6e 20 74 68 65 .........///.Third.button.on.the
2d00 20 73 69 64 65 20 6f 66 20 74 68 65 20 70 65 6e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c .side.of.the.pen...........///.<
2d20 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 /summary>..........///.<seealso.
2d40 63 72 65 66 3d 22 50 65 6e 2e 74 68 69 72 64 42 61 72 72 65 6c 42 75 74 74 6f 6e 22 2f 3e 0d 0a cref="Pen.thirdBarrelButton"/>..
2d60 20 20 20 20 20 20 20 20 42 61 72 72 65 6c 54 68 69 72 64 2c 0d 0a 0d 0a 20 20 20 20 20 20 20 20 ........BarrelThird,............
2d80 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 46 6f 75 72 74 ///.<summary>..........///.Fourt
2da0 68 20 62 75 74 74 6f 6e 20 6f 6e 20 74 68 65 20 73 69 64 65 20 6f 66 20 74 68 65 20 70 65 6e 2e h.button.on.the.side.of.the.pen.
2dc0 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 20 20 20 ..........///.</summary>........
2de0 20 20 2f 2f 2f 20 3c 73 65 65 20 63 72 65 66 3d 22 50 65 6e 2e 66 6f 75 72 74 68 42 61 72 72 65 ..///.<see.cref="Pen.fourthBarre
2e00 6c 42 75 74 74 6f 6e 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 42 61 72 72 65 6c 46 6f 75 72 74 68 lButton"/>..........BarrelFourth
2e20 2c 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 0d 0a 20 20 20 20 ,............///.<summary>......
2e40 20 20 20 20 2f 2f 2f 20 53 79 6e 6f 6e 79 6d 20 66 6f 72 20 3c 73 65 65 20 63 72 65 66 3d 22 42 ....///.Synonym.for.<see.cref="B
2e60 61 72 72 65 6c 46 69 72 73 74 22 2f 3e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 arrelFirst"/>...........///.</su
2e80 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 42 61 72 72 65 6c 31 20 3d 20 42 61 72 72 65 6c mmary>..........Barrel1.=.Barrel
2ea0 46 69 72 73 74 2c 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 0d First,............///.<summary>.
2ec0 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 53 79 6e 6f 6e 79 6d 20 66 6f 72 20 3c 73 65 65 20 63 72 .........///.Synonym.for.<see.cr
2ee0 65 66 3d 22 42 61 72 72 65 6c 53 65 63 6f 6e 64 22 2f 3e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f ef="BarrelSecond"/>...........//
2f00 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 42 61 72 72 65 6c 32 20 3d 20 /.</summary>..........Barrel2.=.
2f20 42 61 72 72 65 6c 53 65 63 6f 6e 64 2c 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 BarrelSecond,............///.<su
2f40 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 53 79 6e 6f 6e 79 6d 20 66 6f 72 20 mmary>..........///.Synonym.for.
2f60 3c 73 65 65 20 63 72 65 66 3d 22 42 61 72 72 65 6c 54 68 69 72 64 22 2f 3e 2e 0d 0a 20 20 20 20 <see.cref="BarrelThird"/>.......
2f80 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 42 61 72 72 ....///.</summary>..........Barr
2fa0 65 6c 33 20 3d 20 42 61 72 72 65 6c 54 68 69 72 64 2c 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f el3.=.BarrelThird,............//
2fc0 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 53 79 6e 6f 6e 79 6d /.<summary>..........///.Synonym
2fe0 20 66 6f 72 20 3c 73 65 65 20 63 72 65 66 3d 22 42 61 72 72 65 6c 46 6f 75 72 74 68 22 2f 3e 2e .for.<see.cref="BarrelFourth"/>.
3000 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 20 20 20 ..........///.</summary>........
3020 20 20 42 61 72 72 65 6c 34 20 3d 20 42 61 72 72 65 6c 46 6f 75 72 74 68 2c 0d 0a 20 20 20 20 7d ..Barrel4.=.BarrelFourth,......}
3040 0d 0a 0d 0a 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 2f 2f 2f 20 52 ........///.<summary>......///.R
3060 65 70 72 65 73 65 6e 74 73 20 61 20 70 65 6e 2f 73 74 79 6c 75 73 20 69 6e 70 75 74 20 64 65 76 epresents.a.pen/stylus.input.dev
3080 69 63 65 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 2f 2f ice.......///.</summary>......//
30a0 2f 20 3c 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 2f 2f 2f 20 55 6e 6c 69 6b 65 20 6d 69 63 65 /.<remarks>......///.Unlike.mice
30c0 20 62 75 74 20 6c 69 6b 65 20 74 6f 75 63 68 2c 20 70 65 6e 73 20 61 72 65 20 61 62 73 6f 6c 75 .but.like.touch,.pens.are.absolu
30e0 74 65 20 70 6f 69 6e 74 69 6e 67 20 64 65 76 69 63 65 73 20 6d 6f 76 69 6e 67 20 61 63 72 6f 73 te.pointing.devices.moving.acros
3100 73 20 61 20 66 69 78 65 64 0d 0a 20 20 20 20 2f 2f 2f 20 73 75 72 66 61 63 65 20 61 72 65 61 2e s.a.fixed......///.surface.area.
3120 0d 0a 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 2f 2f 2f 20 54 68 65 20 3c 73 65 65 20 63 72 65 66 ......///......///.The.<see.cref
3140 3d 22 74 69 70 22 2f 3e 20 61 63 74 73 20 61 73 20 61 20 62 75 74 74 6f 6e 20 74 68 61 74 20 69 ="tip"/>.acts.as.a.button.that.i
3160 73 20 63 6f 6e 73 69 64 65 72 65 64 20 70 72 65 73 73 65 64 20 61 73 20 6c 6f 6e 67 20 61 73 20 s.considered.pressed.as.long.as.
3180 74 68 65 20 70 65 6e 20 69 73 20 69 6e 20 63 6f 6e 74 61 63 74 20 77 69 74 68 20 74 68 65 0d 0a the.pen.is.in.contact.with.the..
31a0 20 20 20 20 2f 2f 2f 20 74 61 62 6c 65 74 20 73 75 72 66 61 63 65 2e 0d 0a 20 20 20 20 2f 2f 2f ....///.tablet.surface.......///
31c0 20 3c 2f 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 4c 61 .</remarks>......[InputControlLa
31e0 79 6f 75 74 28 73 74 61 74 65 54 79 70 65 20 3d 20 74 79 70 65 6f 66 28 50 65 6e 53 74 61 74 65 yout(stateType.=.typeof(PenState
3200 29 2c 20 69 73 47 65 6e 65 72 69 63 54 79 70 65 4f 66 44 65 76 69 63 65 20 3d 20 74 72 75 65 29 ),.isGenericTypeOfDevice.=.true)
3220 5d 0d 0a 20 20 20 20 5b 53 63 72 69 70 74 69 6e 67 2e 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 ]......[Scripting.Preserve].....
3240 20 70 75 62 6c 69 63 20 63 6c 61 73 73 20 50 65 6e 20 3a 20 50 6f 69 6e 74 65 72 0d 0a 20 20 20 .public.class.Pen.:.Pointer.....
3260 20 7b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 2f 54 4f 44 4f 3a 20 67 69 76 65 20 74 68 65 20 74 .{..........////TODO:.give.the.t
3280 69 70 20 61 6e 64 20 65 72 61 73 65 72 20 61 20 76 65 72 79 20 6c 6f 77 20 70 72 65 73 73 20 70 ip.and.eraser.a.very.low.press.p
32a0 6f 69 6e 74 0d 0a 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 oint..........///.<summary>.....
32c0 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 74 69 70 20 62 75 74 74 6f 6e 20 6f 66 20 74 68 65 20 70 .....///.The.tip.button.of.the.p
32e0 65 6e 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 en...........///.</summary>.....
3300 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 43 6f 6e 74 72 6f 6c 20 72 65 70 72 65 73 65 6e .....///.<value>Control.represen
3320 74 69 6e 67 20 74 68 65 20 74 69 70 20 62 75 74 74 6f 6e 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 ting.the.tip.button.</value>....
3340 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 50 65 6e 42 75 74 74 ......///.<seealso.cref="PenButt
3360 6f 6e 2e 54 69 70 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 42 75 74 74 6f 6e on.Tip"/>..........public.Button
3380 43 6f 6e 74 72 6f 6c 20 74 69 70 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 Control.tip.{.get;.private.set;.
33a0 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 0d 0a 20 20 20 20 }............///.<summary>......
33c0 20 20 20 20 2f 2f 2f 20 54 68 65 20 65 72 61 73 65 72 20 62 75 74 74 6f 6e 20 6f 66 20 74 68 65 ....///.The.eraser.button.of.the
33e0 20 70 65 6e 2c 20 69 2e 65 2e 20 74 68 65 20 62 75 74 74 6f 6e 20 6f 6e 20 74 68 65 20 65 6e 64 .pen,.i.e..the.button.on.the.end
3400 20 6f 70 70 6f 73 69 74 65 20 74 6f 20 74 68 65 20 74 69 70 2e 0d 0a 20 20 20 20 20 20 20 20 2f .opposite.to.the.tip.........../
3420 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 20 3c 76 61 6c 75 //.</summary>..........///.<valu
3440 65 3e 43 6f 6e 74 72 6f 6c 20 72 65 70 72 65 73 65 6e 74 69 6e 67 20 74 68 65 20 65 72 61 73 65 e>Control.representing.the.erase
3460 72 20 62 75 74 74 6f 6e 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c r.button.</value>..........///.<
3480 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 49 66 20 74 68 65 20 70 65 6e remarks>..........///.If.the.pen
34a0 20 64 6f 65 73 20 6e 6f 74 20 68 61 76 65 20 61 6e 20 65 72 61 73 65 72 20 62 75 74 74 6f 6e 2c .does.not.have.an.eraser.button,
34c0 20 74 68 69 73 20 63 6f 6e 74 72 6f 6c 20 77 69 6c 6c 20 73 74 69 6c 6c 20 62 65 20 70 72 65 73 .this.control.will.still.be.pres
34e0 65 6e 74 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 62 75 74 20 77 69 6c 6c 20 6e 6f 74 20 74 72 ent..........///.but.will.not.tr
3500 69 67 67 65 72 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 igger...........///.</remarks>..
3520 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 50 65 6e 42 75 ........///.<seealso.cref="PenBu
3540 74 74 6f 6e 2e 45 72 61 73 65 72 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 42 tton.Eraser"/>..........public.B
3560 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 20 65 72 61 73 65 72 20 7b 20 67 65 74 3b 20 70 72 69 76 61 uttonControl.eraser.{.get;.priva
3580 74 65 20 73 65 74 3b 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 te.set;.}............///.<summar
35a0 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 62 75 74 74 6f 6e 20 6f 6e 20 74 68 y>..........///.The.button.on.th
35c0 65 20 73 69 64 65 20 6f 66 20 74 68 65 20 70 65 6e 20 62 61 72 72 65 6c 20 61 6e 64 20 6c 6f 63 e.side.of.the.pen.barrel.and.loc
35e0 61 74 65 64 20 63 6c 6f 73 65 72 20 74 6f 20 74 68 65 20 74 69 70 20 6f 66 20 74 68 65 20 70 65 ated.closer.to.the.tip.of.the.pe
3600 6e 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 20 n...........///.</summary>......
3620 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 43 6f 6e 74 72 6f 6c 20 72 65 70 72 65 73 65 6e 74 ....///.<value>Control.represent
3640 69 6e 67 20 74 68 65 20 66 69 72 73 74 20 73 69 64 65 20 62 75 74 74 6f 6e 2e 3c 2f 76 61 6c 75 ing.the.first.side.button.</valu
3660 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 20 e>..........///.<remarks>.......
3680 20 20 20 2f 2f 2f 20 49 66 20 74 68 65 20 70 65 6e 20 64 6f 65 73 20 6e 6f 74 20 68 61 76 65 20 ...///.If.the.pen.does.not.have.
36a0 62 61 72 72 65 6c 20 62 75 74 74 6f 6e 73 2c 20 74 68 69 73 20 63 6f 6e 74 72 6f 6c 20 77 69 6c barrel.buttons,.this.control.wil
36c0 6c 20 73 74 69 6c 6c 20 62 65 20 70 72 65 73 65 6e 74 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 l.still.be.present..........///.
36e0 62 75 74 20 77 69 6c 6c 20 6e 6f 74 20 74 72 69 67 67 65 72 2e 0d 0a 20 20 20 20 20 20 20 20 2f but.will.not.trigger.........../
3700 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 65 61 //.</remarks>..........///.<seea
3720 6c 73 6f 20 63 72 65 66 3d 22 50 65 6e 42 75 74 74 6f 6e 2e 42 61 72 72 65 6c 46 69 72 73 74 22 lso.cref="PenButton.BarrelFirst"
3740 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c />..........public.ButtonControl
3760 20 66 69 72 73 74 42 61 72 72 65 6c 42 75 74 74 6f 6e 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 .firstBarrelButton.{.get;.privat
3780 65 20 73 65 74 3b 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 e.set;.}............///.<summary
37a0 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 62 75 74 74 6f 6e 20 6f 6e 20 74 68 65 >..........///.The.button.on.the
37c0 20 73 69 64 65 20 6f 66 20 74 68 65 20 70 65 6e 20 62 61 72 72 65 6c 20 61 6e 64 20 6c 6f 63 61 .side.of.the.pen.barrel.and.loca
37e0 74 65 64 20 63 6c 6f 73 65 72 20 74 6f 20 74 68 65 20 65 72 61 73 65 72 20 65 6e 64 20 6f 66 20 ted.closer.to.the.eraser.end.of.
3800 74 68 65 20 70 65 6e 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 the.pen...........///.</summary>
3820 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 43 6f 6e 74 72 6f 6c 20 72 65 70 ..........///.<value>Control.rep
3840 72 65 73 65 6e 74 69 6e 67 20 74 68 65 20 73 65 63 6f 6e 64 20 73 69 64 65 20 62 75 74 74 6f 6e resenting.the.second.side.button
3860 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 3e .</value>..........///.<remarks>
3880 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 49 66 20 74 68 65 20 70 65 6e 20 64 6f 65 73 20 6e 6f ..........///.If.the.pen.does.no
38a0 74 20 68 61 76 65 20 62 61 72 72 65 6c 20 62 75 74 74 6f 6e 73 2c 20 74 68 69 73 20 63 6f 6e 74 t.have.barrel.buttons,.this.cont
38c0 72 6f 6c 20 77 69 6c 6c 20 73 74 69 6c 6c 20 62 65 20 70 72 65 73 65 6e 74 0d 0a 20 20 20 20 20 rol.will.still.be.present.......
38e0 20 20 20 2f 2f 2f 20 62 75 74 20 77 69 6c 6c 20 6e 6f 74 20 74 72 69 67 67 65 72 2e 0d 0a 20 20 ...///.but.will.not.trigger.....
3900 20 20 20 20 20 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 ......///.</remarks>..........//
3920 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 50 65 6e 42 75 74 74 6f 6e 2e 42 61 72 72 65 /.<seealso.cref="PenButton.Barre
3940 6c 53 65 63 6f 6e 64 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 42 75 74 74 6f lSecond"/>..........public.Butto
3960 6e 43 6f 6e 74 72 6f 6c 20 73 65 63 6f 6e 64 42 61 72 72 65 6c 42 75 74 74 6f 6e 20 7b 20 67 65 nControl.secondBarrelButton.{.ge
3980 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f t;.private.set;.}............///
39a0 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 69 72 64 20 62 75 .<summary>..........///.Third.bu
39c0 74 74 6f 6e 20 74 68 65 20 73 69 64 65 20 6f 66 20 74 68 65 20 70 65 6e 20 62 61 72 72 65 6c 2e tton.the.side.of.the.pen.barrel.
39e0 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 20 20 20 ..........///.</summary>........
3a00 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 43 6f 6e 74 72 6f 6c 20 72 65 70 72 65 73 65 6e 74 69 6e ..///.<value>Control.representin
3a20 67 20 74 68 65 20 74 68 69 72 64 20 73 69 64 65 20 62 75 74 74 6f 6e 2e 3c 2f 76 61 6c 75 65 3e g.the.third.side.button.</value>
3a40 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 20 ..........///.<remarks>.........
3a60 20 2f 2f 2f 20 49 66 20 74 68 65 20 70 65 6e 20 64 6f 65 73 20 6e 6f 74 20 68 61 76 65 20 61 20 .///.If.the.pen.does.not.have.a.
3a80 74 68 69 72 64 20 62 61 72 72 65 6c 20 62 75 74 74 6f 6e 73 2c 20 74 68 69 73 20 63 6f 6e 74 72 third.barrel.buttons,.this.contr
3aa0 6f 6c 20 77 69 6c 6c 20 73 74 69 6c 6c 20 62 65 20 70 72 65 73 65 6e 74 0d 0a 20 20 20 20 20 20 ol.will.still.be.present........
3ac0 20 20 2f 2f 2f 20 62 75 74 20 77 69 6c 6c 20 6e 6f 74 20 74 72 69 67 67 65 72 2e 0d 0a 20 20 20 ..///.but.will.not.trigger......
3ae0 20 20 20 20 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 .....///.</remarks>..........///
3b00 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 50 65 6e 42 75 74 74 6f 6e 2e 42 61 72 72 65 6c .<seealso.cref="PenButton.Barrel
3b20 54 68 69 72 64 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 42 75 74 74 6f 6e 43 Third"/>..........public.ButtonC
3b40 6f 6e 74 72 6f 6c 20 74 68 69 72 64 42 61 72 72 65 6c 42 75 74 74 6f 6e 20 7b 20 67 65 74 3b 20 ontrol.thirdBarrelButton.{.get;.
3b60 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 private.set;.}............///.<s
3b80 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 46 6f 75 72 74 68 20 62 75 74 74 ummary>..........///.Fourth.butt
3ba0 6f 6e 20 74 68 65 20 73 69 64 65 20 6f 66 20 74 68 65 20 70 65 6e 20 62 61 72 72 65 6c 2e 0d 0a on.the.side.of.the.pen.barrel...
3bc0 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 20 20 20 20 20 ........///.</summary>..........
3be0 2f 2f 2f 20 3c 76 61 6c 75 65 3e 43 6f 6e 74 72 6f 6c 20 72 65 70 72 65 73 65 6e 74 69 6e 67 20 ///.<value>Control.representing.
3c00 74 68 65 20 66 6f 75 72 74 68 20 73 69 64 65 20 62 75 74 74 6f 6e 2e 3c 2f 76 61 6c 75 65 3e 0d the.fourth.side.button.</value>.
3c20 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 20 20 .........///.<remarks>..........
3c40 2f 2f 2f 20 49 66 20 74 68 65 20 70 65 6e 20 64 6f 65 73 20 6e 6f 74 20 68 61 76 65 20 61 20 66 ///.If.the.pen.does.not.have.a.f
3c60 6f 75 72 74 68 20 62 61 72 72 65 6c 20 62 75 74 74 6f 6e 73 2c 20 74 68 69 73 20 63 6f 6e 74 72 ourth.barrel.buttons,.this.contr
3c80 6f 6c 20 77 69 6c 6c 20 73 74 69 6c 6c 20 62 65 20 70 72 65 73 65 6e 74 0d 0a 20 20 20 20 20 20 ol.will.still.be.present........
3ca0 20 20 2f 2f 2f 20 62 75 74 20 77 69 6c 6c 20 6e 6f 74 20 74 72 69 67 67 65 72 2e 0d 0a 20 20 20 ..///.but.will.not.trigger......
3cc0 20 20 20 20 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 .....///.</remarks>..........///
3ce0 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 50 65 6e 42 75 74 74 6f 6e 2e 42 61 72 72 65 6c .<seealso.cref="PenButton.Barrel
3d00 46 6f 75 72 74 68 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 42 75 74 74 6f 6e Fourth"/>..........public.Button
3d20 43 6f 6e 74 72 6f 6c 20 66 6f 75 72 74 68 42 61 72 72 65 6c 42 75 74 74 6f 6e 20 7b 20 67 65 74 Control.fourthBarrelButton.{.get
3d40 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 ;.private.set;.}............///.
3d60 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 42 75 74 74 6f 6e 20 63 6f <summary>..........///.Button.co
3d80 6e 74 72 6f 6c 20 74 68 61 74 20 69 6e 64 69 63 61 74 65 73 20 77 68 65 74 68 65 72 20 74 68 65 ntrol.that.indicates.whether.the
3da0 20 70 65 6e 20 69 73 20 69 6e 20 72 61 6e 67 65 20 6f 66 20 74 68 65 20 74 61 62 6c 65 74 20 73 .pen.is.in.range.of.the.tablet.s
3dc0 75 72 66 61 63 65 20 6f 72 20 6e 6f 74 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 urface.or.not...........///.</su
3de0 6d 6d 61 72 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 mmary>..........///.<remarks>...
3e00 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 69 73 20 69 73 20 61 20 73 79 6e 74 68 65 74 69 63 20 63 .......///.This.is.a.synthetic.c
3e20 6f 6e 74 72 6f 6c 20 28 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 2e ontrol.(<see.cref="InputControl.
3e40 73 79 6e 74 68 65 74 69 63 22 2f 3e 29 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 synthetic"/>)...........///.....
3e60 20 20 20 20 20 2f 2f 2f 20 49 66 20 72 61 6e 67 65 20 64 65 74 65 63 74 69 6f 6e 20 69 73 20 6e .....///.If.range.detection.is.n
3e80 6f 74 20 73 75 70 70 6f 72 74 65 64 20 62 79 20 74 68 65 20 70 65 6e 2c 20 74 68 69 73 20 62 75 ot.supported.by.the.pen,.this.bu
3ea0 74 74 6f 6e 20 77 69 6c 6c 20 61 6c 77 61 79 73 20 62 65 20 22 70 72 65 73 73 65 64 22 2e 0d 0a tton.will.always.be."pressed"...
3ec0 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 20 20 20 20 20 20 ........///.</remarks>..........
3ee0 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 50 65 6e 42 75 74 74 6f 6e 2e 49 6e 52 ///.<seealso.cref="PenButton.InR
3f00 61 6e 67 65 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 42 75 74 74 6f 6e 43 6f ange"/>..........public.ButtonCo
3f20 6e 74 72 6f 6c 20 69 6e 52 61 6e 67 65 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 ntrol.inRange.{.get;.private.set
3f40 3b 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 0d 0a 20 20 ;.}............///.<summary>....
3f60 20 20 20 20 20 20 2f 2f 2f 20 4f 72 69 65 6e 74 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 70 65 6e ......///.Orientation.of.the.pen
3f80 20 72 65 6c 61 74 69 76 65 20 74 6f 20 74 68 65 20 74 61 62 6c 65 74 20 73 75 72 66 61 63 65 2c .relative.to.the.tablet.surface,
3fa0 20 69 2e 65 2e 20 74 68 65 20 61 6d 6f 75 6e 74 20 62 79 20 77 68 69 63 68 20 69 74 20 69 73 20 .i.e..the.amount.by.which.it.is.
3fc0 6c 65 61 6e 69 6e 67 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 6f 76 65 72 20 61 6c 6f 6e 67 20 leaning..........///.over.along.
3fe0 74 68 65 20 58 20 61 6e 64 20 59 20 61 78 69 73 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c the.X.and.Y.axis...........///.<
4000 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 43 6f /summary>..........///.<value>Co
4020 6e 74 72 6f 6c 20 70 72 65 73 65 6e 74 69 6e 67 20 74 68 65 20 61 6d 6f 75 6e 74 20 74 68 65 20 ntrol.presenting.the.amount.the.
4040 70 65 6e 20 69 73 20 6c 65 61 6e 69 6e 67 20 6f 76 65 72 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 pen.is.leaning.over.</value>....
4060 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>..........///
4080 20 58 20 61 78 69 73 20 67 6f 65 73 20 66 72 6f 6d 20 5b 2d 31 2e 2e 31 5d 20 6c 65 66 74 20 74 .X.axis.goes.from.[-1..1].left.t
40a0 6f 20 72 69 67 68 74 20 77 69 74 68 20 2d 31 20 61 6e 64 20 31 20 6d 65 61 6e 69 6e 67 20 74 68 o.right.with.-1.and.1.meaning.th
40c0 65 20 70 65 6e 20 69 73 20 66 6c 75 73 68 20 77 69 74 68 20 74 68 65 20 74 61 62 6c 65 74 20 73 e.pen.is.flush.with.the.tablet.s
40e0 75 72 66 61 63 65 2e 20 59 20 61 78 69 73 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 67 6f 65 73 urface..Y.axis..........///.goes
4100 20 66 72 6f 6d 20 5b 2d 31 2e 2e 31 5d 20 62 6f 74 74 6f 6d 20 74 6f 20 74 6f 70 2e 0d 0a 20 20 .from.[-1..1].bottom.to.top.....
4120 20 20 20 20 20 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 70 75 ......///.</remarks>..........pu
4140 62 6c 69 63 20 56 65 63 74 6f 72 32 43 6f 6e 74 72 6f 6c 20 74 69 6c 74 20 7b 20 67 65 74 3b 20 blic.Vector2Control.tilt.{.get;.
4160 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 private.set;.}............///.<s
4180 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 52 6f 74 61 74 69 6f 6e 20 6f 66 ummary>..........///.Rotation.of
41a0 20 74 68 65 20 70 6f 69 6e 74 65 72 20 61 72 6f 75 6e 64 20 69 74 73 20 6f 77 6e 20 61 78 69 73 .the.pointer.around.its.own.axis
41c0 2e 20 30 20 6d 65 61 6e 73 20 74 68 65 20 70 6f 69 6e 74 65 72 20 69 73 20 66 61 63 69 6e 67 20 ..0.means.the.pointer.is.facing.
41e0 61 77 61 79 20 66 72 6f 6d 20 74 68 65 20 75 73 65 72 20 28 31 32 20 27 6f 20 63 6c 6f 63 6b 20 away.from.the.user.(12.'o.clock.
4200 70 6f 73 69 74 69 6f 6e 29 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 61 6e 64 20 7e 31 20 6d 65 position)..........///.and.~1.me
4220 61 6e 73 20 74 68 65 20 70 6f 69 6e 74 65 72 20 68 61 73 20 62 65 65 6e 20 72 6f 74 61 74 65 64 ans.the.pointer.has.been.rotated
4240 20 63 6c 6f 63 6b 77 69 73 65 20 61 6c 6d 6f 73 74 20 6f 6e 65 20 66 75 6c 6c 20 72 6f 74 61 74 .clockwise.almost.one.full.rotat
4260 69 6f 6e 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 ion...........///.</summary>....
4280 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 43 6f 6e 74 72 6f 6c 20 72 65 70 72 65 73 65 ......///.<value>Control.represe
42a0 6e 74 69 6e 67 20 74 68 65 20 74 77 69 73 74 20 6f 66 20 74 68 65 20 70 65 6e 20 61 72 6f 75 6e nting.the.twist.of.the.pen.aroun
42c0 64 20 69 74 73 65 6c 66 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c d.itself.</value>..........///.<
42e0 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 77 69 73 74 20 69 73 20 67 remarks>..........///.Twist.is.g
4300 65 6e 65 72 61 6c 6c 79 20 6f 6e 6c 79 20 73 75 70 70 6f 72 74 65 64 20 62 79 20 70 65 6e 73 20 enerally.only.supported.by.pens.
4320 61 6e 64 20 65 76 65 6e 20 61 6d 6f 6e 67 20 70 65 6e 73 2c 20 74 77 69 73 74 20 73 75 70 70 6f and.even.among.pens,.twist.suppo
4340 72 74 20 69 73 20 72 61 72 65 2e 20 41 6e 20 65 78 61 6d 70 6c 65 20 70 72 6f 64 75 63 74 20 74 rt.is.rare..An.example.product.t
4360 68 61 74 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 73 75 70 70 6f 72 74 73 20 74 77 69 73 74 20 hat..........///.supports.twist.
4380 69 73 20 74 68 65 20 57 61 63 6f 6d 20 41 72 74 20 50 65 6e 2e 0d 0a 20 20 20 20 20 20 20 20 2f is.the.Wacom.Art.Pen.........../
43a0 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 61 78 69 73 20 6f 66 20 72 6f 74 61 //..........///.The.axis.of.rota
43c0 74 69 6f 6e 20 69 73 20 74 68 65 20 76 65 63 74 6f 72 20 66 61 63 69 6e 67 20 61 77 61 79 20 66 tion.is.the.vector.facing.away.f
43e0 72 6f 6d 20 74 68 65 20 70 6f 69 6e 74 65 72 20 73 75 72 66 61 63 65 20 77 68 65 6e 20 74 68 65 rom.the.pointer.surface.when.the
4400 20 70 6f 69 6e 74 65 72 20 69 73 20 66 61 63 69 6e 67 20 73 74 72 61 69 67 68 74 20 75 70 0d 0a .pointer.is.facing.straight.up..
4420 20 20 20 20 20 20 20 20 2f 2f 2f 20 28 69 2e 65 2e 20 74 68 65 20 73 75 72 66 61 63 65 20 6e 6f ........///.(i.e..the.surface.no
4440 72 6d 61 6c 20 6f 66 20 74 68 65 20 70 6f 69 6e 74 65 72 20 73 75 72 66 61 63 65 29 2e 20 57 68 rmal.of.the.pointer.surface)..Wh
4460 65 6e 20 74 68 65 20 70 6f 69 6e 74 65 72 20 69 73 20 74 69 6c 74 65 64 2c 20 74 68 65 20 72 6f en.the.pointer.is.tilted,.the.ro
4480 74 61 74 69 6f 6e 20 61 78 69 73 20 69 73 20 74 69 6c 74 65 64 20 61 6c 6f 6e 67 0d 0a 20 20 20 tation.axis.is.tilted.along.....
44a0 20 20 20 20 20 2f 2f 2f 20 77 69 74 68 20 69 74 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c .....///.with.it...........///.<
44c0 2f 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 41 78 69 73 43 6f /remarks>..........public.AxisCo
44e0 6e 74 72 6f 6c 20 74 77 69 73 74 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 ntrol.twist.{.get;.private.set;.
4500 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 0d 0a 20 20 20 20 }............///.<summary>......
4520 20 20 20 20 2f 2f 2f 20 54 68 65 20 70 65 6e 20 74 68 61 74 20 77 61 73 20 61 63 74 69 76 65 20 ....///.The.pen.that.was.active.
4540 6f 72 20 63 6f 6e 6e 65 63 74 65 64 20 6c 61 73 74 20 6f 72 20 3c 63 3e 6e 75 6c 6c 3c 2f 63 3e or.connected.last.or.<c>null</c>
4560 20 69 66 20 74 68 65 72 65 20 69 73 20 6e 6f 20 70 65 6e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f .if.there.is.no.pen...........//
4580 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 6e 65 77 /.</summary>..........public.new
45a0 20 73 74 61 74 69 63 20 50 65 6e 20 63 75 72 72 65 6e 74 20 7b 20 67 65 74 3b 20 69 6e 74 65 72 .static.Pen.current.{.get;.inter
45c0 6e 61 6c 20 73 65 74 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 nal.set;.}............///.<summa
45e0 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 52 65 74 75 72 6e 20 74 68 65 20 67 69 76 65 ry>..........///.Return.the.give
4600 6e 20 70 65 6e 20 62 75 74 74 6f 6e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d n.pen.button...........///.</sum
4620 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 mary>..........///.<param.name="
4640 62 75 74 74 6f 6e 22 3e 50 65 6e 20 62 75 74 74 6f 6e 20 74 6f 20 72 65 74 75 72 6e 2e 3c 2f 70 button">Pen.button.to.return.</p
4660 61 72 61 6d 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 65 78 63 65 70 74 69 6f 6e 20 63 72 aram>..........///.<exception.cr
4680 65 66 3d 22 49 6e 76 61 6c 69 64 45 6e 75 6d 41 72 67 75 6d 65 6e 74 45 78 63 65 70 74 69 6f 6e ef="InvalidEnumArgumentException
46a0 22 3e 3c 70 61 72 61 6d 72 65 66 20 6e 61 6d 65 3d 22 62 75 74 74 6f 6e 22 2f 3e 20 69 73 20 6e "><paramref.name="button"/>.is.n
46c0 6f 74 20 61 20 76 61 6c 69 64 20 70 65 6e 20 62 75 74 74 6f 6e 2e 3c 2f 65 78 63 65 70 74 69 6f ot.a.valid.pen.button.</exceptio
46e0 6e 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c n>..........public.ButtonControl
4700 20 74 68 69 73 5b 50 65 6e 42 75 74 74 6f 6e 20 62 75 74 74 6f 6e 5d 0d 0a 20 20 20 20 20 20 20 .this[PenButton.button].........
4720 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 0d 0a 20 20 20 20 20 20 20 20 20 20 20 .{..............get.............
4740 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 77 69 74 63 68 20 28 62 75 74 74 .{..................switch.(butt
4760 6f 6e 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 on)..................{..........
4780 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 50 65 6e 42 75 74 74 6f 6e 2e 54 69 70 3a 20 ............case.PenButton.Tip:.
47a0 72 65 74 75 72 6e 20 74 69 70 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 return.tip;.....................
47c0 20 63 61 73 65 20 50 65 6e 42 75 74 74 6f 6e 2e 45 72 61 73 65 72 3a 20 72 65 74 75 72 6e 20 65 .case.PenButton.Eraser:.return.e
47e0 72 61 73 65 72 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 raser;......................case
4800 20 50 65 6e 42 75 74 74 6f 6e 2e 42 61 72 72 65 6c 46 69 72 73 74 3a 20 72 65 74 75 72 6e 20 66 .PenButton.BarrelFirst:.return.f
4820 69 72 73 74 42 61 72 72 65 6c 42 75 74 74 6f 6e 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 irstBarrelButton;...............
4840 20 20 20 20 20 20 20 63 61 73 65 20 50 65 6e 42 75 74 74 6f 6e 2e 42 61 72 72 65 6c 53 65 63 6f .......case.PenButton.BarrelSeco
4860 6e 64 3a 20 72 65 74 75 72 6e 20 73 65 63 6f 6e 64 42 61 72 72 65 6c 42 75 74 74 6f 6e 3b 0d 0a nd:.return.secondBarrelButton;..
4880 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 50 65 6e 42 75 74 74 ....................case.PenButt
48a0 6f 6e 2e 42 61 72 72 65 6c 54 68 69 72 64 3a 20 72 65 74 75 72 6e 20 74 68 69 72 64 42 61 72 72 on.BarrelThird:.return.thirdBarr
48c0 65 6c 42 75 74 74 6f 6e 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 elButton;......................c
48e0 61 73 65 20 50 65 6e 42 75 74 74 6f 6e 2e 42 61 72 72 65 6c 46 6f 75 72 74 68 3a 20 72 65 74 75 ase.PenButton.BarrelFourth:.retu
4900 72 6e 20 66 6f 75 72 74 68 42 61 72 72 65 6c 42 75 74 74 6f 6e 3b 0d 0a 20 20 20 20 20 20 20 20 rn.fourthBarrelButton;..........
4920 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 50 65 6e 42 75 74 74 6f 6e 2e 49 6e 52 61 6e ............case.PenButton.InRan
4940 67 65 3a 20 72 65 74 75 72 6e 20 69 6e 52 61 6e 67 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ge:.return.inRange;.............
4960 20 20 20 20 20 20 20 20 20 64 65 66 61 75 6c 74 3a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 .........default:...............
4980 20 20 20 20 20 20 20 20 20 20 20 74 68 72 6f 77 20 6e 65 77 20 49 6e 76 61 6c 69 64 45 6e 75 6d ...........throw.new.InvalidEnum
49a0 41 72 67 75 6d 65 6e 74 45 78 63 65 70 74 69 6f 6e 28 6e 61 6d 65 6f 66 28 62 75 74 74 6f 6e 29 ArgumentException(nameof(button)
49c0 2c 20 28 69 6e 74 29 62 75 74 74 6f 6e 2c 20 74 79 70 65 6f 66 28 50 65 6e 42 75 74 74 6f 6e 29 ,.(int)button,.typeof(PenButton)
49e0 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 );..................}...........
4a00 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 ...}..........}............///.<
4a20 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 4d 61 6b 65 20 74 68 69 73 20 summary>..........///.Make.this.
4a40 74 68 65 20 6c 61 73 74 20 75 73 65 64 20 70 65 6e 2c 20 69 2e 65 2e 20 3c 73 65 65 20 63 72 65 the.last.used.pen,.i.e..<see.cre
4a60 66 3d 22 63 75 72 72 65 6e 74 22 2f 3e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 f="current"/>...........///.</su
4a80 6d 6d 61 72 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 mmary>..........///.<remarks>...
4aa0 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 69 73 20 69 73 20 63 61 6c 6c 65 64 20 61 75 74 6f 6d 61 .......///.This.is.called.automa
4ac0 74 69 63 61 6c 6c 79 20 62 79 20 74 68 65 20 73 79 73 74 65 6d 20 77 68 65 6e 20 61 20 70 65 6e tically.by.the.system.when.a.pen
4ae0 20 69 73 20 61 64 64 65 64 20 6f 72 20 72 65 63 65 69 76 65 73 0d 0a 20 20 20 20 20 20 20 20 2f .is.added.or.receives........../
4b00 2f 2f 20 69 6e 70 75 74 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b 73 //.input...........///.</remarks
4b20 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 6f 76 65 72 72 69 64 65 20 76 6f 69 64 20 >..........public.override.void.
4b40 4d 61 6b 65 43 75 72 72 65 6e 74 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 MakeCurrent()..........{........
4b60 20 20 20 20 20 20 62 61 73 65 2e 4d 61 6b 65 43 75 72 72 65 6e 74 28 29 3b 0d 0a 20 20 20 20 20 ......base.MakeCurrent();.......
4b80 20 20 20 20 20 20 20 63 75 72 72 65 6e 74 20 3d 20 74 68 69 73 3b 0d 0a 20 20 20 20 20 20 20 20 .......current.=.this;..........
4ba0 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 0d 0a 20 20 20 20 }............///.<summary>......
4bc0 20 20 20 20 2f 2f 2f 20 43 61 6c 6c 65 64 20 77 68 65 6e 20 74 68 65 20 70 65 6e 20 69 73 20 72 ....///.Called.when.the.pen.is.r
4be0 65 6d 6f 76 65 64 20 66 72 6f 6d 20 74 68 65 20 73 79 73 74 65 6d 2e 0d 0a 20 20 20 20 20 20 20 emoved.from.the.system..........
4c00 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 70 72 6f 74 65 63 74 .///.</summary>..........protect
4c20 65 64 20 6f 76 65 72 72 69 64 65 20 76 6f 69 64 20 4f 6e 52 65 6d 6f 76 65 64 28 29 0d 0a 20 20 ed.override.void.OnRemoved()....
4c40 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 61 73 65 2e 4f 6e 52 65 6d 6f ......{..............base.OnRemo
4c60 76 65 64 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 75 72 72 65 6e 74 20 ved();..............if.(current.
4c80 3d 3d 20 74 68 69 73 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 75 72 72 65 6e ==.this)..................curren
4ca0 74 20 3d 20 6e 75 6c 6c 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 t.=.null;..........}............
4cc0 2f 2f 2f 20 3c 69 6e 68 65 72 69 74 64 6f 63 20 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 ///.<inheritdoc./>..........prot
4ce0 65 63 74 65 64 20 6f 76 65 72 72 69 64 65 20 76 6f 69 64 20 46 69 6e 69 73 68 53 65 74 75 70 28 ected.override.void.FinishSetup(
4d00 29 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 74 69 70 20 3d 20 )..........{..............tip.=.
4d20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 3e 28 22 GetChildControl<ButtonControl>("
4d40 74 69 70 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 72 61 73 65 72 20 3d 20 47 65 74 tip");..............eraser.=.Get
4d60 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 3e 28 22 65 72 61 ChildControl<ButtonControl>("era
4d80 73 65 72 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 69 72 73 74 42 61 72 72 65 6c 42 ser");..............firstBarrelB
4da0 75 74 74 6f 6e 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 42 75 74 74 6f 6e 43 6f utton.=.GetChildControl<ButtonCo
4dc0 6e 74 72 6f 6c 3e 28 22 62 61 72 72 65 6c 31 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ntrol>("barrel1");..............
4de0 73 65 63 6f 6e 64 42 61 72 72 65 6c 42 75 74 74 6f 6e 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e secondBarrelButton.=.GetChildCon
4e00 74 72 6f 6c 3c 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 3e 28 22 62 61 72 72 65 6c 32 22 29 3b 0d trol<ButtonControl>("barrel2");.
4e20 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 72 64 42 61 72 72 65 6c 42 75 74 74 6f 6e 20 3d .............thirdBarrelButton.=
4e40 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 3e 28 .GetChildControl<ButtonControl>(
4e60 22 62 61 72 72 65 6c 33 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 75 72 74 68 42 "barrel3");..............fourthB
4e80 61 72 72 65 6c 42 75 74 74 6f 6e 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 42 75 arrelButton.=.GetChildControl<Bu
4ea0 74 74 6f 6e 43 6f 6e 74 72 6f 6c 3e 28 22 62 61 72 72 65 6c 34 22 29 3b 0d 0a 20 20 20 20 20 20 ttonControl>("barrel4");........
4ec0 20 20 20 20 20 20 69 6e 52 61 6e 67 65 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c ......inRange.=.GetChildControl<
4ee0 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 3e 28 22 69 6e 52 61 6e 67 65 22 29 3b 0d 0a 20 20 20 20 ButtonControl>("inRange");......
4f00 20 20 20 20 20 20 20 20 74 69 6c 74 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 56 ........tilt.=.GetChildControl<V
4f20 65 63 74 6f 72 32 43 6f 6e 74 72 6f 6c 3e 28 22 74 69 6c 74 22 29 3b 0d 0a 20 20 20 20 20 20 20 ector2Control>("tilt");.........
4f40 20 20 20 20 20 74 77 69 73 74 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 41 78 69 .....twist.=.GetChildControl<Axi
4f60 73 43 6f 6e 74 72 6f 6c 3e 28 22 74 77 69 73 74 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 sControl>("twist");.............
4f80 20 62 61 73 65 2e 46 69 6e 69 73 68 53 65 74 75 70 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d .base.FinishSetup();..........}.
4fa0 0a 20 20 20 20 7d 0d 0a 7d 0d 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .....}..}.......................
4fc0 03 00 00 00 50 65 6e 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 ....Pen.....UnityEngine.InputSys
4fe0 74 65 6d 00 tem.