- Timestamp:
- Nov 3, 2005, 2:38:03 PM (19 years ago)
- Location:
- trunk/src/lib/event
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/event/event_def.h
r5388 r5477 18 18 typedef enum extEventTyes 19 19 { 20 EV_MOUSE_BUTTON_LEFT = SDLK_LAST ,20 EV_MOUSE_BUTTON_LEFT = SDLK_LAST + 1, 21 21 EV_MOUSE_BUTTON_MIDDLE, 22 22 EV_MOUSE_BUTTON_RIGHT, -
trunk/src/lib/event/event_handler.cc
r5476 r5477 279 279 case SDL_MOUSEBUTTONUP: 280 280 ev.bPressed = false; 281 ev.type = event.button.button + SDLK_LAST - 1;281 ev.type = event.button.button + SDLK_LAST; 282 282 break; 283 283 case SDL_MOUSEBUTTONDOWN: 284 284 ev.bPressed = true; 285 ev.type = event.button.button + SDLK_LAST - 1;285 ev.type = event.button.button + SDLK_LAST; 286 286 break; 287 287 case SDL_JOYAXISMOTION:
Note: See TracChangeset
for help on using the changeset viewer.