qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Regarding do_key_event function in vnc.c file.
@ 2009-08-25 11:26 Amey Moghe
  0 siblings, 0 replies; only message in thread
From: Amey Moghe @ 2009-08-25 11:26 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 773 bytes --]

Hello all,

           I was reading about how qemu uses vnc server to access the screen
of guest OS.While reading I came across function "key_event" called for key
processing in client-server interaction phase in file vnc.c. In "key_event"
function "do_key_event" function calls the function "kbd_put_keycode" whose
definition is as follows :

void kbd_put_keycode(int keycode)
{
    if (qemu_put_kbd_event) {
        qemu_put_kbd_event(qemu_put_kbd_event_opaque, keycode);
    }
}

In above fuction I didnt get the function definition for call
"qemu_put_kbd_event(qemu_put_kbd_event_opaque, keycode); " which is called
by function pointer and I also didnt get the significance of generic pointer
"qemu_put_kbd_event_opaque" . So please help in this regard.

Thanks,
Amey

[-- Attachment #2: Type: text/html, Size: 885 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-25 11:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-25 11:26 [Qemu-devel] Regarding do_key_event function in vnc.c file Amey Moghe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).