sh_keysc.h 297 B

12345678910111213
  1. #ifndef __ASM_KEYSC_H__
  2. #define __ASM_KEYSC_H__
  3. #define SH_KEYSC_MAXKEYS 30
  4. struct sh_keysc_info {
  5. enum { SH_KEYSC_MODE_1, SH_KEYSC_MODE_2, SH_KEYSC_MODE_3 } mode;
  6. int scan_timing; /* 0 -> 7, see KYCR1, SCN[2:0] */
  7. int delay;
  8. int keycodes[SH_KEYSC_MAXKEYS];
  9. };
  10. #endif /* __ASM_KEYSC_H__ */