Added mouse=none, fixed serial mice, reverted serial driver (again).
This commit is contained in:
35
src/mouse.h
35
src/mouse.h
@@ -1,15 +1,34 @@
|
||||
/*
|
||||
* 86Box A hypervisor and IBM PC system emulator that specializes in
|
||||
* running old operating systems and software designed for IBM
|
||||
* PC systems and compatibles from 1981 through fairly recent
|
||||
* system designs based on the PCI bus.
|
||||
*
|
||||
* This file is part of the 86Box distribution.
|
||||
*
|
||||
* Definitions for the MOUSE driver.
|
||||
*
|
||||
* Version: @(#)mouse.h 1.0.3 2017/06/21
|
||||
*
|
||||
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
|
||||
* Miran Grca, <mgrca8@gmail.com>
|
||||
* Fred N. van Kempen, <decwiz@yahoo.com>
|
||||
* Copyright 2008-2017 Sarah Walker.
|
||||
* Copyright 2016-2017 Miran Grca.
|
||||
*/
|
||||
#ifndef EMU_MOUSE_H
|
||||
# define EMU_MOUSE_H
|
||||
|
||||
|
||||
#define MOUSE_TYPE_SERIAL 0 /* Serial Mouse */
|
||||
#define MOUSE_TYPE_PS2 1 /* IBM PS/2 series Bus Mouse */
|
||||
#define MOUSE_TYPE_PS2_MS 2 /* Microsoft Intellimouse PS/2 */
|
||||
#define MOUSE_TYPE_BUS 3 /* Logitech/ATI Bus Mouse */
|
||||
#define MOUSE_TYPE_AMSTRAD 4 /* Amstrad PC system mouse */
|
||||
#define MOUSE_TYPE_OLIM24 5 /* Olivetti M24 system mouse */
|
||||
#define MOUSE_TYPE_MSYSTEMS 6 /* Mouse Systems mouse */
|
||||
#define MOUSE_TYPE_GENIUS 7 /* Genius Bus Mouse */
|
||||
#define MOUSE_TYPE_NONE 0
|
||||
#define MOUSE_TYPE_SERIAL 1 /* Serial Mouse */
|
||||
#define MOUSE_TYPE_PS2 2 /* IBM PS/2 series Bus Mouse */
|
||||
#define MOUSE_TYPE_PS2_MS 3 /* Microsoft Intellimouse PS/2 */
|
||||
#define MOUSE_TYPE_BUS 4 /* Logitech/ATI Bus Mouse */
|
||||
#define MOUSE_TYPE_AMSTRAD 5 /* Amstrad PC system mouse */
|
||||
#define MOUSE_TYPE_OLIM24 6 /* Olivetti M24 system mouse */
|
||||
#define MOUSE_TYPE_MSYSTEMS 7 /* Mouse Systems mouse */
|
||||
#define MOUSE_TYPE_GENIUS 8 /* Genius Bus Mouse */
|
||||
|
||||
#define MOUSE_TYPE_MASK 0x0f
|
||||
#define MOUSE_TYPE_3BUTTON (1<<7) /* device has 3+ buttons */
|
||||
|
||||
Reference in New Issue
Block a user