Remove incomplete input device enumeration NDK API.

Change-Id: I32de74ff5fcf0e29179a2aee03ddabd22fa485bb
This commit is contained in:
Jeff Brown 2010-08-31 15:20:28 -07:00
parent 6d29e39240
commit 774cf1baa1
2 changed files with 0 additions and 40 deletions

View File

@ -466,29 +466,6 @@ private:
KeyedVector<int32_t, MotionRange> mMotionRanges;
};
/*
* Provides remote access to information about an input device.
*
* Note: This is essentially a wrapper for Binder calls into the Window Manager Service.
*/
class InputDeviceProxy : public RefBase, public AInputDevice {
protected:
InputDeviceProxy();
virtual ~InputDeviceProxy();
public:
static void getDeviceIds(Vector<int32_t>& outIds);
static sp<InputDeviceProxy> getDevice(int32_t id);
inline const InputDeviceInfo* getInfo() { return & mInfo; }
// TODO add hasKeys, keymap, etc...
private:
InputDeviceInfo mInfo;
};
} // namespace android

View File

@ -210,21 +210,4 @@ void InputDeviceInfo::addMotionRange(int32_t rangeType, const MotionRange& range
mMotionRanges.add(rangeType, range);
}
// class InputDeviceProxy
InputDeviceProxy::InputDeviceProxy() {
}
InputDeviceProxy::~InputDeviceProxy() {
}
void InputDeviceProxy::getDeviceIds(Vector<int32_t>& outIds) {
// TODO use Binder
}
sp<InputDeviceProxy> InputDeviceProxy::getDevice(int32_t id) {
// TODO use Binder
return NULL;
}
} // namespace android