USING: iokit alien alien.syntax alien.c-types kernel
-system core-foundation ;
+system core-foundation core-foundation.data
+core-foundation.dictionaries ;
IN: iokit.hid
- : kIOHIDDeviceKey "IOHIDDevice" ; inline
-
- : kIOHIDTransportKey "Transport" ; inline
- : kIOHIDVendorIDKey "VendorID" ; inline
- : kIOHIDVendorIDSourceKey "VendorIDSource" ; inline
- : kIOHIDProductIDKey "ProductID" ; inline
- : kIOHIDVersionNumberKey "VersionNumber" ; inline
- : kIOHIDManufacturerKey "Manufacturer" ; inline
- : kIOHIDProductKey "Product" ; inline
- : kIOHIDSerialNumberKey "SerialNumber" ; inline
- : kIOHIDCountryCodeKey "CountryCode" ; inline
- : kIOHIDLocationIDKey "LocationID" ; inline
- : kIOHIDDeviceUsageKey "DeviceUsage" ; inline
- : kIOHIDDeviceUsagePageKey "DeviceUsagePage" ; inline
- : kIOHIDDeviceUsagePairsKey "DeviceUsagePairs" ; inline
- : kIOHIDPrimaryUsageKey "PrimaryUsage" ; inline
- : kIOHIDPrimaryUsagePageKey "PrimaryUsagePage" ; inline
- : kIOHIDMaxInputReportSizeKey "MaxInputReportSize" ; inline
- : kIOHIDMaxOutputReportSizeKey "MaxOutputReportSize" ; inline
- : kIOHIDMaxFeatureReportSizeKey "MaxFeatureReportSize" ; inline
- : kIOHIDReportIntervalKey "ReportInterval" ; inline
-
- : kIOHIDElementKey "Elements" ; inline
-
- : kIOHIDElementCookieKey "ElementCookie" ; inline
- : kIOHIDElementTypeKey "Type" ; inline
- : kIOHIDElementCollectionTypeKey "CollectionType" ; inline
- : kIOHIDElementUsageKey "Usage" ; inline
- : kIOHIDElementUsagePageKey "UsagePage" ; inline
- : kIOHIDElementMinKey "Min" ; inline
- : kIOHIDElementMaxKey "Max" ; inline
- : kIOHIDElementScaledMinKey "ScaledMin" ; inline
- : kIOHIDElementScaledMaxKey "ScaledMax" ; inline
- : kIOHIDElementSizeKey "Size" ; inline
- : kIOHIDElementReportSizeKey "ReportSize" ; inline
- : kIOHIDElementReportCountKey "ReportCount" ; inline
- : kIOHIDElementReportIDKey "ReportID" ; inline
- : kIOHIDElementIsArrayKey "IsArray" ; inline
- : kIOHIDElementIsRelativeKey "IsRelative" ; inline
- : kIOHIDElementIsWrappingKey "IsWrapping" ; inline
- : kIOHIDElementIsNonLinearKey "IsNonLinear" ; inline
- : kIOHIDElementHasPreferredStateKey "HasPreferredState" ; inline
- : kIOHIDElementHasNullStateKey "HasNullState" ; inline
- : kIOHIDElementFlagsKey "Flags" ; inline
- : kIOHIDElementUnitKey "Unit" ; inline
- : kIOHIDElementUnitExponentKey "UnitExponent" ; inline
- : kIOHIDElementNameKey "Name" ; inline
- : kIOHIDElementValueLocationKey "ValueLocation" ; inline
- : kIOHIDElementDuplicateIndexKey "DuplicateIndex" ; inline
- : kIOHIDElementParentCollectionKey "ParentCollection" ; inline
+ CONSTANT: kIOHIDDeviceKey "IOHIDDevice"
+
+ CONSTANT: kIOHIDTransportKey "Transport"
+ CONSTANT: kIOHIDVendorIDKey "VendorID"
+ CONSTANT: kIOHIDVendorIDSourceKey "VendorIDSource"
+ CONSTANT: kIOHIDProductIDKey "ProductID"
+ CONSTANT: kIOHIDVersionNumberKey "VersionNumber"
+ CONSTANT: kIOHIDManufacturerKey "Manufacturer"
+ CONSTANT: kIOHIDProductKey "Product"
+ CONSTANT: kIOHIDSerialNumberKey "SerialNumber"
+ CONSTANT: kIOHIDCountryCodeKey "CountryCode"
+ CONSTANT: kIOHIDLocationIDKey "LocationID"
+ CONSTANT: kIOHIDDeviceUsageKey "DeviceUsage"
+ CONSTANT: kIOHIDDeviceUsagePageKey "DeviceUsagePage"
+ CONSTANT: kIOHIDDeviceUsagePairsKey "DeviceUsagePairs"
+ CONSTANT: kIOHIDPrimaryUsageKey "PrimaryUsage"
+ CONSTANT: kIOHIDPrimaryUsagePageKey "PrimaryUsagePage"
+ CONSTANT: kIOHIDMaxInputReportSizeKey "MaxInputReportSize"
+ CONSTANT: kIOHIDMaxOutputReportSizeKey "MaxOutputReportSize"
+ CONSTANT: kIOHIDMaxFeatureReportSizeKey "MaxFeatureReportSize"
+ CONSTANT: kIOHIDReportIntervalKey "ReportInterval"
+
+ CONSTANT: kIOHIDElementKey "Elements"
+
+ CONSTANT: kIOHIDElementCookieKey "ElementCookie"
+ CONSTANT: kIOHIDElementTypeKey "Type"
+ CONSTANT: kIOHIDElementCollectionTypeKey "CollectionType"
+ CONSTANT: kIOHIDElementUsageKey "Usage"
+ CONSTANT: kIOHIDElementUsagePageKey "UsagePage"
+ CONSTANT: kIOHIDElementMinKey "Min"
+ CONSTANT: kIOHIDElementMaxKey "Max"
+ CONSTANT: kIOHIDElementScaledMinKey "ScaledMin"
+ CONSTANT: kIOHIDElementScaledMaxKey "ScaledMax"
+ CONSTANT: kIOHIDElementSizeKey "Size"
+ CONSTANT: kIOHIDElementReportSizeKey "ReportSize"
+ CONSTANT: kIOHIDElementReportCountKey "ReportCount"
+ CONSTANT: kIOHIDElementReportIDKey "ReportID"
+ CONSTANT: kIOHIDElementIsArrayKey "IsArray"
+ CONSTANT: kIOHIDElementIsRelativeKey "IsRelative"
+ CONSTANT: kIOHIDElementIsWrappingKey "IsWrapping"
+ CONSTANT: kIOHIDElementIsNonLinearKey "IsNonLinear"
+ CONSTANT: kIOHIDElementHasPreferredStateKey "HasPreferredState"
+ CONSTANT: kIOHIDElementHasNullStateKey "HasNullState"
+ CONSTANT: kIOHIDElementFlagsKey "Flags"
+ CONSTANT: kIOHIDElementUnitKey "Unit"
+ CONSTANT: kIOHIDElementUnitExponentKey "UnitExponent"
+ CONSTANT: kIOHIDElementNameKey "Name"
+ CONSTANT: kIOHIDElementValueLocationKey "ValueLocation"
+ CONSTANT: kIOHIDElementDuplicateIndexKey "DuplicateIndex"
+ CONSTANT: kIOHIDElementParentCollectionKey "ParentCollection"
: kIOHIDElementVendorSpecificKey ( -- str )
cpu ppc? "VendorSpecifc" "VendorSpecific" ? ; inline