sharpsl_param.h 838 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * Hardware parameter area specific to Sharp SL series devices
  3. *
  4. * Copyright (c) 2005 Richard Purdie
  5. *
  6. * Based on Sharp's 2.4 kernel patches
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. *
  12. */
  13. struct sharpsl_param_info {
  14. unsigned int comadj_keyword;
  15. unsigned int comadj;
  16. unsigned int uuid_keyword;
  17. unsigned char uuid[16];
  18. unsigned int touch_keyword;
  19. unsigned int touch_xp;
  20. unsigned int touch_yp;
  21. unsigned int touch_xd;
  22. unsigned int touch_yd;
  23. unsigned int adadj_keyword;
  24. unsigned int adadj;
  25. unsigned int phad_keyword;
  26. unsigned int phadadj;
  27. } __attribute__((packed));
  28. extern struct sharpsl_param_info sharpsl_param;
  29. extern void sharpsl_save_param(void);