The unified diff between revisions [76aea49e..] and [697c3a55..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'src/lsi/mouse.c'

#
# old_revision [76aea49e8393c839b573eaac31eb8e2fb218d2d6]
# new_revision [697c3a55915ad7eda83ba73798ce0c4b8b2544ba]
#
# patch "src/lsi/mouse.c"
#  from [9a2d9211ec57222cfa1f1d2ef9749e698445d0e7]
#    to [51f025fd4be11edf4936c00a3316e4d1ee31b9a5]
#
============================================================
--- src/lsi/mouse.c	9a2d9211ec57222cfa1f1d2ef9749e698445d0e7
+++ src/lsi/mouse.c	51f025fd4be11edf4936c00a3316e4d1ee31b9a5
@@ -10,7 +10,7 @@
 #include <stdio.h>
 #include "vm.h"
 
-#define MOUSEDEVICE "/dev/wsmouse"
+#define MOUSEDEVICE "/dev/wsmouse1"
 
 char *events[] = {
 	"undefined",
@@ -55,6 +55,7 @@ int mouse_init(void)
 	mouse_x = 0;
 	mouse_y = 0;
 	mouse_z = 0;
+	mouse_bytes = 0;
 
 	mouse_fd = open(MOUSEDEVICE, O_RDONLY);
 	if (mouse_fd < 0) {