using StgSharp.Graphic; using System; using System.Collections.Generic; using System.Text; namespace StgSharp.Graphic.Input { public enum HidSimulationUsage : ushort { /// /// This usage definition allows a device to be generally classified as one that uses the /// standard controls found on an airplane. /// FlightSimulationDevice = 0x01, /// /// This usage definition allows a device to be generally classified as one that uses the /// standard controls found in an automobile or truck. /// AutomobileSimulationDevice = 0x02, /// /// This usage definition allows a device to be generally classified as one that uses /// standard controls found in a tank or a treaded vehicle. /// TankSimulationDevice = 0x03, /// /// This usage definition allows a device to be generally classified as one that uses /// standard controls found on a spaceship. /// SpaceshipSimulationDevice = 0x04, /// /// Allows a device to be generally classified as one that uses the standard controls of a submarine. /// SubmarineSimulationDevice = 0x05, /// /// Allows a device to be generally classified as one that uses the standard controls of a sailboat. /// SailingSimulationDevice = 0x06, /// /// Allows a device to be generally classified as one that uses the standard controls of a motorcycle. /// MotorcycleSimulationDevice = 0x07, /// /// This usage definition allows a device to be generally classified as one that uses /// standard controls found on a sports simulation device. /// SportsSimulationDevice = 0x08, /// /// This usage definition allows a device to be generally classified as one that uses /// standard controls found on an airplane. /// AirplaneSimulationDevice = 0x09, /// /// This usage definition allows a device to be generally classified as one that uses /// standard controls found on a helicopter. /// HelicopterSimulationDevice = 0x0A, /// /// Allows a device to be generally classified as one that uses the standard control of a magic carpet. /// MagicCarpetSimulationDevice = 0x0B, /// /// Allows a device to be generally classified as one that uses the standard controls of a bicycle. /// BicycleSimulationDevice = 0x0C, // 0x0D - 0x1F // Reserved /// /// A Flight Control Stick controls the Pitch and Roll of an airplane. /// FlightControlStick = 0x20, /// /// A Flight Stick defines a class of device commonly used for flight simulator games. /// FlightStick = 0x21, /// /// This control is specifically for a helicopter. /// A cyclic control is a stick between the pilot’s legs that moves in two axes. /// CyclicControl = 0x22, /// /// This control is specifically for a helicopter. /// Cyclic Trim allows fine adjustment of the cyclic position in two dimensions. /// CyclicTrim = 0x23, /// /// A flight yoke (also called a control wheel) controls the pitch and roll of an airplane. /// FlightYoke = 0x24, /// /// A device for controlling the direction and velocity of a vehicle that is driven by tracks. /// TrackControl = 0x25, // 0x26 - 0xAF // Reserved /// /// An aileron is one of two movable flaps on the wings of an airplane that can be used /// to control the plane’s rolling and banking movements. /// Aileron = 0xB0, /// /// Allows fine adjustment of the Aileron position. /// AileronTrim = 0xB1, /// /// This control mechanically behaves the same as rudder pedals. /// AntiTorqueControl = 0xB2, /// /// This control enables or disables an airplane’s autopilot. /// AutopilotEnable = 0xB3, /// /// Chaff is used to reflect electromagnetic energy as a radar countermeasure. /// ChaffRelease = 0xB4, /// /// This control is specifically for a helicopter. /// It controls the vertical acceleration or lift of the helicopter. /// CollectiveControl = 0xB5, /// /// A flap that can be extended on an aircraft to increase drag and reduce the speed of descent. /// DiveBrake = 0xB6, /// /// A pushbutton that enables electronic countermeasures. /// ElectronicCountermeasures = 0xB7, /// /// A movable control surface, usually attached to the horizontal stabilizer of an aircraft, /// that is used to produce motion up or down. /// Elevator = 0xB8, /// /// Elevator Trim allows fine adjustment of the Elevator position. /// ElevatorTrim = 0xB9, /// /// The zero position is centered, positive values turn right, and negative values turn left. /// Rudder = 0xBA, /// /// A valve that regulates the flow of a fluid, such as the valve in an internal-combustion engine /// that controls the amount of vaporized fuel entering the cylinders. /// Throttle = 0xBB, /// /// Typically this is a two-position pushbutton where the first position enables communications with the /// crew and the second position enables the transmitter for communication external to the plane. /// FlightCommunications = 0xBC, /// /// A flare is a device that produces a bright light for signaling, illumination, identification, /// or heat for infrared missile countermeasures. /// FlareRelease = 0xBD, /// /// A control for raising or lowering an airplane’s landing gear. /// LandingGear = 0xBE, /// /// A device for slowing or stopping the motion of an airplane when it is on the ground. /// ToeBrake = 0xBF, /// /// A lever pressed by the finger to release or activate a mechanism, typically used to discharge a firearm. /// Trigger = 0xC0, /// /// This device is normally a covered toggle switch that must be selected to enable the weapons system. /// WeaponsArm = 0xC1, /// /// This device can either be a pushbutton that steps through the available weapons or /// a radio button that selects them individually. /// WeaponsSelect = 0xC2, /// /// Wing flap controls are usually powered either hydraulically or by electric motors, /// and are used for low-speed control of an airplane. /// WingFlaps = 0xC3, /// /// A device, especially the gas pedal of a motor vehicle, for increasing speed. /// Accelerator = 0xC4, /// /// A device for slowing or stopping motion, as of a vehicle, especially by contact friction. /// Brake = 0xC5, /// /// A device for disengaging the transmission of a vehicle to allow shifting of gears. /// Clutch = 0xC6, /// /// A device for shifting gears in a vehicle. /// Shifter = 0xC7, /// /// A steering wheel is a single degree-of-freedom device that rotates about an axis. /// Steering = 0xC8, /// /// This control determines the right-to-left positioning of the tank turret. /// TurretDirection = 0xC9, /// /// This control determines the elevation of the gun barrel in a turret. /// BarrelElevation = 0xCA, /// /// Dive planes control the vertical ascent or descent of the submarine under power. /// DivePlane = 0xCB, /// /// Ballast controls the vertical ascent or descent of the submarine. /// Ballast = 0xCC, /// /// A foot-operated assembly of pedals attached to a crank that is used for powering a bicycle. /// BicycleCrank = 0xCD, /// /// A steering control, held in both hands, for a motorcycle or bicycle. /// HandleBars = 0xCE, /// /// Engages the front brake of the motorcycle to slow the vehicle. /// FrontBrake = 0xCF, /// /// Engages the rear brake of the motorcycle to slow the vehicle. /// RearBrake = 0xD0, // 0xD1 - 0xFFFF // Reserved } }