Merge tag 'v3.3.7' into 3.3/master
[zen-stable.git] / include / linux / input / sh_keysc.h
blob5d253cd93691d2bec2a12b34fe2791f61e57a09f
1 #ifndef __SH_KEYSC_H__
2 #define __SH_KEYSC_H__
4 #define SH_KEYSC_MAXKEYS 64
6 struct sh_keysc_info {
7 enum { SH_KEYSC_MODE_1, SH_KEYSC_MODE_2, SH_KEYSC_MODE_3,
8 SH_KEYSC_MODE_4, SH_KEYSC_MODE_5, SH_KEYSC_MODE_6 } mode;
9 int scan_timing; /* 0 -> 7, see KYCR1, SCN[2:0] */
10 int delay;
11 int kycr2_delay;
12 int keycodes[SH_KEYSC_MAXKEYS]; /* KEYIN * KEYOUT */
15 #endif /* __SH_KEYSC_H__ */