[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Regarding do_key_event function in vnc.c file.

From: Amey Moghe
Subject: [Qemu-devel] Regarding do_key_event function in vnc.c file.
Date: Tue, 25 Aug 2009 16:56:17 +0530

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]