diff src/video/fbcon/SDL_fbevents.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 5a9c36a45db1
children e8157fcb3114
line wrap: on
line diff
--- a/src/video/fbcon/SDL_fbevents.c	Tue Jul 31 05:39:36 2001 +0000
+++ b/src/video/fbcon/SDL_fbevents.c	Tue Jul 31 06:08:11 2001 +0000
@@ -755,10 +755,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;