Change the default controlling devices to /dev/wskbd and /dev/wsmouse

(instead wskbd0 and wsmouse0), this way changes will affect all devices
instead of just the first one.
This commit is contained in:
augustss 2005-04-29 16:51:33 +00:00
parent 593f2057dc
commit ecf40361a8
2 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: wsconsctl.8,v 1.16 2005/04/05 12:17:17 hubertf Exp $ .\" $NetBSD: wsconsctl.8,v 1.17 2005/04/29 16:51:33 augustss Exp $
.\" .\"
.\" Copyright (c) 1998, 2004 The NetBSD Foundation, Inc. .\" Copyright (c) 1998, 2004 The NetBSD Foundation, Inc.
.\" All rights reserved. .\" All rights reserved.
@ -34,7 +34,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE. .\" POSSIBILITY OF SUCH DAMAGE.
.\"/ .\"/
.Dd July 30, 2004 .Dd April 29, 2005
.Dt WSCONSCTL 8 .Dt WSCONSCTL 8
.Os .Os
.Sh NAME .Sh NAME
@ -137,10 +137,10 @@ currently exists for the following languages: Danish, Finnish, French,
German, Italian, Japanese, Norwegian, Portuguese, Spanish, and Swedish. German, Italian, Japanese, Norwegian, Portuguese, Spanish, and Swedish.
Finally, a user-defined encoding is supported. Finally, a user-defined encoding is supported.
.Sh FILES .Sh FILES
.Bl -tag -width /dev/wsmouse0 .Bl -tag -width /dev/wsmouse
.It Pa /dev/wskbd0 .It Pa /dev/wskbd
keyboard control device keyboard control device
.It Pa /dev/wsmouse0 .It Pa /dev/wsmouse
mouse control device mouse control device
.It Pa /dev/ttyE0 .It Pa /dev/ttyE0
display control device display control device

View File

@ -1,4 +1,4 @@
/* $NetBSD: wsconsctl.c,v 1.10 2005/01/19 20:37:52 xtraeme Exp $ */ /* $NetBSD: wsconsctl.c,v 1.11 2005/04/29 16:51:33 augustss Exp $ */
/*- /*-
* Copyright (c) 1998, 2004 The NetBSD Foundation, Inc. * Copyright (c) 1998, 2004 The NetBSD Foundation, Inc.
@ -44,8 +44,8 @@
#include <unistd.h> #include <unistd.h>
#include "wsconsctl.h" #include "wsconsctl.h"
#define PATH_KEYBOARD "/dev/wskbd0" #define PATH_KEYBOARD "/dev/wskbd"
#define PATH_MOUSE "/dev/wsmouse0" #define PATH_MOUSE "/dev/wsmouse"
#define PATH_DISPLAY "/dev/ttyE0" #define PATH_DISPLAY "/dev/ttyE0"
extern struct field keyboard_field_tab[]; extern struct field keyboard_field_tab[];