From: | Patrick Roberts |
Date: | 21 Sep 2000 at 10:06:23 |
Subject: | Re: AMIOPEN: Software FYI: E-Winease Update (0.56) |
An EVD_TYPE=3 is a mouse tracking event. I replaced ewe_useKeyboard with the
define _EWE_USE_KEYBAORD which testwin.c should define.
Can you try this on your system and check your output against mine:
1) start intent_shell
2) cd to ewinease/examples directory and run ./testwin.00
3) After the Elate and Testwin windows open, an event with
an EVD_TYPE of 12 prints out. (12=gained token)
4) Give testwin focus by clicking on the title bar.
You should get a bunch of EVD_TYPE 3 events plus a
5 and a 4 (don't worry if you don't see them- they
scroll by quickly)
5) With your mouse still in the title bar, press and release
the shift key. I get an EVD_TYPE 0 and 1
events with an EVD_KEYSTATE of 0 and 12288 and a
EVD_KEYCOOKED value of -1.
Please let me know what you get. Thanks again for helping me track
this down.
:)
Pat
Ajay Bhatia wrote:
>
> key cooked value is 0....no matter which key i press (not only for
> CTRL-C)...EVD_TYPE is 3....there is something wrong definitely. Do i need to
> call ewe_useKeyboard??
>
> Ajay
>
> Subscribe/Unsubscribe: open-request@amiga.com
> Amiga FAQ: http://www.amiga.com/faq.html
Subscribe/Unsubscribe: open-request@amiga.com
Amiga FAQ: http://www.amiga.com/faq.html