Messages in this thread | | | Date | Thu, 1 Mar 2001 12:41:59 +0000 | From | Pavel Machek <> | Subject | Re: Keyboard simulation |
| |
Hi!
> I'm writting a driver so that my soft braille display can work with the > BRLTTY daemon. > My braille computer contains a braille display, and a braille keyboard > which I can use to enter characters that are transmitted to the computer. > When my driver gets "normla" chars, he writes them to /dev/console. So for > applications, it looks as if they came from the normal keyboard. > Now, I'd like to be able to change the current virtual console and to view > previously displayed screens (equivalent to shift+page up) just by pressing > keys on the braille keyboard. > So my question is: What should my driver do when it detects that the > "change tty" key or the "scroll key" was pressed on the braille keyboard? > Should the driver change the current tty itself (scroll the screen), or is > it possible to call the kernel exactly like the normal keyboard driver > would do (transmit keycodes), saying "alt + function key was pressed", or > "shift + page up/down was pressed".
Transmit keycodes is AFAIK not implemented in official drivers.
Take a look at vojtech's new input suite. Pavel -- Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt, details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |