summaryrefslogtreecommitdiffstats
path: root/native/include/android
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-08-31 15:20:28 -0700
committerJeff Brown <jeffbrown@google.com>2010-08-31 15:24:55 -0700
commit5fad2675e8deee60aa91d7a96c9ac4826357f2c5 (patch)
treea6bd559cdfc301df21693357650c3b58b95e0763 /native/include/android
parent47471175c9d19a00d06a77aa316dcda08be97deb (diff)
downloadframeworks_base-5fad2675e8deee60aa91d7a96c9ac4826357f2c5.zip
frameworks_base-5fad2675e8deee60aa91d7a96c9ac4826357f2c5.tar.gz
frameworks_base-5fad2675e8deee60aa91d7a96c9ac4826357f2c5.tar.bz2
Remove incomplete input device enumeration NDK API.
Change-Id: I32de74ff5fcf0e29179a2aee03ddabd22fa485bb
Diffstat (limited to 'native/include/android')
-rw-r--r--native/include/android/input.h56
1 files changed, 0 insertions, 56 deletions
diff --git a/native/include/android/input.h b/native/include/android/input.h
index d9486e5..418f609 100644
--- a/native/include/android/input.h
+++ b/native/include/android/input.h
@@ -662,62 +662,6 @@ int32_t AInputQueue_preDispatchEvent(AInputQueue* queue, AInputEvent* event);
*/
void AInputQueue_finishEvent(AInputQueue* queue, AInputEvent* event, int handled);
-/*
- * Input devices.
- *
- * These functions provide a mechanism for querying the set of available input devices
- * and their characteristics and capabilities.
- */
-struct AInputDevice;
-typedef struct AInputDevice AInputDevice;
-
-/*
- * Populates the supplied array with the ids of all input devices in the system.
- * Sets nActual to the actual number of devices.
- * Returns zero if enumeration was successful.
- * Returns non-zero if the actual number of devices is greater than nMax, in which case the
- * client should call the method again with a larger id buffer.
- */
-int32_t AInputDevice_getDeviceIds(int32_t* idBuf, size_t nMax, size_t* nActual);
-
-/*
- * Acquires a device by id.
- * Returns NULL if the device was not found.
- *
- * Note: The returned object must be freed using AInputDevice_release when no longer needed.
- */
-AInputDevice* AInputDevice_acquire(int32_t deviceId);
-
-/*
- * Releases a device previously acquired by AInputDevice_acquire.
- * If device is NULL, this function does nothing.
- */
-void AInputDevice_release(AInputDevice* device);
-
-/*
- * Gets the name of an input device.
- *
- * Note: The caller should copy the name into a private buffer since the returned pointer
- * will become invalid when the device object is released.
- */
-const char* AInputDevice_getName(AInputDevice* device);
-
-/*
- * Gets the combination of input sources provided by the input device.
- */
-uint32_t AInputDevice_getSources(AInputDevice* device);
-
-/*
- * Gets the keyboard type.
- */
-int32_t AInputDevice_getKeyboardType(AInputDevice* device);
-
-/* Gets the minimum value, maximum value, flat position and error tolerance for a
- * particular motion coodinate.
- * Returns zero if the device supports the specified motion range. */
-int32_t AInputDevice_getMotionRange(AInputDevice* device, int32_t rangeType,
- float* outMin, float* outMax, float* outFlat, float* outFuzz);
-
#ifdef __cplusplus
}
#endif