// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. namespace SharpDX.DirectInput { /// /// Enumeration of identifiers for Joystick updatable objects. /// public enum JoystickOffset : int { X = 0, Y = 4, Z = 8, RotationX = 12, RotationY = 16, RotationZ = 20, Sliders0 = 24, Sliders1 = 28, PointOfViewControllers0 = 32, PointOfViewControllers1 = 36, PointOfViewControllers2 = 40, PointOfViewControllers3 = 44, Buttons0 = 48, Buttons1 = 49, Buttons2 = 50, Buttons3 = 51, Buttons4 = 52, Buttons5 = 53, Buttons6 = 54, Buttons7 = 55, Buttons8 = 56, Buttons9 = 57, Buttons10 = 58, Buttons11 = 59, Buttons12 = 60, Buttons13 = 61, Buttons14 = 62, Buttons15 = 63, Buttons16 = 64, Buttons17 = 65, Buttons18 = 66, Buttons19 = 67, Buttons20 = 68, Buttons21 = 69, Buttons22 = 70, Buttons23 = 71, Buttons24 = 72, Buttons25 = 73, Buttons26 = 74, Buttons27 = 75, Buttons28 = 76, Buttons29 = 77, Buttons30 = 78, Buttons31 = 79, Buttons32 = 80, Buttons33 = 81, Buttons34 = 82, Buttons35 = 83, Buttons36 = 84, Buttons37 = 85, Buttons38 = 86, Buttons39 = 87, Buttons40 = 88, Buttons41 = 89, Buttons42 = 90, Buttons43 = 91, Buttons44 = 92, Buttons45 = 93, Buttons46 = 94, Buttons47 = 95, Buttons48 = 96, Buttons49 = 97, Buttons50 = 98, Buttons51 = 99, Buttons52 = 100, Buttons53 = 101, Buttons54 = 102, Buttons55 = 103, Buttons56 = 104, Buttons57 = 105, Buttons58 = 106, Buttons59 = 107, Buttons60 = 108, Buttons61 = 109, Buttons62 = 110, Buttons63 = 111, Buttons64 = 112, Buttons65 = 113, Buttons66 = 114, Buttons67 = 115, Buttons68 = 116, Buttons69 = 117, Buttons70 = 118, Buttons71 = 119, Buttons72 = 120, Buttons73 = 121, Buttons74 = 122, Buttons75 = 123, Buttons76 = 124, Buttons77 = 125, Buttons78 = 126, Buttons79 = 127, Buttons80 = 128, Buttons81 = 129, Buttons82 = 130, Buttons83 = 131, Buttons84 = 132, Buttons85 = 133, Buttons86 = 134, Buttons87 = 135, Buttons88 = 136, Buttons89 = 137, Buttons90 = 138, Buttons91 = 139, Buttons92 = 140, Buttons93 = 141, Buttons94 = 142, Buttons95 = 143, Buttons96 = 144, Buttons97 = 145, Buttons98 = 146, Buttons99 = 147, Buttons100 = 148, Buttons101 = 149, Buttons102 = 150, Buttons103 = 151, Buttons104 = 152, Buttons105 = 153, Buttons106 = 154, Buttons107 = 155, Buttons108 = 156, Buttons109 = 157, Buttons110 = 158, Buttons111 = 159, Buttons112 = 160, Buttons113 = 161, Buttons114 = 162, Buttons115 = 163, Buttons116 = 164, Buttons117 = 165, Buttons118 = 166, Buttons119 = 167, Buttons120 = 168, Buttons121 = 169, Buttons122 = 170, Buttons123 = 171, Buttons124 = 172, Buttons125 = 173, Buttons126 = 174, Buttons127 = 175, VelocityX = 176, VelocityY = 180, VelocityZ = 184, AngularVelocityX = 188, AngularVelocityY = 192, AngularVelocityZ = 196, VelocitySliders0 = 200, VelocitySliders1 = 204, AccelerationX = 208, AccelerationY = 212, AccelerationZ = 216, AngularAccelerationX = 220, AngularAccelerationY = 224, AngularAccelerationZ = 228, AccelerationSliders0 = 232, AccelerationSliders1 = 236, ForceX = 240, ForceY = 244, ForceZ = 248, TorqueX = 252, TorqueY = 256, TorqueZ = 260, ForceSliders0 = 264, ForceSliders1 = 268, } }