diff options
| author | leo <leo@NetBSD.org> | 1996-04-23 11:02:01 +0000 |
|---|---|---|
| committer | leo <leo@NetBSD.org> | 1996-04-23 11:02:01 +0000 |
| commit | df8c6afda1bb66fd0eff62cd3e879e4d859faa63 (patch) | |
| tree | f4b5a81f4695c2d56258ad73d9179c2faf2d3f5a /sys/arch/atari/dev/ms.c | |
| parent | e376b17fefe87eab56f4d5bff7b0d56c7f4ecf52 (diff) | |
Ignore joystick packages when running in 3b. emulation mode.
Diffstat (limited to 'sys/arch/atari/dev/ms.c')
| -rw-r--r-- | sys/arch/atari/dev/ms.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/atari/dev/ms.c b/sys/arch/atari/dev/ms.c index 2fcbbc15f0c..f3fa5f49a75 100644 --- a/sys/arch/atari/dev/ms.c +++ b/sys/arch/atari/dev/ms.c @@ -1,4 +1,4 @@ -/* $NetBSD: ms.c,v 1.5 1996/04/12 08:39:22 leo Exp $ */ +/* $NetBSD: ms.c,v 1.6 1996/04/23 11:02:01 leo Exp $ */ /* * Copyright (c) 1995 Leo Weppelman. @@ -132,6 +132,12 @@ int size, type; switch (type) { case KBD_JOY1_PKG: /* + * Ignore if in emulation mode + */ + if (ms->ms_emul3b) + return; + + /* * There are some mice that have their middle button * wired to the 'up' bit of joystick 1.... * Simulate a mouse packet with dx = dy = 0, the middle |
