mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-10-05 00:00:57 +02:00
Virtual keys are used for navigation on Android. These are not specific to the controller used in the target but are specific to the target. Add a module to generate virtual keys independently of the controller. Change-Id: I0c86dc77f1bc53c283e990be419c2715edf4e1c0 Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org> Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
24 lines
705 B
C
24 lines
705 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;
|
|
};
|
|
#endif
|