augustss
ada83730a8
Add more language map definitions.
2002-03-17 18:00:17 +00:00
takemura
29e873a235
Added wsmux_set_display() to fix the problem that wskbd wan't connected
...
to any display if keyboard was attached before display and both aren't console.
2002-03-02 08:22:26 +00:00
ad
a66008a0b5
Add WSMOUSE_TYPE_MAXINE.
2002-02-24 02:01:40 +00:00
jandberg
2089bcf9c1
added amiga display/mouse/keyboard defines
2002-01-13 18:05:50 +00:00
tsutsui
c12b5c180d
Call malloc(9) with M_ZERO flag instead of memset() after malloc().
2002-01-12 16:41:02 +00:00
gmcgarry
6dbb6e893b
Simply entries added in previous.
2001-12-04 04:30:22 +00:00
gmcgarry
adb908503d
Add identifiers for HP devices.
2001-12-02 01:17:51 +00:00
ross
43fe22fed0
Revert previous; the _e003U definition is used elsewhere.
2001-12-02 01:04:26 +00:00
bjh21
15d94a4c59
On a VT100, the "scanline 5" character is also used for box drawing, so
...
represent it as U+2500 (BOX DRAWINGS LIGHT HORIZONTAL). This makes NetHack
DECgraphics mode work properly on a wscons console using an IBM-encoded font.
2001-12-01 16:07:58 +00:00
lukem
ecb81c3f6d
- convert usage of "defopt" to "defflag" where the relevant option does
...
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups
2001-11-28 10:21:10 +00:00
augustss
b5e0d97bf7
Add some DIAGNOSTIC tests.
2001-11-22 00:57:14 +00:00
augustss
37f2beed3e
Close multiplxees BEFORE removing the event variable they are
...
using (an interrupt at the wrong point caused disaster).
2001-11-22 00:54:23 +00:00
lukem
0fa231134c
- replace "defopt" with "defparam" for options which must take a value,
...
as config(8) will warn for value-less defparam options
- minor whitespace/formatting cleanup
- consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
2001-11-20 14:34:18 +00:00
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