[Y-devel] GUI design docs
Maurice van der Pot griffon26 at kfk4ever.com
Wed Feb 25 20:27:08 GMT 2004
On Wed, Feb 25, 2004 at 11:29:41AM -0800, Scott Beck wrote:
> On Wed, 2004-02-25 at 09:58, Maurice van der Pot wrote:
> <snip>
> > Multiple virtual keyboard devices are probably not very useful.
>
> Multiple virtual keyboard devices are very useful. Take for example
> Lirc, it gets input from a remote control and sends X key events out. To
> do this in Y we would need to either make it so clients can send key
> events or re-implement Lirc as an input driver and be able to load it
> along side a keyboard (I use my remote and my keyboard at home for
> mythtv..)
But what would be the actual reason to make this a separate virtual keyboard?
If both the remote and the physical keyboard generate events for the virtual
keyboard, any application accepting keyboard input can be configured to
accept input from your remote.
It would be similar to the situation I described where you have both the mouse
gestures and the keyboard input generate events for the virtual keyboard.
The application wouldn't have to know anything at all about remotes and it
would still work.
I think the only reason for making multiple virtual devices is when the
events that are generated by the virtual device have different destinations
based on by which physical device they were triggered.
Let me know what you think Scott.
Best regards,
Maurice.
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved