src/video/x11/SDL_x11mouse.c
changeset 3002 0deb3e94c251
parent 2992 dbff5769d742
child 3195 08747e24a50f
equal deleted inserted replaced
3001:7b031c55aebc 3002:0deb3e94c251
   120                                      valInfo->axes[2].max_value,
   120                                      valInfo->axes[2].max_value,
   121                                      valInfo->axes[2].min_value, 1);
   121                                      valInfo->axes[2].min_value, 1);
   122                     } else {
   122                     } else {
   123                         SDL_AddMouse(&mouse, DevList[i].name, 0, 0, 1);
   123                         SDL_AddMouse(&mouse, DevList[i].name, 0, 0, 1);
   124                     }
   124                     }
       
   125 #ifndef IsXExtensionPointer
       
   126 #define IsXExtensionPointer 4
       
   127 #endif
   125                     if (DevList[i].use == IsXExtensionPointer) {
   128                     if (DevList[i].use == IsXExtensionPointer) {
   126                         ++num_mice;
   129                         ++num_mice;
   127                     }
   130                     }
   128                     break;
   131                     break;
   129                 }
   132                 }