vibrator.h 349 B

1234567891011121314151617181920212223242526272829
  1. #ifndef __CUST_VIBRATOR_H__
  2. #define __CUST_VIBRATOR_H__
  3. #define CUST_VIBR_LIMIT
  4. #define CUST_VIBR_VOL
  5. enum vib_strength {
  6. VOL_1_2 = 0,
  7. VOL_1_3,
  8. VOL_1_5,
  9. VOL_1_8,
  10. VOL_2_5,
  11. VOL_2_8,
  12. VOL_3_0,
  13. VOL_3_3,
  14. };
  15. struct vibrator_hw {
  16. int vib_timer;
  17. #ifdef CUST_VIBR_LIMIT
  18. int vib_limit;
  19. #endif
  20. #ifdef CUST_VIBR_VOL
  21. int vib_vol;
  22. #endif
  23. };
  24. #endif