19f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown/*
29f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown * Copyright (C) 2012 The Android Open Source Project
39f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown *
49f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown * Licensed under the Apache License, Version 2.0 (the "License");
59f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown * you may not use this file except in compliance with the License.
69f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown * You may obtain a copy of the License at
79f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown *
89f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown *      http://www.apache.org/licenses/LICENSE-2.0
99f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown *
109f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown * Unless required by applicable law or agreed to in writing, software
119f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown * distributed under the License is distributed on an "AS IS" BASIS,
129f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
139f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown * See the License for the specific language governing permissions and
149f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown * limitations under the License.
159f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown */
169f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown
179f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown#ifndef _ANDROID_VIEW_INPUTDEVICE_H
189f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown#define _ANDROID_VIEW_INPUTDEVICE_H
199f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown
209f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown#include "jni.h"
219f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown
229f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown#include <androidfw/InputDevice.h>
239f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown
249f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brownnamespace android {
259f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown
269f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown/* Creates an InputDevice object from the given information. */
279f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brownextern jobject android_view_InputDevice_create(JNIEnv* env, const InputDeviceInfo& deviceInfo);
289f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown
299f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown} // namespace android
309f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown
319f25b7fdf216c9ef0bd2322cd223eeaf0d60f77fJeff Brown#endif // _ANDROID_VIEW_INPUTDEVICE_H
32