summaryrefslogtreecommitdiffstats
path: root/sys/dev/kbd
Commit message (Collapse)AuthorAgeFilesLines
* - Add a module event function to the ukbd driver and make the ukbd KLDyokota1999-12-132-2/+47
| | | | | module work. - Delete unnecessary #include.
* - Remember the keyboard repeat delay and rate.yokota1999-12-132-10/+37
| | | | | - Add a new ioctl, KDGETREPEAT, to retrieve the keyboard repeat rate. - Delete unnecessary #include.
* Add support new keys: lshifta, rshifta, lctrla, rctrla, lalta, andyokota1999-12-103-12/+85
| | | | | | | | | ralta. These keys combine shift/ctrl/alt function and the AltLock function. When these keys pressed together with another key, they act just like the ordinary shift/ctrl/alt keys. When these keys are pressed and released alone, Alt lock state is toggled. PR: kern/12475
* Remove five now unused fields from struct cdevsw. They should neverphk1999-09-251-5/+0
| | | | | | | | have been there in the first place. A GENERIC kernel shrinks almost 1k. Add a slightly different safetybelt under nostop for tty drivers. Add some missing FreeBSD tags
* $Id$ -> $FreeBSD$peter1999-08-287-7/+7
|
* Convert DEVFS hooks in (most) drivers to make_dev().phk1999-08-231-2/+1
| | | | | | | | | | | | | | | | Diskslice/label code not yet handled. Vinum, i4b, alpha, pc98 not dealt with (left to respective Maintainers) Add the correct hook for devfs to kern_conf.c The net result of this excercise is that a lot less files depends on DEVFS, and devtoname() gets more sensible output in many cases. A few drivers had minor additional cleanups performed relating to cdevsw registration. A few drivers don't register a cdevsw{} anymore, but only use make_dev().
* - Remove cdevsw entry points in individual keyboard drivers;yokota1999-08-224-352/+112
| | | | | | | | instead, use generic entry points for all drivers. - Eliminate bogus makedev(). - Eliminate softc in the lower drivers, as it is no longer necessary. Submitted (95%) by: phk
* Correctly save `flags' bits.yokota1999-08-151-1/+2
|
* - Move the `return' statement the correct place so that the keyboardyokota1999-07-181-5/+5
| | | | won't be initialized if `atkbd?' is disabled.
* Simplify cdevsw registration.phk1999-05-311-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | The cdevsw_add() function now finds the major number(s) in the struct cdevsw passed to it. cdevsw_add_generic() is no longer needed, cdevsw_add() does the same thing. cdevsw_add() will print an message if the d_maj field looks bogus. Remove nblkdev and nchrdev variables. Most places they were used bogusly. Instead check a dev_t for validity by seeing if devsw() or bdevsw() returns NULL. Move bdevsw() and devsw() functions to kern/kern_conf.c Bump __FreeBSD_version to 400006 This commit removes: 72 bogus makedev() calls 26 bogus SYSINIT functions if_xe.c bogusly accessed cdevsw[], author/maintainer please fix. I4b and vinum not changed. Patches emailed to authors. LINT probably broken until they catch up.
* This commit should be a extensive NO-OP:phk1999-05-302-11/+41
| | | | | | | | | | | | | Reformat and initialize correctly all "struct cdevsw". Initialize the d_maj and d_bmaj fields. The d_reset field was not removed, although it is never used. I used a program to do most of this, so all the files now use the same consistent format. Please keep it that way. Vinum and i4b not modified, patches emailed to respective authors.
* Don't bogusly define a d_reset_t function.phk1999-05-301-14/+2
|
* - Include isa/isareg.h rather than i386/isa/isa.h for i386.yokota1999-05-201-43/+3
| | | | - Remove unused (thus, commented out) section of code.
* Include sys/isa/isareg.h rather than i386/isa/isa.h for i386.yokota1999-05-201-5/+1
|
* Slight reorganization of internal interface in the keyboard controlleryokota1999-05-182-4/+13
| | | | driver.
* Silence warnings.yokota1999-05-181-10/+10
|
* Remove unnecessary function call.yokota1999-05-181-2/+1
|
* The previous commit was wrong! This is the correct one ;-<yokota1999-05-181-2/+2
|
* Don't confuse cursor keys with numpad keys when composing a char code.yokota1999-05-091-5/+5
| | | | PR: kern/10988
* Minor tweak after the introduction of new-bus to i386; properlyyokota1999-05-091-14/+14
| | | | check "disabled" and "flags" probe hints.
* Bring the 'new-bus' to the i386. This extensively changes the way thepeter1999-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
* Keyboard driver update in preparation for the USB keyboard driver.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.
* - Fixed the bug which always ignored Ctrl-Pause/Break on the AT 101yokota1999-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.
* Fix warnings in preparation for adding -Wall -Wcast-qual to thedillon1999-01-281-3/+3
| | | | kernel compile
* sysconsyokota1999-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
* Use the correct macro to test flags; we need KBD_IS_INITIALIZED here,yokota1999-01-131-2/+2
| | | | not KBD_IS_PROBED.
* Fix PIO_KEYMAPENT/GIO_KEYMAPENT. They used to copy from/to a wrong place.yokota1999-01-121-3/+3
| | | | The bug found by: Mike Zanker <A.M.Zanker@open.ac.uk>
* Clean up warnings: get conditional compilation right so that a localyokota1999-01-121-6/+11
| | | | | function won't be defined unless it is actually used. Requested by: eivind
* Add the new keyboard driver and video card driver. They will beyokota1999-01-096-0/+4089
| | | | | | used by console drivers. (They are not yet activated yet. Wait for announcement later.)
* Fix ROOL UP/DOWN keys of PC-98.kato1998-11-181-3/+3
|
* Add VESA support to syscons.sos1998-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
* keymap -> key_map so that the kernel will compile withsteve1998-06-061-2/+2
| | | | | | | -DESKEYMAP. PR: 6864 Submitted by: Javier Rueda <jmrueda@diatel.upm.es>
* Define CTL-ALT-ESC as the `debug' key, CTL-ALT-SPACE as the `suspend'keyyokota1998-01-281-5/+5
| | | | in all built-in keymaps.
* Fix illegal numeric expressions: 08 and 09.yokota1998-01-121-10/+10
|
* Added accent (dead) key support to syscons and kbdcontrol.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).
* Back out my LALT -> META change until we figure out a way to make itjkh1997-10-121-2/+2
| | | | work sympathetically with the function keys.
* Change default keymap (I left all the international ones alone) sojkh1997-10-101-2/+2
| | | | | that LALT is META by default. This will make the emacs users happy. Approved by: sos
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-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.
* More merge and update.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
* Change RUKEYMAP sligtlyache1996-01-251-3/+3
|
* Staticize and cleanup.phk1995-12-101-8/+8
|
* Change fkey 63 from ^[[K to ^[[~.sos1995-03-281-2/+2
| | | | Submitted by: ache
* Give backspace to the people (again)sos1995-03-271-6/+6
| | | | | | | | Now the keymaps are as follows: "backspace / <-" ^H "grey del" ^? (0x7f) "numpad , del" ^? (, if numlocked)
* Fix flag bugs with RUKEYMAPache1995-03-031-3/+3
|
* Minor update to syscons.sos1995-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.
* Reviewed by:sos1995-01-301-14/+14
| | | | | Submitted by: Obtained from:
* Third round in syscons update.sos1995-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...
* Use NUM_FKEYS instead of hardcoded 65 for fkey_tab sizeache1995-01-261-2/+2
|
* Get rid of overloaded Keypad 5, now F(65)ache1995-01-261-8/+8
|
OpenPOWER on IntegriCloud