src/video/cocoa/SDL_cocoamouse.m
changeset 5060 2170edcdfbd0
parent 5058 03db7d4b02b4
child 5262 b530ef003506
equal deleted inserted replaced
5059:00d1fef487c5 5060:2170edcdfbd0
    41         case 1:
    41         case 1:
    42             return(SDL_BUTTON_RIGHT);  /* 3 */
    42             return(SDL_BUTTON_RIGHT);  /* 3 */
    43         case 2:
    43         case 2:
    44             return(SDL_BUTTON_MIDDLE); /* 2 */
    44             return(SDL_BUTTON_MIDDLE); /* 2 */
    45     }
    45     }
    46     return button;
    46     return button+1;
    47 }
    47 }
    48 
    48 
    49 void
    49 void
    50 Cocoa_HandleMouseEvent(_THIS, NSEvent *event)
    50 Cocoa_HandleMouseEvent(_THIS, NSEvent *event)
    51 {
    51 {