pcw8256: Example (in progress) devinput device
authorAlan Cox <alan@linux.intel.com>
Thu, 12 Apr 2018 10:46:00 +0000 (11:46 +0100)
committerAlan Cox <alan@linux.intel.com>
Thu, 12 Apr 2018 10:46:00 +0000 (11:46 +0100)
commitf5f9dc98e79071bb9fc823bd2359c327624cdba9
tree3aa6a84005d43dde0168742ad527e2e1dfb678f1
parent1a7ee33bfe5245d108e01a71da89aaad92647e34
pcw8256: Example (in progress) devinput device

- Mice need changing to do their work each vblank and accumulate
- No suport for all up/down events yet
- Still need to work out what mode 1 will mean and define in a globally meaningful way - or add a matches ioctl for say up to 8 'grabbed' keycodes

Hopefully enough of a sketch to start getting joystick support into platforms
at least.

Note: the basic idea of all of this is to bind together all the input events
into a single device so that we don't need all the overhead of poll and big
unixisms. Thus a game can grab the keyboard, and get keyboard/joystick/mouse
events all down one channel

Alan
Kernel/platform-pcw8256/Makefile
Kernel/platform-pcw8256/config.h
Kernel/platform-pcw8256/devinput.c [new file with mode: 0644]
Kernel/platform-pcw8256/devinput.h [new file with mode: 0644]
Kernel/platform-pcw8256/devtty.c
Kernel/platform-pcw8256/fuzix.lnk