summaryrefslogtreecommitdiffstats
path: root/sys/arch/sgi/hpc/z8530kbd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Probe the keyboard for its dip switches also if it is the console keyboard,miod2014-12-071-76/+128
| | | | | so that we can select the proper layout automagically and have it apply even at UKC time.
* Extend the keyboard communication routines to be able to work in polling mode;miod2014-05-221-39/+150
| | | | | | | | | | | | use this to read the DIP switches from the keyboard at attach time. Change the state machine to allow for a `DIP switch prefix' scan code to be received while we are not attempting to read the DIP switches, for the `international' key (not found in regular us layouts, documented is the `GERlessthan' key in sgi's keyboard(7) manual page) will return the aforementioned scancode, instead of the one documented in the manual. Thanks to sebastia@ for lending me his german layout keyboard.
* Attempt to make user changes of keyboard layout a bit more `sticky' on wsmuxmiod2014-01-261-2/+2
| | | | | | | | | | | | | | | | | kernels: - keyboard drivers will now tell wskbd if the keyboard layout they ask for is a default value, or a value they are 100% sure of (either because your kernel has a XXXKBD_LAYOUT option, or because the driver can tell the keyboard layout, e.g. by the country code on USB keyboards which provide it, such as Sun's) - when attaching a keyboard with a non-default layout, the layout will become the default layout of the mux for new keyboard attachments if the mux doesn't have a layout set already. - when changing the keyboard layout of a particular keyboard with an ioctl (i.e. using kbd(8) or wsconsctl(8)), the layout will become the default layout of the mux for new keyboard attachments. ok mpi@
* Recognize 85230 chips, and take advantage of their FIFOs to reduce themiod2012-04-291-26/+27
| | | | amount of TX empty interrupts.
* Be sure to initialize the `state' member of the softc when attaching themiod2012-04-281-9/+5
| | | | | console keyboard, otherwise led update commands will never get transmitted. Noticed by sebastia@
* Fix the `all keys up' event handling logic to only apply to it, and not tomiod2012-04-271-2/+2
| | | | | regular `one key is up' events. Makes the shift, alt, ctrl, etc keys behave as expected after the next keystroke.
* Drivers for the SGI Indigo serial keyboard and mouse (not PS/2 devices).miod2012-04-171-0/+593
From NetBSD.