Commit Graph

88 Commits

Author SHA1 Message Date
macallan 6a9b8ff83c add type for Fujitsu AG-10e 2007-08-27 02:01:23 +00:00
nonaka 2462aff88e add WSDISPLAY_TYPE_PXALCD for PXA2x0 LCD controller. 2007-07-26 12:17:14 +00:00
macallan 6b4ea0adbe add WSDISPLAY_TYPE_CRIME for the SGI O2's graphics hardware 2007-07-26 01:59:07 +00:00
macallan 02be3c78f3 add WSDISPLAY_TYPE_GENFB 2007-04-11 04:09:10 +00:00
macallan cf6c447564 add #defines for ADB and pseudo mice 2007-01-19 20:59:45 +00:00
rumble 4bbcf8f210 Add type for sgimips/light(4). 2006-12-26 05:54:00 +00:00
peter d939731248 Add WSKBD_TYPE_ZAURUS (Sharp Zaurus keyboard). 2006-12-17 16:08:44 +00:00
freza e388b581bd Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
2006-12-02 22:18:47 +00:00
gdamore a5c89047c0 Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@,
NetBSD Foundation Membership still pending.)  This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.
2006-06-19 15:44:33 +00:00
jmcneill 4baf344378 Bunch of changes to wscons in preparation for splash screen support:
* Add WSDISPLAY_TYPE_VESA for vesafb. While here, fix a typo in a comment.
 * Add WSDISPLAYIO_SSPLASH and WSDISPLAYIO_SPROGRESS ioctls. The former
   toggles the splash screen on and off, and the latter updates the progress
   animation.
 * Prevent more than one hw driver from claiming to be the console.
 * In vcons, keep two pointers to the screen's vcons_data. This lets us
   override the original (ie with null emulops during boot), and restore
   them later on.
2006-02-18 18:56:05 +00:00
jmmv 8b589aee17 Add support to automatically repeat mouse button events in wsmouse(4) and
change wsconsctl(4) so that this is configurable.

This is specially useful for mice that provide page up/down buttons instead
of a real wheel and that do not send events repeatedly from the hardware.
(E.g.: Logitech Marble Mouse.)

No objections in tech-kern@.
2006-02-05 17:38:33 +00:00
tsutsui 4d4ef38433 Add WSKBD_TYPE_EWS4800 for EWS4800 machines. 2005-12-29 15:24:51 +00:00
augustss 5b71c2bf99 Some devices provide more than three (X, Y, and Z) "directions". So add
a W "coordinate" that can be used for these.
This changes the type of wsmouse_input().  To avoid changing a lot of drivers
a compatibilty #define is provided.  Maybe changing all drivers would have
been better?
2005-11-23 09:38:02 +00:00
tsutsui ee0931f86c TAB/space cosmetics. 2005-08-28 13:08:16 +00:00
martin 05308d1b95 Make it possible for a console driver to deliver raw ASCII characters
to wskbd. This is for special cases only, and may even be considered a
hack, but it is cheap and very local.
2005-04-28 07:15:44 +00:00
perry f31bd063e9 nuke trailing whitespace 2005-02-27 00:26:58 +00:00
joff 5cc20bed82 Support wsdisplay(4) attachments of hd44780 LCD controllers 2005-02-04 05:58:44 +00:00
joff 5c5c7c1047 Add new wskbd type MATRIXKP 2005-01-31 06:07:32 +00:00
jkunz 1035c6af08 Import STI wscons(4) driver from OpenBSD and add new driver for PS/2
keyboard / mouse pots of LASI.
2004-08-26 16:48:06 +00:00
jmmv 2a08d54a9a Implement border color customization in wscons(4), only available for vga(4)
at the moment.

This includes the addition of two new wsdisplay ioctls, WSDISPLAY_{G,S}BORDER,
one to get the actual color and one to set it, respectively.  Possible colors
match those defined by ANSI (and listed in wsdisplayvar.h).

It also adds two accessops to the underlying graphics device, getborder and
setborder, which mach their ioctl counterparts.

Two kernel options are added: WSDISPLAY_CUSTOM_BORDER, which enables the
ioctls described above (to customize the border color from userland after
boot), and WSDISPLAY_BORDER_COLOR, which sets the color at boot time.
The former is enabled by default on the GENERIC kernel, but not on INSTALL
(among others).  The later is always commented out, leaving the usual black
border as a default.

wsconsctl is modified to allow accessing this value easily.  For example,
'wsconsctl -d -w border=blue'.
2004-07-29 22:29:35 +00:00
jmmv 92f81ea7d3 Implement support to dynamically change wscons console and kernel colors.
Two new ioctls are added to the wsdisplay device, named WSDISPLAY_GMSGATTRS
and WSDISPLAY_SMSGATTRS, used to retrieve the actual values and set them,
respectively (the name, if you are wondering, comes from "message attributes").

