Re: [AD] 'None' mouse driver

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2004-05-15, Eric Botcazou <ebotcazou@xxxxxxxxxx> wrote:
> As discovered by Grzegorz, some platforms don't allow the user to specify the 
> 'none' mouse driver (0 in the config file).  These are: BeOS, QNX, MacOS X 
> and Unix.
> 
> Any particular reason not to accept it on these platforms too?

Works here. Kind of annoying: in windowed mode the cursor disappears
from view when it enters the Allegro window. Can't decide if that's good
or bad. Attached a doc refresher. BTW, is there a point then for
install_mouse to return -1 when the stub driver could always be
installed?
Index: allegro.cfg
===================================================================
RCS file: /cvsroot/alleg/allegro/allegro.cfg,v
retrieving revision 1.50
diff -u -r1.50 allegro.cfg
--- allegro.cfg	9 Jan 2004 07:04:47 -0000	1.50
+++ allegro.cfg	18 May 2004 08:15:11 -0000
@@ -208,23 +208,43 @@
 
 [mouse]
 
+# Generic multiplatform mouse drivers:
+#
+#  0        - none, non reactive stub driver
+#
+# BeOS mouse drivers:
+#
+#  BMOU     - wrapper around the OS driver
+#
 # DOS mouse drivers:
 #
-#  0        - none
 #  MICK     - mickey mode driver (normally the best)
 #  I33      - int 0x33 callback driver
-#  POLL     - timer polling
+#  POLL     - timer polling (for use under NT)
 #  WNT      - Windows NT 3.5x/4.0 specific driver
 #  W2K      - Windows 2000 specific driver
 #
-# Linux console mouse drivers:
+# Linux mouse drivers:
 #
-#  0        - none
-#  LPS2     - PS2 mouse
-#  LIPS     - PS2 mouse with Intellimouse extension
 #  MS       - Microsoft serial mouse
 #  IMS      - Microsoft serial mouse with Intellimouse extension
+#  LPS2     - PS2 mouse
+#  LIPS     - PS2 mouse with Intellimouse extension
 #  GPMD     - GPM repeater data (Mouse Systems protocol)
+#  EV       - Event interfaces (EVDEV)
+#  XWIN     - X Window System driver
+#
+# MacOS X mouse drivers:
+#
+#  OSXM     - wrapper around the OS driver
+#
+# QNX mouse drivers:
+#
+#  QMSE     - wrapper around the OS driver
+#
+# Windows mouse drivers:
+#
+#  DX       - wrapper around the DirectX driver
 
 mouse = 
 
Index: docs/src/allegro._tx
===================================================================
RCS file: /cvsroot/alleg/allegro/docs/src/allegro._tx,v
retrieving revision 1.226
diff -u -r1.226 allegro._tx
--- docs/src/allegro._tx	15 May 2004 22:01:06 -0000	1.226
+++ docs/src/allegro._tx	18 May 2004 08:15:19 -0000
@@ -1857,20 +1857,43 @@
    Section containing mouse configuration information, using the variables:
 <ul><li>
 mouse = x<br>
-   Mouse driver type. Available DOS drivers are:
+   Mouse driver type. Generic multiplatform mouse drivers:
+<textblock>
+      0    - none, non reactive stub driver
+<endblock>
+   BeOS mouse drivers:
+<textblock>
+      BMOU - wrapper around the OS driver
+<endblock>
+   DOS mouse drivers:
 <textblock>
       MICK - mickey mode driver (normally the best)
       I33  - int 0x33 callback driver
       POLL - timer polling (for use under NT)
+      WNT  - Windows NT 3.5x/4.0 specific driver
+      W2K  - Windows 2000 specific driver
 <endblock>
-   Linux console mouse drivers are:
+   Linux mouse drivers:
 <textblock>
       MS   - Microsoft serial mouse
       IMS  - Microsoft serial mouse with Intellimouse extension
       LPS2 - PS2 mouse
       LIPS - PS2 mouse with Intellimouse extension
       GPMD - GPM repeater data (Mouse Systems protocol)
-      EV   - Event interfaces (EVDEV)<endblock>
+      EV   - Event interfaces (EVDEV)
+      XWIN - X Window System driver
+<endblock>
+   MacOS X mouse drivers:
+<textblock>
+      OSXM - wrapper around the OS driver
+<endblock>
+   QNX mouse drivers:
+<textblock>
+      QMSE - wrapper around the OS driver
+<endblock>
+   Windows mouse drivers:
+<textblock>
+      DX   - wrapper around the DirectX driver<endblock>
 <li>
 num_buttons = x<br>
    Sets the number of mouse buttons viewed by Allegro. You don't normally


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/