[Y-devel] GUI design docs
Brent Gulanowski brentg at magma.ca
Wed Feb 25 22:02:06 GMT 2004
I want to double check on a point of terminology. I think there is some
confusion between a _logical_ device and a _virtual_ device -- they are
very different. A virtual device is something that simulates a hardware
device. A logical device abstracts a hardware device -- it can abstract
a real or a virtual device or, in the example from this discussion, it
can abstract some combination of hardware devices. Logical devices are
built out of hardware devices, and logical devices take wire-level
input from devices and convert them to more standardized input commands
for use by the next layer up in the system. Another distinction is that
hardware devices have drivers, so a virtual keyboard or other virtual
device would appear to have a driver -- well, probably, there is a
parallel between a logical device and a device driver, but that's where
my knowledge stops.
Someone did mention a virtual keyboard in the sense of a true virtual
keyboard for those with motor difficulties -- this was a software
program which emulated a keyboard on screen. The "virtual input
devices" mentioned below are more appropriately called "logical
devices" -- at least that seems to jive with what I know of UNIX. If
I'm wrong, please educate me.
On Feb 25, 2004, at 10:35 AM, Mikko Rantalainen wrote:
>
> However, instead of requiring a keyboard, we should use virtual input
> devices. A virtual input device might be "implemented" with one
> keyboard, two mouses and one joystick. Logically that's a keyboard
> that has all the buttons of keyboard plus all the buttons of both two
> mice and all the buttons in the joystick. In addition to that, that
> virtual device also contains 2 (or more!) axis for both the mice and
> at least two axis for the joystick. And possibly one or more axis
> integrated in the keyboard. There should be a method to map some (one
> or more) of those axis to horizontal 2D pointer used to move "mouse
> cursor" and so on. For the Y, this input device has (say) total of
> 103+3+3+8 buttons and 3+3+4 axis. Some of the buttons generate "mouse
> button events" and some don't. Similarly, some of the axis generate
> "mouse cursor" movement and some don't. Each virtual input device like
> this would have a single focus in Y.
>
> I think a virtual device should be able to output at least raw button
> events for every button, cursor movement for at least three
> dimensions, ideally for unlimited dimensions (user can map every axis
> to different dimension of every axis to the same dimension, and we
> don't know how many axis the virtual device might have) and character
> output for whatever character input method the user might be using. (I
> don't have a clue how, for example, Chinese could be written with a
> keyboard and how that looks to the OS/GUI.)
>
>
--
Brent Gulanowski brentg at magma.ca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2359 bytes
Desc: not available
Url : https://www.y-windows.org/pipermail/y-devel/attachments/20040225/94911d80/smime.bin
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved