nanogui: how to get the input of KEY?


Previous by date: 10 May 2001 04:01:35 -0000 Re: Is there chinese input mechod for microwindow?, Jim Shiu
Next by date: 10 May 2001 04:01:35 -0000 Re: X11 KEY_UP event, Timo Ketola
Previous in thread:
Next in thread: 10 May 2001 04:01:35 -0000 Re: how to get the input of KEY?, Jordan Crouse

Subject: how to get the input of KEY?
From: atom ####@####.####
Date: 10 May 2001 04:01:35 -0000
Message-Id: <3AFA125A.4020202@zh.t2-design.com>

hi ,all:
        how to get the input of KEY?
        I know how to get the input of mouse , for example :
        buttons = GrNewWindow(...);
        GrMapWindow(buttons);
        GrSelectEvents(buttons, GR_EVENT_MASK_BUTTON_DOWN);
        GrGetNextEvent(&event);
                  then event->button.x and event->button.y give me the 
mouses X and Y.
        if I GrSelectEvents(buttons, GR_EVENT_MASK_BUTTON_DOWN | 
GR_EVENT_MASK_KEY_DOWN) , then how to get the input of KEY?

     thanks


Previous by date: 10 May 2001 04:01:35 -0000 Re: Is there chinese input mechod for microwindow?, Jim Shiu
Next by date: 10 May 2001 04:01:35 -0000 Re: X11 KEY_UP event, Timo Ketola
Previous in thread:
Next in thread: 10 May 2001 04:01:35 -0000 Re: how to get the input of KEY?, Jordan Crouse


Powered by ezmlm-browse 0.20.