augustss
dfbba4149c
Injecting events into a mux that is not open is not an error.
2001-11-19 00:37:22 +00:00
lukem
2565646230
don't need <sys/types.h> when including <sys/param.h>
2001-11-15 09:47:59 +00:00
lukem
139747fb15
add/cleanup RCSIDs
2001-11-13 06:17:46 +00:00
martin
cd67a5ce17
Add polish keyboard map, from Dawid Szyma_ski <dawszy@netbsd.lubin.pl>.
2001-11-11 11:48:56 +00:00
augustss
48ea68d3d9
Make wsdisplay_set_console_kbd() a little less twisted.
2001-11-10 17:14:51 +00:00
augustss
4cfba4290a
Ad a debug message. (With { } this time.)
2001-11-07 13:36:43 +00:00
enami
58a47f4ae2
Have necessary braces.
2001-11-07 12:57:33 +00:00
augustss
2158da33e3
Improve diagniostic message.
2001-11-07 03:26:06 +00:00
enami
480bb2c9a8
Fix typo in comment.
2001-11-05 08:22:24 +00:00
augustss
d1ff85c9aa
Improve debug messages a little.
2001-11-02 13:02:20 +00:00
augustss
246b858752
Inject events in the right place in the buffer.
2001-10-29 01:02:11 +00:00
augustss
87746219bd
Put in some tests to see if the input source is NULL before using it.
...
Suggested by Havard Eidnes <he@netbsd.org>.
2001-10-28 10:30:22 +00:00
augustss
546b6e4434
Cosmetics.
2001-10-27 13:52:57 +00:00
augustss
14fc12f3b4
Cosmetics.
2001-10-27 00:39:29 +00:00
augustss
b609967aa7
Don't enable/disable kbds that belong to a display; they are always enabled.
2001-10-27 00:35:48 +00:00
augustss
48673c604a
Having a display does not preclude the mux from being open.
2001-10-27 00:34:57 +00:00
augustss
49c2ea7a87
Compare against coreect value to determine if we belong to a mux.
2001-10-26 20:48:47 +00:00
augustss
eadca0dfa3
Remove TODO list.
2001-10-26 20:45:05 +00:00
augustss
a5d3f7530d
Small rearrangement and more error checking.
2001-10-26 20:36:27 +00:00
augustss
6d55fe438e
Change a debug message.
2001-10-26 20:35:55 +00:00
augustss
59121d58f5
Change back to have a wseventvar in the softc for event sources. This
...
way the effect of FIOASYNC survives close()/open(). Later versions
of XFree86 relies on this bug/feature.
Also add some more debug stuff.
2001-10-25 14:46:41 +00:00
shin
a9df6b6421
make this compile without WSDISPLAY_COMPAT_RAWKBD.
2001-10-25 13:19:41 +00:00
augustss
9e06709975
Clear wskbd_console_device when console keyboard is detached.
2001-10-24 15:44:50 +00:00
augustss
2f1f0a1702
Major rototilling of the wsmux code. No user visible changes (except that
...
many bugs have been fixed).
Changes:
The wskbd, wsmouse, and wsmux are now "sub-classes" of wsevsrc, which is
a source of ws events. This make the structure of those drivers a little
more uniform.
Many bug fixes involving adding and removing devices from muxes.
When a kernel is configured without wsmux there will now be none (unlike
before where you got a console mux anyway).
The kernel now compiles with all combinations of ws devices present.
2001-10-24 14:07:31 +00:00
jmc
97deb18c10
Wrap ifdef's cleaner so wsmouse_[add|rem]_mux only get pulled in if NWSMUX > 0.
2001-10-21 23:04:57 +00:00
augustss
3527006336
Don't use wsmux_getmux() if we NWSMUX == 0. Fixes PR kern/14252.
...
This is only a stop gap measure until the real wsmux changed get in.
2001-10-15 21:51:33 +00:00
veego
8d71019a14
Fix a pasto in the last revision.
2001-10-14 21:49:00 +00:00
augustss
5da06efad4
Allow for control devices (minor+128) to make it possible to manipulate
...
muxes that are in use.
Create muxes on demand.
2001-10-13 20:03:38 +00:00
augustss
ad74203973
Fix a pasto.
2001-10-13 19:58:35 +00:00
augustss
2efffa7ad7
Fix a (very old) pasto.
2001-10-13 19:56:09 +00:00
augustss
04b1440239
Use memset(), not bzero().
2001-10-13 15:59:01 +00:00
augustss
82e5e6ab85
ANSIfy.
2001-10-13 15:56:15 +00:00
augustss
d701e45c14
Two changes to the wsmux code:
...
* Allow the wsmux used by wsdisplay for the keyboard(s) to be explicitely
specified with the kbdmux locator.
* Allow keyboards and mice that have a mux to be opened in the regular way.
These changes should be totally backwards compatible.
2001-10-13 13:35:59 +00:00
eeh
7fbd726cc8
Stop wscons from conflicting with rcons.
2001-10-05 22:08:28 +00:00
mycroft
5f1dd50365
Add a WSKBD_TYPE_ADB for Macs.
2001-10-02 21:03:05 +00:00
matthias
da7395fac9
wskbd_rawinput: check sc->sc_displaydv before calling wsdisplay_kbdinput.
2001-09-26 15:13:23 +00:00
ad
21787ea4c6
Get/set keyclick volume.
2001-09-18 23:25:25 +00:00
drochner
f2d93c6685
add encoding for ISO-2
2001-09-04 17:57:16 +00:00
jdolecek
57a49a2de0
introduce hard limit on maximum font size (WSDISPLAY_MAXFONTSZ - 512KB)
...
and keymap size (WSKBDIO_MAXMAPLEN - 64KB)
2001-08-05 11:26:52 +00:00
lukem
d84d2c6c85
add missing #include "opt_kgdb.h"
2001-05-30 15:24:23 +00:00
mrg
c13e3a6693
use _KERNEL_OPT
2001-05-30 11:40:35 +00:00
drochner
3df4a7a4a8
do this console device lookup thing the right way this time
...
(This "dev" argument to the console functions is nonsense - nothing
should depend on it.)
2001-05-18 11:49:21 +00:00
lukem
e3134697e1
delint: remove comments from macro args; confuses cpp/lint
2001-05-15 15:06:23 +00:00
scw
2963ff5c58
Add l_poll' to
struct linesw' and provide an xxxpoll() entry point
...
in each tty driver to indirect through it.
This allows tty line-disciplines to handle poll(2) system calls.
2001-05-02 10:32:08 +00:00
jdolecek
745ab257dc
Put back all header files defining ioctls
2001-04-11 19:07:36 +00:00
tsutsui
42e44c1408
Make Sony's fonts ISO8859-1 compliant.
2001-03-30 13:06:45 +00:00
lukem
b240b7a4e1
#ifdef KGDB, call kgdb_connect(1) if KS_Cmd_Debugger (a la ddb invoking
...
console_debugger() in the same situation).
this makes it easier to get remote kgdb going if you forget to use boot -d.
2001-03-23 04:22:36 +00:00
reinoud
d7858fb571
Add RiscPC (arm32) keyboard. It basicly returns AT scancodes but since it has to
...
use a seperate keyboard driver (pckbdc not available) i cant guarantee that it is
100% compatible with AT scan codes
2001-03-20 15:51:18 +00:00
lukem
3aeb5f2f29
whitespace police
2001-02-24 01:59:46 +00:00
cgd
023e9f0649
C requires that labels be followed by statements.
2001-02-24 00:01:22 +00:00