Files
kernel_google_b1c1/include/linux/input/gen_vkeys.h
Mohan Pallaka 186e942a25 input: gen_vkeys: squash commit from 3.14-kernel
Squash and apply the following changes taken from the msm-3.14
kernel branch as of msm-3.14
commit 8139d0b4e7a6d ("ARM: dts: msm: Set flag to manage clks")

c24a3df input: gen_vkeys: Make y_offset an optional property
bb2ac18 vkeys: gen_vkeys: Add key position offset
1a6d213 input: Add support for virtual key generation

Fix checkpatch errors.

Change-Id: Ie0e14d201a42632af57ff23dc85cec8881125e5a
Signed-off-by: Alex Sarraf <asarraf@codeaurora.org>
Signed-off-by: Venkata Prahlad Valluru <vvalluru@codeaurora.org>
2018-04-25 22:14:27 -07:00

25 lines
725 B
C

/* Copyright (c) 2013, 2018 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