lkml.org 
[lkml]   [2004]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: User-space Keyboard input?
From
Date
Hi Mario,

> I'm working on BRLTTY[1], a user-space daemon which handles braille displays
> on UNIX platforms. One of our display drivers recently gained the ability
> to receive (set 2) scancodes from a keyboard connected directly to the display.
> This is a very cool feature, since the display in question has
> a bluetooth interface, making it effectively into a complete wireless
> terminal (input and output through the same connection).

tell me more about this Bluetooth device.

> However, this creates some problems. First of all, we now have to deal
> with keyboard layouts. Additionally, since we currently insert via
> TIOCSTI I think this might get problematic as soon as one switches
> to an X Windows console and modifiers come into play.
>
> Does anyone know (and can point me into the right direction) if
> Linux has some mechanism to allow for user-space keyboard data to
> be processed by the kernel as if it were received from the system
> keyboard? I.e., keyboard layout would be handled by the same
> mapping which is configured for the system.

Take a look at the user level driver support (uinput).

Regards

Marcel


-
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/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.170 / U:1.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site