mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
830 B

  1. --- ./include/linux/joystick.h.vanilla 2005-11-03 09:43:29.000000000 +0100
  2. +++ ./include/linux/joystick.h 2005-11-03 13:59:15.000000000 +0100
  3. @@ -111,25 +111,25 @@
  4. #define JS_SET_ALL 8
  5. struct JS_DATA_TYPE {
  6. - int32_t buttons;
  7. - int32_t x;
  8. - int32_t y;
  9. + __s32 buttons;
  10. + __s32 x;
  11. + __s32 y;
  12. };
  13. struct JS_DATA_SAVE_TYPE_32 {
  14. - int32_t JS_TIMEOUT;
  15. - int32_t BUSY;
  16. - int32_t JS_EXPIRETIME;
  17. - int32_t JS_TIMELIMIT;
  18. + __s32 JS_TIMEOUT;
  19. + __s32 BUSY;
  20. + __s32 JS_EXPIRETIME;
  21. + __s32 JS_TIMELIMIT;
  22. struct JS_DATA_TYPE JS_SAVE;
  23. struct JS_DATA_TYPE JS_CORR;
  24. };
  25. struct JS_DATA_SAVE_TYPE_64 {
  26. - int32_t JS_TIMEOUT;
  27. - int32_t BUSY;
  28. - int64_t JS_EXPIRETIME;
  29. - int64_t JS_TIMELIMIT;
  30. + __s32 JS_TIMEOUT;
  31. + __s32 BUSY;
  32. + __s64 JS_EXPIRETIME;
  33. + __s64 JS_TIMELIMIT;
  34. struct JS_DATA_TYPE JS_SAVE;
  35. struct JS_DATA_TYPE JS_CORR;
  36. };