No description
Find a file
David van Moolenbroek 6b3f4dc157 Input infrastructure, INPUT server, PCKBD driver
This commit separates the low-level keyboard driver from TTY, putting
it in a separate driver (PCKBD). The commit also separates management
of raw input devices from TTY, and puts it in a separate server
(INPUT). All keyboard and mouse input from hardware is sent by drivers
to the INPUT server, which either sends it to a process that has
opened a raw input device, or otherwise forwards it to TTY for
standard processing.

Design by Dirk Vogt. Prototype by Uli Kastlunger.

Additional changes made to the prototype:

- the event communication is now based on USB HID codes; all input
  drivers have to use USB codes to describe events;
- all TTY keymaps have been converted to USB format, with the effect
  that a single keymap covers all keys; there is no (static) escaped
  keymap anymore;
- further keymap tweaks now allow remapping of literally all keys;
- input device renumbering and protocol rewrite;
- INPUT server rewrite, with added support for cancel and select;
- PCKBD reimplementation, including PC/AT-to-USB translation;
- support for manipulating keyboard LEDs has been added;
- keyboard and mouse multiplexer devices have been added to INPUT,
  primarily so that an X server need only open two devices;
- a new "libinputdriver" library abstracts away protocol details from
  input drivers, and should be used by all future input drivers;
- both INPUT and PCKBD can be restarted;
- TTY is now scheduled by KERNEL, so that it won't be punished for
  running a lot; without this, simply running "yes" on the console
  kills the system;
- the KIOCBELL IOCTL has been moved to /dev/console;
- support for the SCANCODES termios setting has been removed;
- obsolete keymap compression has been removed;
- the obsolete Olivetti M24 keymap has been removed.

Change-Id: I3a672fb8c4fd566734e4b46d3994b4b7fc96d578
2014-03-01 09:04:55 +01:00
benchmarks Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
bin Import NetBSD df(1) 2014-02-18 11:25:02 +01:00
commands Input infrastructure, INPUT server, PCKBD driver 2014-03-01 09:04:55 +01:00
common a bit more -Werror compatability 2013-08-20 11:37:40 +02:00
dist/nvi Termcap update, replacing elvis by nvi. 2013-01-24 07:44:38 +01:00
distrib Input infrastructure, INPUT server, PCKBD driver 2014-03-01 09:04:55 +01:00
docs Allow install of binutils and import texinfo 2013-07-12 14:18:08 +02:00
drivers Input infrastructure, INPUT server, PCKBD driver 2014-03-01 09:04:55 +01:00
etc Input infrastructure, INPUT server, PCKBD driver 2014-03-01 09:04:55 +01:00
external Enable sys-root support in the native binutils 2014-03-01 09:04:55 +01:00
gnu Prevent make -C gnu from installing files in / 2013-09-17 15:19:50 +02:00
include Input infrastructure, INPUT server, PCKBD driver 2014-03-01 09:04:55 +01:00
kernel uname: normalize release and version 2014-03-01 09:04:55 +01:00
lib Input infrastructure, INPUT server, PCKBD driver 2014-03-01 09:04:55 +01:00
libexec increase -Werror resilience 2013-08-21 13:53:39 +02:00
man Input infrastructure, INPUT server, PCKBD driver 2014-03-01 09:04:55 +01:00
releasetools Importing usr.bin/uname 2014-03-01 09:04:55 +01:00
sbin Enable getmntinfo(3) 2014-02-18 11:25:02 +01:00
servers Input infrastructure, INPUT server, PCKBD driver 2014-03-01 09:04:55 +01:00
share fix sysroot clang 2014-02-18 11:25:01 +01:00
sys uname: normalize release and version 2014-03-01 09:04:55 +01:00
test Input infrastructure, INPUT server, PCKBD driver 2014-03-01 09:04:55 +01:00
tests Importing usr.bin/id 2013-11-12 10:15:47 -05:00
tools x86_hdimage.sh -i: crossbuild x86 release CD 2013-11-07 13:44:22 +00:00
usr.bin Importing usr.bin/uname 2014-03-01 09:04:55 +01:00
usr.sbin Import NetBSD vndconfig(8) 2014-03-01 09:04:54 +01:00
.gitignore gitignore: ignore some more generated files 2012-12-06 13:29:20 +00:00
.gitreview misc:Add gerrit code review support. 2013-01-16 09:44:16 +01:00
build.sh Reverting back to default value of MKARZERO 2013-01-17 10:03:58 +01:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile Importing NetBSD "Kyua" test framework 2013-07-23 20:43:41 +02:00