Home | History | Annotate | Download | only in windx5

Lines Matching defs:button

293 	Uint8 button;
319 /* Check for mouse button changes */
322 { /* Get the new DirectInput button state for the mouse */
343 button = (Uint8)(i+1);
344 /* Button #2 on two button mice is button 3
345 (the middle button is button 2)
347 if ( button == 2 ) {
348 button = 3;
350 if ( button == 3 ) {
351 button = 2;
368 if ( button == 1 ) button = 3;
370 if ( button == 3 ) button = 1;
372 posted = SDL_PrivateMouseButton(state, button,
420 button = SDL_BUTTON_WHEELUP;
422 button = SDL_BUTTON_WHEELDOWN;
424 SDL_PRESSED, button, 0, 0);
426 SDL_RELEASED, button, 0, 0);
439 button = (Uint8)(ptrbuf[i].dwOfs-DIMOFS_BUTTON0)+1;
440 /* Button #2 on two button mice is button 3
441 (the middle button is button 2)
443 if ( button == 2 ) {
444 button = 3;
446 if ( button == 3 ) {
447 button = 2;
464 if ( button == 1 ) button = 3;
466 if ( button == 3 ) button = 1;
468 posted = SDL_PrivateMouseButton(state, button,