Files
android_kernel_samsung_msm8226/include/linux/input/gen_vkeys.h
T
Amy Maloche 0240a15d62 vkeys: gen_vkeys: Add key position offset
Add virtual key position offset to match virtual key positions with
front panel.

Change-Id: Ibbf89e816d9654f202b75470df0c673aa42439c8
Acked-by: Chun Zhang <chunz@qti.qualcomm.com>
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2013-05-02 14:07:57 -07:00

25 lines
720 B
C

/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __GEN_VKEYS_
struct vkeys_platform_data {
const char *name;
int disp_maxx;
int disp_maxy;
int panel_maxx;
int panel_maxy;
int *keycodes;
int num_keys;
int y_offset;
};
#endif