sl@8: // sl@8: // sl@8: // sl@8: sl@8: namespace Hid sl@8: { sl@8: /// sl@8: /// From USB HID usage tables. sl@8: /// http://www.usb.org/developers/hidpage#HID_Usage sl@8: /// http://www.usb.org/developers/devclass_docs/Hut1_12v2.pdf sl@8: /// sl@8: public enum UsagePage : ushort sl@8: { sl@8: Undefined = 0, sl@28: GenericDesktopControls, sl@28: SimulationControls, sl@28: VirtualRealityControls, sl@28: SportControls, sl@28: GameControls, sl@28: GenericDeviceControls, sl@8: Keyboard, sl@8: LightEmittingDiode, sl@8: Button, sl@8: Ordinal, sl@8: Telephony, sl@8: Consumer, sl@8: Digitiser, sl@8: PhysicalInterfaceDevice = 0x0f, sl@8: Unicode = 0x10, sl@8: AlphaNumericDisplay = 0x14, sl@8: MedicalInstruments = 0x40, sl@8: MonitorPage0 = 0x80, sl@8: MonitorPage1, sl@8: MonitorPage2, sl@8: MonitorPage3, sl@8: PowerPage0, sl@8: PowerPage1, sl@8: PowerPage2, sl@8: PowerPage3, sl@8: BarCodeScanner = 0x8c, sl@8: Scale, sl@8: MagneticStripeReader, sl@8: ReservedPointOfSale, sl@8: CameraControl, sl@8: Arcade, sl@8: // http://msdn.microsoft.com/en-us/library/windows/desktop/bb417079.aspx sl@30: WindowsMediaCenterRemoteControl = 0xffbc, sl@8: TerraTecRemote = 0xffcc sl@8: } sl@8: StephaneLenclud@61: /// StephaneLenclud@61: /// Usage Collection for usage page GenericDesktopControls. StephaneLenclud@61: /// sl@28: public enum UsageCollectionGenericDesktop : ushort sl@33: { sl@21: Pointer = 0x01, sl@21: Mouse = 0x02, sl@21: Joystick = 0x04, sl@21: GamePad = 0x05, sl@21: Keyboard = 0x06, sl@21: KeyPad = 0x07, sl@21: MultiAxisController = 0x08, sl@21: TabletPCSystemControls = 0x09, sl@21: SystemControl = 0x80 sl@21: } sl@21: StephaneLenclud@61: /// StephaneLenclud@61: /// Usage Collection for usage page Consumer. StephaneLenclud@61: /// sl@28: public enum UsageCollectionConsumer : ushort sl@8: { sl@21: ConsumerControl = 0x01, sl@21: NumericKeyPad = 0x02, sl@21: ProgrammableButtons = 0x03, sl@21: Microphone = 0x04, sl@21: Headphone = 0x05, sl@21: GraphicEqualizer = 0x06, sl@28: FunctionButtons = 0x36, sl@21: Selection = 0x80, sl@28: MediaSelection = 0x0087, sl@28: SelectDisc = 0x00BA, sl@28: PlaybackSpeed = 0x00F1, sl@28: Proximity = 0x0109, sl@28: SpeakerSystem = 0x0160, sl@28: ChannelLeft = 0x0161, sl@28: ChannelRight = 0x0162, sl@28: ChannelCenter = 0x0163, sl@28: ChannelFront = 0x0164, sl@28: ChannelCenterFront = 0x0165, sl@28: ChannelSide = 0x0166, sl@28: ChannelSurrond = 0x0167, sl@28: ChannelLowFrequencyEnhancement = 0x0168, sl@28: ChannelTop = 0x0169, sl@28: ChannelUnknown = 0x016A, sl@28: ApplicationLaunchButtons = 0x016A, sl@28: GenericGuiApplicationControls = 0x0200, sl@21: } sl@21: sl@33: sl@35: public enum UsageCollectionWindowsMediaCenter : ushort sl@21: { sl@33: WindowsMediaCenterRemoteControl = 0x88 sl@8: } sl@8: sl@8: sl@8: sl@8: namespace UsageTables sl@8: { sl@8: /// sl@8: /// sl@8: /// sl@35: public enum WindowsMediaCenterRemoteControl : ushort sl@8: { sl@8: /// sl@8: /// Not defined by the Microsoft specs. sl@8: /// sl@35: Null = 0x00, sl@35: GreenStart = 0x0D, sl@35: ClosedCaptioning = 0x2B, sl@35: Teletext = 0x5A, sl@35: TeletextRed = 0x5B, sl@35: TeletextGreen = 0x5C, sl@35: TeletextYellow = 0x5D, sl@35: TeletextBlue = 0x5E, sl@35: LiveTv = 0x25, sl@35: Tv = 0x46, sl@35: Music = 0x47, sl@35: RecordedTv = 0x48, sl@35: Pictures = 0x49, sl@35: Videos = 0x4A, sl@35: FmRadio = 0x50, sl@35: Extras = 0x3C, sl@35: ExtrasApp = 0x3D, sl@35: DvdMenu = 0x24, sl@35: DvdAngle = 0x4B, sl@35: DvdAudio = 0x4C, sl@35: DvdSubtitle = 0x4D, sl@8: /// sl@8: /// First press action: Ejects a DVD drive. sl@8: /// sl@8: /// Second press action: Repeats first press action. sl@8: /// sl@8: /// Notably issued by XBOX360 remote as defined in irplus - Remote Control - Android application. sl@8: /// sl@35: Eject = 0x28, sl@35: DvdTopMenu = 0x43, sl@8: /// sl@8: /// First press action: Generates EXTn HID message in the Media Center Vendor Specific sl@8: /// Collection (page 0xFFBC, usage 0x88). sl@8: /// sl@8: /// Second press action: Repeats message. sl@8: /// sl@8: /// Auto-repeat: No sl@8: /// sl@8: /// Notably sent by the 'Visualization' button of HP Windows Media Center Remote (TSGH-IR08). sl@8: /// sl@8: /// According to HP specs it displays visual imagery that is synchronized to the sound of your music tracks. sl@8: /// sl@35: Ext0 = 0x32, sl@8: /// sl@8: /// First press action: Generates EXTn HID message in the Media Center Vendor Specific sl@8: /// Collection (page 0xFFBC, usage 0x88). sl@8: /// sl@8: /// Second press action: Repeats message. sl@8: /// sl@8: /// Auto-repeat: No sl@8: /// sl@8: /// Notably sent by the 'Slide Show' button of HP Windows Media Center Remote (TSGH-IR08). sl@8: /// sl@8: /// According to HP specs it plays a slide show of all the pictures on your hard disk drive. sl@8: /// sl@35: Ext1 = 0x33, sl@8: /// sl@8: /// First press action: Generates EXTn HID message in the Media Center Vendor Specific sl@8: /// Collection (page 0xFFBC, usage 0x88). sl@8: /// sl@8: /// Second press action: Repeats message. sl@8: /// sl@8: /// Auto-repeat: No sl@8: /// sl@8: /// Notably sent by the 'Eject' button of HP Windows Media Center Remote (TSGH-IR08). sl@8: /// Also interpreted as 'Eject' action by SoundGraph iMON Manager in MCE mode (OrigenAE VF310). sl@8: /// sl@35: Ext2 = 0x34, sl@8: /// sl@8: /// First press action: Generates EXTn HID message in the Media Center Vendor Specific sl@8: /// Collection (page 0xFFBC, usage 0x88). sl@8: /// sl@8: /// Second press action: Repeats message. sl@8: /// sl@8: /// Auto-repeat: No sl@8: /// sl@8: /// Notably sent by the 'Input selection' button of HP Windows Media Center Remote (TSGH-IR08). sl@8: /// sl@35: Ext3 = 0x35, sl@35: Ext4 = 0x36, sl@35: Ext5 = 0x37, sl@35: Ext6 = 0x38, sl@35: Ext7 = 0x39, sl@35: Ext8 = 0x3A, sl@35: Ext9 = 0x80, sl@35: Ext10 = 0x81, sl@35: Ext11 = 0x6F, sl@35: Zoom = 0x27, sl@35: ChannelInput = 0x42, sl@35: SubAudio = 0x2D, sl@35: Channel10 = 0x3E, sl@35: Channel11 = 0x3F, sl@35: Channel12 = 0x40, sl@8: /// sl@8: /// First press action: Generates OEM2 HID message in the Media Center Vendor Specific sl@8: /// Collection. This button is intended to control the front panel display of home entertainment sl@8: /// computers. When this button is pressed, the display could be turned on or off, or the display sl@8: /// mode could change. sl@8: /// sl@8: /// Second press action: Repeats message. sl@8: /// sl@8: /// Auto-repeat: No sl@8: /// sl@8: /// Notably issued by XBOX360 remote as defined in irplus - Remote Control - Android application. sl@8: /// sl@35: Display = 0x4F, sl@8: /// sl@8: /// First press action: To be determined. sl@8: /// sl@8: /// Second press action: Repeats message. sl@8: /// sl@8: /// Auto-repeat: No sl@8: /// sl@35: Kiosk = 0x6A, sl@35: NetworkSelection = 0x2C, sl@35: BlueRayTool = 0x78, sl@35: ChannelInfo = 0x41, sl@35: VideoSelection = 0x61 sl@8: } sl@8: sl@11: /// sl@11: /// Those codes come from experimenting with HP remotes. sl@11: /// sl@31: public enum HpWindowsMediaCenterRemoteControl : ushort sl@8: { sl@8: /// sl@8: /// Displays visual imagery that is synchronized to the sound of your music tracks. sl@8: /// sl@8: /// Second press action: Repeats message. sl@8: /// sl@8: /// Auto-repeat: No sl@8: /// sl@8: /// Notably sent by the 'Visualization' button of HP Windows Media Center Remote (TSGH-IR08). sl@8: /// sl@8: /// According to HP specs it displays visual imagery that is synchronized to the sound of your music tracks. sl@8: /// sl@30: Visualization = WindowsMediaCenterRemoteControl.Ext0, sl@8: /// sl@8: /// Plays a slide show of all the pictures on your hard disk drive. sl@8: /// sl@8: /// Second press action: Repeats message. sl@8: /// sl@8: /// Auto-repeat: No sl@8: /// sl@8: /// Notably sent by the 'Slide Show' button of HP Windows Media Center Remote (TSGH-IR08). sl@8: /// sl@8: /// According to HP specs it plays a slide show of all the pictures on your hard disk drive. sl@8: /// sl@30: SlideShow = WindowsMediaCenterRemoteControl.Ext1, sl@8: /// sl@8: /// Eject optical drive. sl@8: /// sl@8: /// Second press action: Repeats message. sl@8: /// sl@8: /// Auto-repeat: No sl@8: /// sl@8: /// Notably sent by the 'Eject' button of HP Windows Media Center Remote (TSGH-IR08). sl@8: /// Also interpreted as 'Eject' action by SoundGraph iMON Manager in MCE mode (OrigenAE VF310). sl@8: /// sl@31: HpEject = WindowsMediaCenterRemoteControl.Ext2, sl@8: /// sl@8: /// Not sure what this should do. sl@8: /// sl@8: /// Second press action: Repeats message. sl@8: /// sl@8: /// Auto-repeat: No sl@8: /// sl@8: /// Notably sent by the 'Input selection' button of HP Windows Media Center Remote (TSGH-IR08). sl@8: /// sl@30: InputSelection = WindowsMediaCenterRemoteControl.Ext3, sl@8: } sl@8: sl@8: /// sl@8: /// Usage Table for Consumer Controls sl@8: /// 0x0C 0X01 sl@8: /// sl@33: public enum ConsumerControl : ushort sl@8: { sl@35: Null = 0x00, sl@33: ConsumerControl = 0x01, sl@33: NumericKeyPad = 0x02, sl@33: ProgrammableButtons = 0x03, sl@33: Microphone = 0x04, sl@33: Headphone = 0x05, sl@33: GraphicEqualizer = 0x06, sl@33: Plus10 = 0x20, sl@33: Plus100 = 0x21, sl@33: AmPm = 0x22, sl@33: Power = 0x30, sl@33: Reset = 0x31, sl@33: Sleep = 0x32, sl@33: SleepAfter = 0x33, sl@33: SleepMode = 0x34, sl@33: Illumination = 0x35, sl@33: FunctionButtons = 0x36, sl@33: Menu = 0x40, sl@33: MenuPick = 0x41, sl@33: MenuUp = 0x42, sl@33: MenuDown = 0x43, sl@33: MenuLeft = 0x44, sl@33: MenuRight = 0x45, sl@33: MenuEscape = 0x46, sl@33: MenuValueIncrease = 0x47, sl@33: MenuValueDecrease = 0x48, sl@33: DataOnScreen = 0x60, sl@33: ClosedCaption = 0x61, sl@33: ClosedCaptionSelect = 0x62, sl@33: VcrTv = 0x63, sl@33: BroadcastMode = 0x64, sl@33: Snapshot = 0x65, sl@33: Still = 0x66, sl@33: Selection = 0x80, sl@33: AssignSelection = 0x81, sl@33: ModeStep = 0x82, sl@33: RecallLast = 0x83, sl@33: EnterChannel = 0x84, sl@33: OrderMovie = 0x85, sl@33: Channel = 0x86, sl@33: MediaSelection = 0x87, sl@33: MediaSelectComputer = 0x88, sl@33: MediaSelectTv = 0x89, sl@33: MediaSelectWww = 0x8A, sl@33: MediaSelectDvd = 0x8B, sl@33: MediaSelectTelephone = 0x8C, sl@33: MediaSelectProgramGuide = 0x8D, sl@33: MediaSelectVideoPhone = 0x8E, sl@33: MediaSelectGames = 0x8F, sl@33: MediaSelectMessages = 0x90, sl@33: MediaSelectCd = 0x91, sl@33: MediaSelectVcr = 0x92, sl@33: MediaSelectTuner = 0x93, sl@33: Quit = 0x94, sl@33: Help = 0x95, sl@33: MediaSelectTape = 0x96, sl@33: MediaSelectCable = 0x97, sl@33: MediaSelectSatellite = 0x98, sl@33: MediaSelectSecurity = 0x99, sl@33: MediaSelectHome = 0x9A, sl@33: MediaSelectCall = 0x9B, sl@33: ChannelIncrement = 0x9C, sl@33: ChannelDecrement = 0x9D, sl@33: MediaSelectSap = 0x9E, sl@33: VcrPlus = 0xA0, sl@33: Once = 0xA1, sl@33: Daily = 0xA2, sl@33: Weekly = 0xA3, sl@33: Monthly = 0xA4, sl@33: Play = 0xB0, sl@33: Pause = 0xB1, sl@33: Record = 0xB2, sl@33: FastForward = 0xB3, sl@33: Rewind = 0xB4, sl@33: ScanNextTrack = 0xB5, sl@33: ScanPreviousTrack = 0xB6, sl@33: Stop = 0xB7, sl@33: Eject = 0xB8, sl@33: RandomPlay = 0xB9, sl@33: SelectDisc = 0xBA, sl@33: EnterDisc = 0xBB, sl@33: Repeat = 0xBC, sl@33: Tracking = 0xBD, sl@33: TrackNormal = 0xBE, sl@33: SlowTracking = 0xBF, sl@33: FrameForward = 0xC0, sl@33: FrameBack = 0xC1, sl@33: Mark = 0xC2, sl@33: ClearMark = 0xC3, sl@33: RepeatFromMark = 0xC4, sl@33: ReturnToMark = 0xC5, sl@33: SearchMarkForward = 0xC6, sl@33: SearchMarkBackwards = 0xC7, sl@33: CounterReset = 0xC8, sl@33: ShowCounter = 0xC9, sl@33: TrackingIncrement = 0xCA, sl@33: TrackingDecrement = 0xCB, sl@33: StopEject = 0xCC, sl@33: PlayPause = 0xCD, sl@33: PlaySkip = 0xCE, sl@33: Volume = 0xE0, sl@33: Balance = 0xE1, sl@33: Mute = 0xE2, sl@33: Bass = 0xE3, sl@33: Treble = 0xE4, sl@33: BassBoost = 0xE5, sl@33: SurroundMode = 0xE6, sl@33: Loudness = 0xE7, sl@33: Mpx = 0xE8, sl@33: VolumeIncrement = 0xE9, sl@33: VolumeDecrement = 0xEA, sl@33: SpeedSelect = 0xF0, sl@33: PlaybackSpeed = 0xF1, sl@33: StandardPlay = 0xF2, sl@33: LongPlay = 0xF3, sl@33: ExtendedPlay = 0xF4, sl@33: Slow = 0xF5, sl@33: FanEnable = 0x100, sl@33: FanSpeed = 0x101, sl@33: LightEnable = 0x102, sl@33: LightIlluminationLevel = 0x103, sl@33: ClimateControlEnable = 0x104, sl@33: RoomTemperature = 0x105, sl@33: SecurityEnable = 0x106, sl@33: FireAlarm = 0x107, sl@33: PoliceAlarm = 0x108, sl@33: Proximity = 0x109, sl@33: Motion = 0x10A, sl@33: DuressAlarm = 0x10B, sl@33: HoldupAlarm = 0x10C, sl@33: MedicalAlarm = 0x10D, sl@33: BalanceRight = 0x150, sl@33: BalanceLeft = 0x151, sl@33: BassIncrement = 0x152, sl@33: BassDecrement = 0x153, sl@33: TrebleIncrement = 0x154, sl@33: TrebleDecrement = 0x155, sl@33: SpeakerSystem = 0x160, sl@33: ChannelLeft = 0x161, sl@33: ChannelRight = 0x162, sl@33: ChannelCenter = 0x163, sl@33: ChannelFront = 0x164, sl@33: ChannelCenterFront = 0x165, sl@33: ChannelSide = 0x166, sl@33: ChannelSurround = 0x167, sl@33: ChannelLowFrequencyEnhancement = 0x168, sl@33: ChannelTop = 0x169, sl@33: ChannelUnknown = 0x16A, sl@33: SubChannel = 0x170, sl@33: SubChannelIncrement = 0x171, sl@33: SubChannelDecrement = 0x172, sl@33: AlternateAudioIncrement = 0x173, sl@33: AlternateAudioDecrement = 0x174, sl@33: ApplicationLaunchButtons = 0x180, sl@33: AppLaunchLaunchButtonConfigurationTool = 0x181, sl@33: AppLaunchProgrammableButtonConfiguration = 0x182, sl@33: AppLaunchConsumerControlConfiguration = 0x183, sl@33: AppLaunchWordProcessor = 0x184, sl@33: AppLaunchTextEditor = 0x185, sl@33: AppLaunchSpreadsheet = 0x186, sl@33: AppLaunchGraphicsEditor = 0x187, sl@33: AppLaunchPresentationApp = 0x188, sl@33: AppLaunchDatabaseApp = 0x189, sl@33: AppLaunchEmailReader = 0x18A, sl@33: AppLaunchNewsreader = 0x18B, sl@33: AppLaunchVoicemail = 0x18C, sl@33: AppLaunchContactsAddressBook = 0x18D, sl@33: AppLaunchCalendarSchedule = 0x18E, sl@33: AppLaunchTaskProjectManager = 0x18F, sl@33: AppLaunchLogJournalTimecard = 0x190, sl@33: AppLaunchCheckbookFinance = 0x191, sl@33: AppLaunchCalculator = 0x192, sl@33: AppLaunchAVCapturePlayback = 0x193, sl@33: AppLaunchLocalMachineBrowser = 0x194, sl@33: AppLaunchLanWanBrowser = 0x195, sl@33: AppLaunchInternetBrowser = 0x196, sl@33: AppLaunchRemoteNetworkingIspConnect = 0x197, sl@33: AppLaunchNetworkConference = 0x198, sl@33: AppLaunchNetworkChat = 0x199, sl@33: AppLaunchTelephonyDialer = 0x19A, sl@33: AppLaunchLogon = 0x19B, sl@33: AppLaunchLogoff = 0x19C, sl@33: AppLaunchLogonLogoff = 0x19D, sl@33: AppLaunchTerminalLockScreensaver = 0x19E, sl@33: AppLaunchControlPanel = 0x19F, sl@33: AppLaunchCommandLineProcessorRun = 0x1A0, sl@33: AppLaunchProcessTaskManager = 0x1A1, sl@33: AppLaunchSelectTaskApplication = 0x1A2, sl@33: AppLaunchNextTaskApplication = 0x1A3, sl@33: AppLaunchPreviousTaskApplication = 0x1A4, sl@33: AppLaunchPreemptiveHaltTaskApplication = 0x1A5, sl@33: AppLaunchIntegratedHelpCenter = 0x1A6, sl@33: AppLaunchDocuments = 0x1A7, sl@33: AppLaunchThesaurus = 0x1A8, sl@33: AppLaunchDictionary = 0x1A9, sl@33: AppLaunchDesktop = 0x1AA, sl@33: AppLaunchSpellCheck = 0x1AB, sl@33: AppLaunchGrammarCheck = 0x1AC, sl@33: AppLaunchWirelessStatus = 0x1AD, sl@33: AppLaunchKeyboardLayout = 0x1AE, sl@33: AppLaunchVirusProtection = 0x1AF, sl@33: AppLaunchEncryption = 0x1B0, sl@33: AppLaunchScreenSaver = 0x1B1, sl@33: AppLaunchAlarms = 0x1B2, sl@33: AppLaunchClock = 0x1B3, sl@33: AppLaunchFileBrowser = 0x1B4, sl@33: AppLaunchPowerStatus = 0x1B5, sl@33: AppLaunchImageBrowser = 0x1B6, sl@33: AppLaunchAudioBrowser = 0x1B7, sl@33: AppLaunchMovieBrowser = 0x1B8, sl@33: AppLaunchDigitalRightsManager = 0x1B9, sl@33: AppLaunchDigitalWallet = 0x1BA, sl@33: AppLaunchInstantMessaging = 0x1BC, sl@33: AppLaunchOemFeaturesTipsTutorialBrowser = 0x1BD, sl@33: AppLaunchOemHelp = 0x1BE, sl@33: AppLaunchOnlineCommunity = 0x1BF, sl@33: AppLaunchEntertainmentContentBrowser = 0x1C0, sl@33: AppLaunchOnlineShoppingBrowser = 0x1C1, sl@33: AppLaunchSmartcardInformationHelp = 0x1C2, sl@33: AppLaunchMarketMonitorFinanceBrowser = 0x1C3, sl@33: AppLaunchCustomizedCorporateNewsBrowser = 0x1C4, sl@33: AppLaunchOnlineActivityBrowser = 0x1C5, sl@33: AppLaunchResearchSearchBrowser = 0x1C6, sl@33: AppLaunchAudioPlayer = 0x1C7, sl@33: GenericGuiApplicationControls = 0x200, sl@33: AppCtrlNew = 0x201, sl@33: AppCtrlOpen = 0x202, sl@33: AppCtrlClose = 0x203, sl@33: AppCtrlExit = 0x204, sl@33: AppCtrlMaximize = 0x205, sl@33: AppCtrlMinimize = 0x206, sl@33: AppCtrlSave = 0x207, sl@33: AppCtrlPrint = 0x208, sl@33: AppCtrlProperties = 0x209, sl@33: AppCtrlUndo = 0x21A, sl@33: AppCtrlCopy = 0x21B, sl@33: AppCtrlCut = 0x21C, sl@33: AppCtrlPaste = 0x21D, sl@33: AppCtrlSelectAll = 0x21E, sl@33: AppCtrlFind = 0x21F, sl@33: AppCtrlFindAndReplace = 0x220, sl@33: AppCtrlSearch = 0x221, sl@33: AppCtrlGoTo = 0x222, sl@33: AppCtrlHome = 0x223, sl@33: AppCtrlBack = 0x224, sl@33: AppCtrlForward = 0x225, sl@33: AppCtrlStop = 0x226, sl@33: AppCtrlRefresh = 0x227, sl@33: AppCtrlPreviousLink = 0x228, sl@33: AppCtrlNextLink = 0x229, sl@33: AppCtrlBookmarks = 0x22A, sl@33: AppCtrlHistory = 0x22B, sl@33: AppCtrlSubscriptions = 0x22C, sl@33: AppCtrlZoomIn = 0x22D, sl@33: AppCtrlZoomOut = 0x22E, sl@33: AppCtrlZoom = 0x22F, sl@33: AppCtrlFullScreenView = 0x230, sl@33: AppCtrlNormalView = 0x231, sl@33: AppCtrlViewToggle = 0x232, sl@33: AppCtrlScrollUp = 0x233, sl@33: AppCtrlScrollDown = 0x234, sl@33: AppCtrlScroll = 0x235, sl@33: AppCtrlPanLeft = 0x236, sl@33: AppCtrlPanRight = 0x237, sl@33: AppCtrlPan = 0x238, sl@33: AppCtrlNewWindow = 0x239, sl@33: AppCtrlTileHorizontally = 0x23A, sl@33: AppCtrlTileVertically = 0x23B, sl@33: AppCtrlFormat = 0x23C, sl@33: AppCtrlEdit = 0x23D, sl@33: AppCtrlBold = 0x23E, sl@33: AppCtrlItalics = 0x23F, sl@33: AppCtrlUnderline = 0x240, sl@33: AppCtrlStrikethrough = 0x241, sl@33: AppCtrlSubscript = 0x242, sl@33: AppCtrlSuperscript = 0x243, sl@33: AppCtrlAllCaps = 0x244, sl@33: AppCtrlRotate = 0x245, sl@33: AppCtrlResize = 0x246, sl@33: AppCtrlFlipHorizontal = 0x247, sl@33: AppCtrlFlipVertical = 0x248, sl@33: AppCtrlMirrorHorizontal = 0x249, sl@33: AppCtrlMirrorVertical = 0x24A, sl@33: AppCtrlFontSelect = 0x24B, sl@33: AppCtrlFontColor = 0x24C, sl@33: AppCtrlFontSize = 0x24D, sl@33: AppCtrlJustifyLeft = 0x24E, sl@33: AppCtrlJustifyCenterH = 0x24F, sl@33: AppCtrlJustifyRight = 0x250, sl@33: AppCtrlJustifyBlockH = 0x251, sl@33: AppCtrlJustifyTop = 0x252, sl@33: AppCtrlJustifyCenterV = 0x253, sl@33: AppCtrlJustifyBottom = 0x254, sl@33: AppCtrlJustifyBlockV = 0x255, sl@33: AppCtrlIndentDecrease = 0x256, sl@33: AppCtrlIndentIncrease = 0x257, sl@33: AppCtrlNumberedList = 0x258, sl@33: AppCtrlRestartNumbering = 0x259, sl@33: AppCtrlBulletedList = 0x25A, sl@33: AppCtrlPromote = 0x25B, sl@33: AppCtrlDemote = 0x25C, sl@33: AppCtrlYes = 0x25D, sl@33: AppCtrlNo = 0x25E, sl@33: AppCtrlCancel = 0x25F, sl@33: AppCtrlCatalog = 0x260, sl@33: AppCtrlBuyCheckout = 0x261, sl@33: AppCtrlAddToCart = 0x262, sl@33: AppCtrlExpand = 0x263, sl@33: AppCtrlExpandAll = 0x264, sl@33: AppCtrlCollapse = 0x265, sl@33: AppCtrlCollapseAll = 0x266, sl@33: AppCtrlPrintPreview = 0x267, sl@33: AppCtrlPasteSpecial = 0x268, sl@33: AppCtrlInsertMode = 0x269, sl@33: AppCtrlDelete = 0x26A, sl@33: AppCtrlLock = 0x26B, sl@33: AppCtrlUnlock = 0x26C, sl@33: AppCtrlProtect = 0x26D, sl@33: AppCtrlUnprotect = 0x26E, sl@33: AppCtrlAttachComment = 0x26F, sl@33: AppCtrlDeleteComment = 0x270, sl@33: AppCtrlViewComment = 0x271, sl@33: AppCtrlSelectWord = 0x272, sl@33: AppCtrlSelectSentence = 0x273, sl@35: AppCtrlSelectParagraph = 0x274, sl@35: AppCtrlSelectColumn = 0x275, sl@35: AppCtrlSelectRow = 0x276, sl@35: AppCtrlSelectTable = 0x277, sl@35: AppCtrlSelectObject = 0x278, sl@35: AppCtrlRedoRepeat = 0x279, sl@35: AppCtrlSort = 0x27A, sl@35: AppCtrlSortAscending = 0x27B, sl@35: AppCtrlSortDescending = 0x27C, sl@35: AppCtrlFilter = 0x27D, sl@35: AppCtrlSetClock = 0x27E, sl@35: AppCtrlViewClock = 0x27F, sl@35: AppCtrlSelectTimeZone = 0x280, sl@35: AppCtrlEditTimeZones = 0x281, sl@35: AppCtrlSetAlarm = 0x282, sl@35: AppCtrlClearAlarm = 0x283, sl@35: AppCtrlSnoozeAlarm = 0x284, sl@35: AppCtrlResetAlarm = 0x285, sl@35: AppCtrlSynchronize = 0x286, sl@35: AppCtrlSendReceive = 0x287, sl@35: AppCtrlSendTo = 0x288, sl@35: AppCtrlReply = 0x289, sl@35: AppCtrlReplyAll = 0x28A, sl@35: AppCtrlForwardMsg = 0x28B, sl@35: AppCtrlSend = 0x28C, sl@35: AppCtrlAttachFile = 0x28D, sl@35: AppCtrlUpload = 0x28E, sl@35: AppCtrlDownloadSaveTargetAs = 0x28F, sl@35: AppCtrlSetBorders = 0x290, sl@35: AppCtrlInsertRow = 0x291, sl@35: AppCtrlInsertColumn = 0x292, sl@35: AppCtrlInsertFile = 0x293, sl@35: AppCtrlInsertPicture = 0x294, sl@35: AppCtrlInsertObject = 0x295, sl@35: AppCtrlInsertSymbol = 0x296, sl@35: AppCtrlSaveAndClose = 0x297, sl@35: AppCtrlRename = 0x298, sl@35: AppCtrlMerge = 0x299, sl@35: AppCtrlSplit = 0x29A, sl@35: AppCtrlDistributeHorizontally = 0x29B, sl@33: AppCtrlDistributeVertically = 0x29C sl@8: } sl@34: sl@34: /// sl@34: /// sl@34: /// sl@34: enum GenericDesktop : ushort sl@34: { sl@34: Null = 0x00, sl@34: Pointer = 0x01, sl@34: Mouse = 0x02, sl@34: Joystick = 0x04, sl@34: GamePad = 0x05, sl@34: Keyboard = 0x06, sl@34: Keypad = 0x07, sl@34: MultiAxisController = 0x08, sl@34: TabletPcSystemControls = 0x09, sl@34: X = 0x30, sl@34: Y = 0x31, sl@34: Z = 0x32, sl@34: Rx = 0x33, sl@34: Ry = 0x34, sl@34: Rz = 0x35, sl@34: Slider = 0x36, sl@34: Dial = 0x37, sl@34: Wheel = 0x38, sl@34: HatSwitch = 0x39, sl@34: CountedBuffer = 0x3A, sl@34: ByteCount = 0x3B, sl@34: MotionWakeup = 0x3C, sl@34: Start = 0x3D, sl@34: Select = 0x3E, sl@34: Vx = 0x40, sl@34: Vy = 0x41, sl@34: Vz = 0x42, sl@34: Vbrx = 0x43, sl@34: Vbry = 0x44, sl@34: Vbrz = 0x45, sl@34: Vno = 0x46, sl@34: SystemControl = 0x80, sl@34: SystemPowerDown = 0x81, sl@34: SystemSleep = 0x82, sl@34: SystemWakeUp = 0x83, sl@34: SystemContextMenu = 0x84, sl@34: SystemMainMenu = 0x85, sl@34: SystemAppMenu = 0x86, sl@34: SystemMenuHelp = 0x87, sl@34: SystemMenuExit = 0x88, sl@34: SystemMenuSelect = 0x89, sl@34: SystemMenuRight = 0x8A, sl@34: SystemMenuLeft = 0x8B, sl@34: SystemMenuUp = 0x8C, sl@34: SystemMenuDown = 0x8D, sl@34: SystemColdRestart = 0x8E, sl@34: SystemWarmRestart = 0x8F, sl@34: DPadUp = 0x90, sl@34: DPadDown = 0x91, sl@34: DPadRight = 0x92, sl@34: DPadLeft = 0x93, sl@34: SystemDock = 0xA0, sl@34: SystemUndock = 0xA1, sl@34: SystemSetup = 0xA2, sl@34: SystemBreak = 0xA3, sl@34: SystemDebuggerBreak = 0xA4, sl@34: ApplicationBreak = 0xA5, sl@34: ApplicationDebuggerBreak = 0xA6, sl@34: SystemSpeakerMute = 0xA7, sl@34: SystemHibernate = 0xA8, sl@34: SystemDisplayInvert = 0xB0, sl@34: SystemDisplayInternal = 0xB1, sl@34: SystemDisplayExternal = 0xB2, sl@34: SystemDisplayBoth = 0xB3, sl@34: SystemDisplayDual = 0xB4, sl@34: SystemDisplayToggleIntExt = 0xB5, sl@34: SystemDisplaySwapPrimarySecondary = 0xB6, sl@34: SystemDisplayLcdAutoscale = 0xB7 sl@34: } sl@34: sl@34: /// sl@34: /// sl@34: /// sl@34: enum SimulationControl : ushort sl@34: { sl@35: Null = 0x00, sl@34: FlightSimulationDevice = 0x01, sl@34: AutomobileSimulationDevice = 0x02, sl@34: TankSimulationDevice = 0x03, sl@34: SpaceshipSimulationDevice = 0x04, sl@34: SubmarineSimulationDevice = 0x05, sl@34: SailingSimulationDevice = 0x06, sl@34: MotorcycleSimulationDevice = 0x07, sl@34: SportsSimulationDevice = 0x08, sl@34: AirplaneSimulationDevice = 0x09, sl@34: HelicopterSimulationDevice = 0x0A, sl@34: MagicCarpetSimulationDevice = 0x0B, sl@34: BicycleSimulationDevice = 0x0C, sl@34: FlightControlStick = 0x20, sl@34: FlightStick = 0x21, sl@34: CyclicControl = 0x22, sl@34: CyclicTrim = 0x23, sl@34: FlightYoke = 0x24, sl@34: TrackControl = 0x25, sl@34: Aileron = 0xB0, sl@34: AileronTrim = 0xB1, sl@34: AntiTorqueControl = 0xB2, sl@34: AutopilotEnable = 0xB3, sl@34: ChaffRelease = 0xB4, sl@34: CollectiveControl = 0xB5, sl@34: DiveBrake = 0xB6, sl@34: ElectronicCountermeasures = 0xB7, sl@34: Elevator = 0xB8, sl@34: ElevatorTrim = 0xB9, sl@34: Rudder = 0xBA, sl@34: Throttle = 0xBB, sl@34: FlightCommunications = 0xBC, sl@34: FlareRelease = 0xBD, sl@34: LandingGear = 0xBE, sl@34: ToeBrake = 0xBF, sl@34: Trigger = 0xC0, sl@34: WeaponsArm = 0xC1, sl@34: WeaponsSelect = 0xC2, sl@34: WingFlaps = 0xC3, sl@34: Accelerator = 0xC4, sl@34: Brake = 0xC5, sl@34: Clutch = 0xC6, sl@34: Shifter = 0xC7, sl@34: Steering = 0xC8, sl@34: TurretDirection = 0xC9, sl@34: BarrelElevation = 0xCA, sl@34: DivePlane = 0xCB, sl@34: Ballast = 0xCC, sl@34: BicycleCrank = 0xCD, sl@34: HandleBars = 0xCE, sl@34: FrontBrake = 0xCF, sl@34: RearBrake = 0xD0 sl@34: } sl@34: sl@34: /// sl@34: /// sl@34: /// sl@34: enum GameControl : ushort sl@34: { sl@35: Null = 0x00, sl@34: GameController3D = 0x01, sl@34: PinballDevice = 0x02, sl@34: GunDevice = 0x03, sl@34: PointOfView = 0x20, sl@34: TurnRightLeft = 0x21, sl@34: PitchForwardBackward = 0x22, sl@34: RollRightLeft = 0x23, sl@34: MoveRightLeft = 0x24, sl@34: MoveForwardBackward = 0x25, sl@34: MoveUpDown = 0x26, sl@34: LeanRightLeft = 0x27, sl@34: LeanForwardBackward = 0x28, sl@34: HeightOfPov = 0x29, sl@34: Flipper = 0x2A, sl@34: SecondaryFlipper = 0x2B, sl@34: Bump = 0x2C, sl@34: NewGame = 0x2D, sl@34: ShootBall = 0x2E, sl@34: Player = 0x2F, sl@34: GunBolt = 0x30, sl@34: GunClip = 0x31, sl@34: GunSelector = 0x32, sl@34: GunSingleShot = 0x33, sl@34: GunBurst = 0x34, sl@34: GunAutomatic = 0x35, sl@34: GunSafety = 0x36, sl@34: GamepadFireJump = 0x37, sl@34: GamepadTrigger = 0x39 sl@34: } sl@34: sl@34: /// sl@34: /// sl@34: /// sl@34: enum TelephonyDevice : ushort sl@34: { sl@35: Null = 0x00, sl@34: Phone = 0x01, sl@34: AnsweringMachine = 0x02, sl@34: MessageControls = 0x03, sl@34: Handset = 0x04, sl@34: Headset = 0x05, sl@34: TelephonyKeyPad = 0x06, sl@34: ProgrammableButton = 0x07, sl@34: HookSwitch = 0x20, sl@34: Flash = 0x21, sl@34: Feature = 0x22, sl@34: Hold = 0x23, sl@34: Redial = 0x24, sl@34: Transfer = 0x25, sl@34: Drop = 0x26, sl@34: Park = 0x27, sl@34: ForwardCalls = 0x28, sl@34: AlternateFunction = 0x29, sl@34: Line = 0x2A, sl@34: SpeakerPhone = 0x2B, sl@34: Conference = 0x2C, sl@34: RingEnable = 0x2D, sl@34: RingSelect = 0x2E, sl@34: PhoneMute = 0x2F, sl@34: CallerId = 0x30, sl@34: Send = 0x31, sl@34: SpeedDial = 0x50, sl@34: StoreNumber = 0x51, sl@34: RecallNumber = 0x52, sl@34: PhoneDirectory = 0x53, sl@34: VoiceMail = 0x70, sl@34: ScreenCalls = 0x71, sl@34: DoNotDisturb = 0x72, sl@34: Message = 0x73, sl@34: AnswerOnOff = 0x74, sl@34: InsideDialTone = 0x90, sl@34: OutsideDialTone = 0x91, sl@34: InsideRingTone = 0x92, sl@34: OutsideRingTone = 0x93, sl@34: PriorityRingTone = 0x94, sl@34: InsideRingback = 0x95, sl@34: PriorityRingback = 0x96, sl@34: LineBusyTone = 0x97, sl@34: ReorderTone = 0x98, sl@34: CallWaitingTone = 0x99, sl@34: ConfirmationTone1 = 0x9A, sl@34: ConfirmationTone2 = 0x9B, sl@34: TonesOff = 0x9C, sl@34: OutsideRingback = 0x9D, sl@34: Ringer = 0x9E, sl@34: PhoneKey0 = 0xB0, sl@34: PhoneKey1 = 0xB1, sl@34: PhoneKey2 = 0xB2, sl@34: PhoneKey3 = 0xB3, sl@34: PhoneKey4 = 0xB4, sl@34: PhoneKey5 = 0xB5, sl@34: PhoneKey6 = 0xB6, sl@34: PhoneKey7 = 0xB7, sl@34: PhoneKey8 = 0xB8, sl@34: PhoneKey9 = 0xB9, sl@34: PhoneKeyStar = 0xBA, sl@34: PhoneKeyPound = 0xBB, sl@34: PhoneKeyA = 0xBC, sl@34: PhoneKeyB = 0xBD, sl@34: PhoneKeyC = 0xBE, sl@34: PhoneKeyD = 0xBF sl@34: } sl@8: } sl@8: }