diff src/video/ps2gs/SDL_gsevents.c @ 132:2604a7be65af

Added button-up with mouse-wheel on framebuffer console
author Sam Lantinga <slouken@libsdl.org>
date Tue, 31 Jul 2001 06:08:11 +0000
parents f590dd383b5d
children e8157fcb3114
line wrap: on
line diff
--- a/src/video/ps2gs/SDL_gsevents.c	Tue Jul 31 05:39:36 2001 +0000
+++ b/src/video/ps2gs/SDL_gsevents.c	Tue Jul 31 06:08:11 2001 +0000
@@ -712,10 +712,12 @@
 				    case 0x02: /* DX = -1 */
 					break;
 				    case 0x0F: /* DY = +1 (map button 4) */
-					button |= (1<<3);
+                                       FB_vgamousecallback(button | (1<<3),
+                                                           1, 0, 0);
 					break;
 				    case 0x01: /* DY = -1 (map button 5) */
-					button |= (1<<4);
+                                       FB_vgamousecallback(button | (1<<4),
+                                                           1, 0, 0);
 					break;
 				}
 				break;