shared memory: TODO fix client bug
[winnie] / libwinnie / src / fbdev / mouse.cc
index 1fb2d55..8563da8 100644 (file)
@@ -83,6 +83,16 @@ void destroy_mouse()
        sh_free(mouse);
 }
 
+bool client_open_mouse(void *smem_start, int offset)
+{
+       mouse = (unsigned char*)smem_start + offset;
+       return true;
+}
+
+void client_close_mouse()
+{
+}
+
 void set_mouse_bounds(const Rect &rect)
 {
        mouse->bounds = rect;