aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/kbd
Commit message (Collapse)AuthorAgeFilesLines
* - Include isa/isareg.h rather than i386/isa/isa.h for i386.Kazutaka YOKOTA1999-05-201-43/+3
| | | | | | | - Remove unused (thus, commented out) section of code. Notes: svn path=/head/; revision=47336
* Include sys/isa/isareg.h rather than i386/isa/isa.h for i386.Kazutaka YOKOTA1999-05-201-5/+1
| | | | Notes: svn path=/head/; revision=47335
* Slight reorganization of internal interface in the keyboard controllerKazutaka YOKOTA1999-05-182-4/+13
| | | | | | | driver. Notes: svn path=/head/; revision=47296
* Silence warnings.Kazutaka YOKOTA1999-05-181-10/+10
| | | | Notes: svn path=/head/; revision=47295
* Remove unnecessary function call.Kazutaka YOKOTA1999-05-181-2/+1
| | | | Notes: svn path=/head/; revision=47294
* The previous commit was wrong! This is the correct one ;-<Kazutaka YOKOTA1999-05-181-2/+2
| | | | Notes: svn path=/head/; revision=47293
* Don't confuse cursor keys with numpad keys when composing a char code.Kazutaka YOKOTA1999-05-091-5/+5
| | | | | | | PR: kern/10988 Notes: svn path=/head/; revision=46765
* Minor tweak after the introduction of new-bus to i386; properlyKazutaka YOKOTA1999-05-091-14/+14
| | | | | | | check "disabled" and "flags" probe hints. Notes: svn path=/head/; revision=46764
* Bring the 'new-bus' to the i386. This extensively changes the way thePeter Wemm1999-04-161-10/+9
| | | | | | | | | | | | | | | | | | | | | i386 platform boots, it is no longer ISA-centric, and is fully dynamic. Most old drivers compile and run without modification via 'compatability shims' to enable a smoother transition. eisa, isapnp and pccard* are not yet using the new resource manager. Once fully converted, all drivers will be loadable, including PCI and ISA. (Some other changes appear to have snuck in, including a port of Soren's ATA driver to the Alpha. Soren, back this out if you need to.) This is a checkpoint of work-in-progress, but is quite functional. The bulk of the work was done over the last few years by Doug Rabson and Garrett Wollman. Approved by: core Notes: svn path=/head/; revision=45720
* Keyboard driver update in preparation for the USB keyboard driver.Kazutaka YOKOTA1999-03-105-1197/+358
| | | | | | | | | | | | | | | | | | | | | | | | | | - Refined internal interface in keyboard drivers so that: 1. the side effect of device probe is kept minimal, 2. polling mode function is added, 3. and new ioctl and configuration options are added (see below). - Added new ioctl: KDSETREPEAT Set keyboard typematic rate. There has existed an ioctl command, KDSETRAD, for the same purpose. However, KDSETRAD is dependent on the AT keyboard. KDSETREPEAT provides more generic interface. KDSETRAD will still be supported in the atkbd driver. - Added new configuration options: ATKBD_DFLT_KEYMAP Specify a keymap to be used as the default, built-in keymap. (There has been undocumented options, DKKEYMAP, UKKEYMAP, GRKEYMAP, SWKEYMAP, RUKEYMAP, ESKEYMAP, and ISKEYMAP to set the default keymap. These options are now gone for good. The new option is more general.) KBD_DISABLE_KEYMAP_LOADING Don't allow the user to change the keymap. Notes: svn path=/head/; revision=44628
* - Fixed the bug which always ignored Ctrl-Pause/Break on the AT 101Kazutaka YOKOTA1999-01-282-70/+118
| | | | | | | | | | | | keyboard. - Translate some keycode for the 84 keyboard so that the 84 keyboard and the 101 keyboard become more compatible in terms of keycodes. - Updated the built-in keymaps so that it is in line with the recent changes in share/syscons/keymaps. - Added some comment on the Pause/Break key on the 101 keyboard. Notes: svn path=/head/; revision=43337
* Fix warnings in preparation for adding -Wall -Wcast-qual to theMatthew Dillon1999-01-281-3/+3
| | | | | | | kernel compile Notes: svn path=/head/; revision=43314
* sysconsKazutaka YOKOTA1999-01-192-6/+17
| | | | | | | | | | | | | | | | | | | | - Bring down the splash screen when a vty is opened for the first time. - Make sure the splash screen/screen saver is stopped before switching vtys. - Read and save initial values in the BIOS data area early. VESA BIOS may change BIOS data values when switching modes. - Fix missing '&' operator. - Move ISA specific part of driver initialization to syscons_isa.c. atkbd - kbdtables.h is now in /sys/dev/kbd. all - Adjust for forthcoming alpha port. Submitted by: dfr Notes: svn path=/head/; revision=42831
* Use the correct macro to test flags; we need KBD_IS_INITIALIZED here,Kazutaka YOKOTA1999-01-131-2/+2
| | | | | | | not KBD_IS_PROBED. Notes: svn path=/head/; revision=42626
* Fix PIO_KEYMAPENT/GIO_KEYMAPENT. They used to copy from/to a wrong place.Kazutaka YOKOTA1999-01-121-3/+3
| | | | | | | The bug found by: Mike Zanker <A.M.Zanker@open.ac.uk> Notes: svn path=/head/; revision=42573
* Clean up warnings: get conditional compilation right so that a localKazutaka YOKOTA1999-01-121-6/+11
| | | | | | | | function won't be defined unless it is actually used. Requested by: eivind Notes: svn path=/head/; revision=42564
* Add the new keyboard driver and video card driver. They will beKazutaka YOKOTA1999-01-096-0/+4089
| | | | | | | | | used by console drivers. (They are not yet activated yet. Wait for announcement later.) Notes: svn path=/head/; revision=42421
* Fix ROOL UP/DOWN keys of PC-98.KATO Takenori1998-11-181-3/+3
| | | | Notes: svn path=/head/; revision=41235
* Add VESA support to syscons.Søren Schmidt1998-09-151-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Kazu writes: The VESA support code requires vm86 support. Make sure your kernel configuration file has the following line. options "VM86" If you want to statically link the VESA support code to the kernel, add the following option to the kernel configuration file. options "VESA" The vidcontrol command now accepts the following video mode names: VESA_132x25, VESA_132x43, VESA_132x50, VESA_132x60, VESA_800x600 The VESA_800x600 mode is a raster display mode. The 80x25 text will be displayed on the 800x600 screen. Useful for some laptop computers. vidcontrol accepts the new `-i <info>' option, where <info> must be either `adapter' or `mode'. When the `-i adapter' option is given, vidcontrol will print basic information (not much) on the video adapter. When the `-i mode' option is specified, vidcontrol will list video modes which are actually supported by the video adapter. Submitted by: Kazutaka YOKOTA yokota@FreeBSD.ORG Notes: svn path=/head/; revision=39287
* keymap -> key_map so that the kernel will compile withSteve Price1998-06-061-2/+2
| | | | | | | | | | -DESKEYMAP. PR: 6864 Submitted by: Javier Rueda <jmrueda@diatel.upm.es> Notes: svn path=/head/; revision=36704
* Define CTL-ALT-ESC as the `debug' key, CTL-ALT-SPACE as the `suspend'keyKazutaka YOKOTA1998-01-281-5/+5
| | | | | | | in all built-in keymaps. Notes: svn path=/head/; revision=32849
* Fix illegal numeric expressions: 08 and 09.Kazutaka YOKOTA1998-01-121-10/+10
| | | | Notes: svn path=/head/; revision=32487
* Added accent (dead) key support to syscons and kbdcontrol.Kazutaka YOKOTA1998-01-071-2/+298
| | | | | | | | | | | | | | | | | | | | | | | | | | With a keymap with accent key definitions loaded to syscons, you press an accent key followed by a regular letter key to produce an accented letter. Press an accent key followed by the space bar to get the accent letter itself. Code is based on the ideas and work by jmrueda@diatel.upm.es and totii@est.is. PR: i386/4016 console.h - Defined structures and constants for accent (dead) keys. syscons.c, kbdtables.h - When an accent key is pressed, set the corresponding index to `accents'. If the next key is the space key, produce the accent char itself. Otherwise search the accent key map entry, indexed by `accents', for a matching pair of a regular char and an accented char. - Added ioctl functions to set and get the accent key map (PIO_DEADKEYMAP and GIO_DEADKEYMAP). Notes: svn path=/head/; revision=32315
* Back out my LALT -> META change until we figure out a way to make itJordan K. Hubbard1997-10-121-2/+2
| | | | | | | work sympathetically with the function keys. Notes: svn path=/head/; revision=30351
* Change default keymap (I left all the international ones alone) soJordan K. Hubbard1997-10-101-2/+2
| | | | | | | | that LALT is META by default. This will make the emacs users happy. Approved by: sos Notes: svn path=/head/; revision=30266
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notPeter Wemm1997-02-221-1/+1
| | | | | | | ready for it yet. Notes: svn path=/head/; revision=22975
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* More merge and update.Satoshi Asami1996-10-301-2/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | (1) deleted #if 0 pc98/pc98/mse.c (2) hold per-unit I/O ports in ed_softc pc98/pc98/if_ed.c pc98/pc98/if_ed98.h (3) merge more files by segregating changes into headers. new file (moved from pc98/pc98): i386/isa/aic_98.h deleted: well, it's already in the commit message so I won't repeat the long list here ;) Submitted by: The FreeBSD(98) Development Team Notes: svn path=/head/; revision=19269
* Change RUKEYMAP sligtlyAndrey A. Chernov1996-01-251-3/+3
| | | | Notes: svn path=/head/; revision=13632
* Staticize and cleanup.Poul-Henning Kamp1995-12-101-8/+8
| | | | Notes: svn path=/head/; revision=12724
* Change fkey 63 from ^[[K to ^[[~.Søren Schmidt1995-03-281-2/+2
| | | | | | | Submitted by: ache Notes: svn path=/head/; revision=7452
* Give backspace to the people (again)Søren Schmidt1995-03-271-6/+6
| | | | | | | | | | | Now the keymaps are as follows: "backspace / <-" ^H "grey del" ^? (0x7f) "numpad , del" ^? (, if numlocked) Notes: svn path=/head/; revision=7420
* Fix flag bugs with RUKEYMAPAndrey A. Chernov1995-03-031-3/+3
| | | | Notes: svn path=/head/; revision=6868
* Minor update to syscons.Søren Schmidt1995-03-031-43/+43
| | | | | | | | | | Let "grey delete" be a function key (default is 0x7f) Fix the xor cursor again.. Made the backspace key generate del as default Made CTRL-space generate nul as default. Notes: svn path=/head/; revision=6851
* Reviewed by:Søren Schmidt1995-01-301-14/+14
| | | | | | | | Submitted by: Obtained from: Notes: svn path=/head/; revision=6044
* Third round in syscons update.Søren Schmidt1995-01-281-46/+48
| | | | | | | | | | | | | | | | | Display update method changed, now allways write in memory buffer, then periodically update physical display. Speed improvements (now > 5 times faster than the old syscons). History now circular buffer, with changeable size. History scroll by up/down line, up/down page, home and end. Backtab proberly implemented. Now space for 96 function keys, 63 allocated standard, default now SCO/SYSV compat again as in the old days. New keyboard definition files ~share/syscons/keymaps/* Misc fixes for old "hacks" that broke SCO/SYSV compat. More that I forgot before writing this... Notes: svn path=/head/; revision=5994
* Use NUM_FKEYS instead of hardcoded 65 for fkey_tab sizeAndrey A. Chernov1995-01-261-2/+2
| | | | Notes: svn path=/head/; revision=5935
* Get rid of overloaded Keypad 5, now F(65)Andrey A. Chernov1995-01-261-8/+8
| | | | Notes: svn path=/head/; revision=5933
* Rewrite fkey_tab to produce unique sequences for all fkeysAndrey A. Chernov1995-01-261-14/+20
| | | | | | | Get rid of overloaded fkeys Notes: svn path=/head/; revision=5931
* Implement Delete key properly, needed by ncursesAndrey A. Chernov1995-01-261-12/+12
| | | | Notes: svn path=/head/; revision=5924
* Changes to allow keypad 5 produce \E[E like SCO/ANSI term doesAndrey A. Chernov1994-12-311-12/+12
| | | | Notes: svn path=/head/; revision=5308
* More intelligent BackTab fix using BTAB special key (unused before)Andrey A. Chernov1994-11-191-8/+8
| | | | Notes: svn path=/head/; revision=4685
* Fix all keymaps to bring BackTab to life.Andrey A. Chernov1994-11-191-6/+6
| | | | Notes: svn path=/head/; revision=4684
* Added support for the MicroSoft Natural keyboardSøren Schmidt1994-11-171-12/+31
| | | | | | | | Add support for ws_xpixel & ws_ypixel in winsize. Submitted by: Natural support suggested by Kaleb Keithley (kaleb@x.org) Notes: svn path=/head/; revision=4573
* Laptop Advanced Power Management support by HOSOKAWA Tatsumi.David Greenman1994-10-011-2/+2
| | | | | | | Submitted by: HOSOKAWA Tatsumi Notes: svn path=/head/; revision=3258
* Changed header slightly.Søren Schmidt1994-09-291-14/+25
| | | | Notes: svn path=/head/; revision=3186
* From 1.1.5:David Greenman1994-09-211-3/+3
| | | | | | | | >date: 1994/05/27 01:09:16; author: ache; state: Exp; lines: +3 -3 >Russian keymap: Ctrl-Alt-Del with NumLock on fixed Notes: svn path=/head/; revision=2953
* Updated swedish keymap.Søren Schmidt1994-04-261-18/+18
| | | | Notes: svn path=/head/; revision=1417
* Russian keymap is broken after last commit (fixed)Andrey A. Chernov1994-02-011-11/+11
| | | | | | | Nate, please, be more careful next time. Notes: svn path=/head/; revision=1065
* From: sos@login.dkuug.dk (S|ren Schmidt)Nate Williams1994-02-011-31/+32
| | | | | | | | | | | | | | | | | | | | | | | Subject: syscons-1.3 Date: Sat, 29 Jan 94 23:33:50 MET But here is the (hopefully) final syscons-1.3.... .... I've changed sgetc so it works as the pccons parallel (it now uses a scgetc internally). [ There were a couple changes that Bruce Evans sent me that were applied to this version along with some changes that S'ren didn't incorporate into the final version. There will be only minor changes if anything from this version to his final release. ] Notes: svn path=/head/; revision=1061