g_mouse.h revision 253544
1226031Sstas/* $FreeBSD: head/sys/dev/usb/gadget/g_mouse.h 253544 2013-07-22 13:39:33Z hselasky $ */ 2226031Sstas/*- 3226031Sstas * Copyright (c) 2010 Hans Petter Selasky. All rights reserved. 4226031Sstas * 5226031Sstas * Redistribution and use in source and binary forms, with or without 6226031Sstas * modification, are permitted provided that the following conditions 7226031Sstas * are met: 8226031Sstas * 1. Redistributions of source code must retain the above copyright 9226031Sstas * notice, this list of conditions and the following disclaimer. 10226031Sstas * 2. Redistributions in binary form must reproduce the above copyright 11226031Sstas * notice, this list of conditions and the following disclaimer in the 12226031Sstas * documentation and/or other materials provided with the distribution. 13226031Sstas * 14226031Sstas * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15226031Sstas * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16226031Sstas * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17226031Sstas * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18226031Sstas * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19226031Sstas * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20226031Sstas * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21226031Sstas * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22226031Sstas * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23226031Sstas * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24226031Sstas * SUCH DAMAGE. 25226031Sstas */ 26226031Sstas 27226031Sstas#ifndef _G_MOUSE_H_ 28226031Sstas#define _G_MOUSE_H_ 29226031Sstas 30226031Sstas#define G_MOUSE_MODE_SILENT 0 31226031Sstas#define G_MOUSE_MODE_CIRCLE 1 32226031Sstas#define G_MOUSE_MODE_BOX 2 33226031Sstas#define G_MOUSE_MODE_SPIRAL 3 34226031Sstas#define G_MOUSE_MODE_MAX 4 35226031Sstas 36226031Sstas#endif /* _G_MOUSE_H_ */ 37226031Sstas