A new emulop is added to the underlying display driver (only vga, for now)
which sets the new attribute for the whole screen, without having to clear
it.  This is optional, which means that this also works with other drivers
that don't have this new operation.

Five new kernel options have been added, although only documented in
i386 kernels (for now):
- WSDISPLAY_CUSTOM_OUTPUT, which enables the ioctls described above to
  change the colors dynamically from userland.  This is enabled by default
  in the GENERIC kernel (as well as others) but disabled on all INSTALL*
  kernels (as this feature is useless there).
- WS_DEFAULT_COLATTR, WS_DEFAULT_MONOATTR, WS_DEFAULT_BG and WS_DEFAULT_FG,
  which specify the default colors for the console at boot time.  These have
  the same meaning as the (already existing) WS_KERNEL_* variables.

wsconsctl is modified to add msg.default.{attrs,bg,fg} and
msg.kernel.{attrs,bg,fg} to the display part, so that colors can be changed
after boot.

Tested on NetBSD/i386 with vga (and vga in mono mode), and on NetBSD/mac68k.
No objections in tech-kern@.
2004-07-28 12:34:02 +00:00
heas a3f3869414 Add WSDISPLAYIO_[GS]MODE type _DUMBFB - mapped fb (no registers)
Add WSDISPLAYIO_LINEBYTES ioctl - # bytes/row

Used by ffb driver and XFree wsfb driver module - From OpenBSD
2004-07-20 20:28:20 +00:00
sekiya 95ef21ea53 Add SGI types for mouse and keyboard. 2004-07-07 00:10:30 +00:00
christos f6a0807a9e make the scroll lines ioctl struct take u_int's again. The wsconsctl
command does not deal with shorts well.
2004-06-07 01:13:40 +00:00
christos c7d300d20b White space changes only;
1. put value defines under the fields that they refer too, all the time
   not just in some of the ioctls.
2. use #define<tab>value consistently.
2004-06-01 18:58:51 +00:00
christos f7e75201b3 Re-group scrolling ioctl's and provide new numbers for them! (thanks to
John Heasley for catching that).
2004-06-01 18:49:46 +00:00
christos 7208404c41 PR/19925: David Ferlier: Add scrolling support to wscons. 2004-05-28 21:42:29 +00:00
petrov 42615e3301 Add sun display types. 2004-03-19 09:00:38 +00:00
sekiya d1ae192917 Add console type for SGI GR2 family. 2004-03-18 08:30:58 +00:00
sekiya 2b71c666ca Add display type for SGI Newport. 2004-01-24 09:53:54 +00:00
petrov 78fc8fd68f Add sun keyboards and display. 2003-06-03 06:48:12 +00:00
jdolecek cd6f847ec6 undo constification of 'data' for wsdisplay font - unfortunately we need
to be able to adjust the font to display adapter needs very soon (in consinit()),
so it's not possible to do font copy
2003-02-10 14:28:19 +00:00
jdolecek 998befbc32 make 'name' and 'data' of struct wsdisplay_font const, mark data arrays
in font sources const
2003-02-09 10:29:35 +00:00
thomas 59b8b56225 Define Atari wskeyboard type. 2003-01-31 23:28:30 +00:00
takemura 285679b875 Added new ioctl command, WSMOUSEIO_GETID to tell touch panel identifier
for tpctl(8).
2003-01-03 04:36:26 +00:00
itohy 32c9c7f1cc Add WSKBD_TYPE_MAPLE and WSMOUSE_TYPE_MAPLE for Dreamcast Maple bus devices. 2002-12-10 13:05:09 +00:00
reinoud 360e94d0c9 Fix some small unclear documentation and cleanup a bit... 2002-09-25 14:21:07 +00:00
christos 71dcc987cd PR/17402: Add wsmoused support by providing get/set char and events. 2002-06-26 23:05:33 +00:00
hannken ad4a51c35b Rename WSDISPLAYIO_USEFONT to WSDISPLAYIO_SFONT.
Approved by Matthias Drochner <drochner@netbsd.org>.
2002-04-07 09:25:47 +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
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
enami 480bb2c9a8 Fix typo in comment. 2001-11-05 08:22:24 +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
mycroft 5f1dd50365 Add a WSKBD_TYPE_ADB for Macs. 2001-10-02 21:03:05 +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
tsutsui 42e44c1408 Make Sony's fonts ISO8859-1 compliant. 2001-03-30 13:06:45 +00:00