1/* 2 * @APPLE_LICENSE_HEADER_START@ 3 * 4 * Copyright (c) 1999-2009 Apple Computer, Inc. All Rights Reserved. 5 * 6 * This file contains Original Code and/or Modifications of Original Code 7 * as defined in and that are subject to the Apple Public Source License 8 * Version 2.0 (the 'License'). You may not use this file except in 9 * compliance with the License. Please obtain a copy of the License at 10 * http://www.opensource.apple.com/apsl/ and read it before using this 11 * file. 12 * 13 * The Original Code and all software distributed under the License are 14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 18 * Please see the License for the specific language governing rights and 19 * limitations under the License. 20 * 21 * @APPLE_LICENSE_HEADER_END@ 22 */ 23#ifndef _IOHIDEVICE_PRIVATE_KEYS_H 24#define _IOHIDEVICE_PRIVATE_KEYS_H 25 26enum { 27 kAccelMouse = 0x0001, 28 kAccelScroll = 0x0002, 29 kAbsoluteConvertMouse = 0x0004, 30 kAccelScrollConvertPointer = 0x0008, 31 kAccelNoScrollAcceleration = 0x0010 32}; 33 34enum { 35 kScrollTypeContinuous = 0x0001, 36 kScrollTypeZoom = 0x0002, 37 kScrollTypeMomentumContinue = 0x0004, 38 kScrollTypeTouch = 0x0008, 39 kScrollTypeMomentumStart = 0x0010, 40 kScrollTypeMomentumEnd = 0x0020, 41 kScrollTypeMomentumAny = kScrollTypeMomentumContinue | kScrollTypeMomentumStart | kScrollTypeMomentumEnd, 42 43 kScrollTypeOptionPhaseAny = 0xff00, 44 kScrollTypeOptionPhaseBegan = 0x0100, 45 kScrollTypeOptionPhaseChanged = 0x0200, 46 kScrollTypeOptionPhaseEnded = 0x0400, 47 kScrollTypeOptionPhaseCanceled = 0x0800, 48 kScrollTypeOptionPhaseMayBegin = 0x8000, 49}; 50 51#define kIOHIDEventServicePropertiesKey "HIDEventServiceProperties" 52#define kIOHIDTemporaryParametersKey "HIDTemporaryParameters" 53#define kIOHIDDefaultParametersKey "HIDDefaultParameters" 54#define kIOHIDDeviceParametersKey "HIDDeviceParameters" 55#define kIOHIDDeviceEventIDKey "HIDDeviceEventID" 56#define kIOHIDDeviceScrollWithTrackpadKey "TrackpadScroll" // really should be "HIDDeviceScrollWithTrackpad" 57#define kIOHIDDeviceScrollDisableKey "HIDDeviceScrollDisable" 58 59#endif /* !_IOHIDEVICE_PRIVATE_KEYS_H */ 60 61