On Fri, 30 Mar 2012 00:00:09 +0900 Kim Shinwoo <kimcinoo....@gmail.com> said:
well i meant - the is_keystroke param. looking at the events, WM_KEYDOWN and WM_SYSKEYDOWN set it to 1, WM_CHAR and WM_SYSCHAR set it to 0 - is this correct. windows sends the first 2 events ona key press and the 2nd 2 on a release? because if this is the case you now get down (no up) on the first pair, and down + up on the 2nd. so u see down, down, up... that smells wrong to me... :/ > Umm.. because the key event works like that on the Ubuntu. > You can check by adding two callbacks to one object for key_down and > key_up. When you hold down the key which makes WM_CHAR/SYSCHAR message, > both callbacks will be called. And the is_keystroke is true, if > WM_CHAR/SYSCHAR message fires. > > 2012년 3월 29일 목요일에 Carsten Haitzler<ras...@rasterman.com>님이 작성: > > On Wed, 28 Mar 2012 16:16:54 +0900 Kim Shinwoo <kimcinoo....@gmail.com> > said: > > > > what is this is_keystroke stuff an why should it fire a key up (on > wince/32) > > during a key press? > > > >> ah.. yes, you right the patch to fire the key-up event no the mouse-up > >> event. :) > >> > >> 2012/3/28 Vincent Torri <vincent.to...@gmail.com>: > >> > On Wed, Mar 28, 2012 at 4:23 AM, Kim Shinwoo <kimcinoo....@gmail.com> > wrote: > >> >> Dear All, Hello. > >> >> > >> >> Please review the previous patch first which is related with the WIN > key. > >> > > >> > it's already in svn :-) > >> > > >> >> Even though there is no answer to the previous question, I have made > >> >> and attached a patch to fire the mouse-up event when you hold down > >> >> keys which make WM_CHAR and WM_SYSCHAR. > >> >> Please review the patch and give any feedbacks. Thanks. ;) > >> > > >> > hmm, you're talking about mouse up but the event is a keyboard one > >> > > >> > Vincent > >> > > >> > > ------------------------------------------------------------------------------ > >> > This SF email is sponsosred by: > >> > Try Windows Azure free for 90 days Click Here > >> > http://p.sf.net/sfu/sfd2d-msazure > >> > _______________________________________________ > >> > enlightenment-devel mailing list > >> > enlightenment-devel@lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > >> > >> > ------------------------------------------------------------------------------ > >> This SF email is sponsosred by: > >> Try Windows Azure free for 90 days Click Here > >> http://p.sf.net/sfu/sfd2d-msazure > >> _______________________________________________ > >> enlightenment-devel mailing list > >> enlightenment-devel@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > >> > > > > > > -- > > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > > The Rasterman (Carsten Haitzler) ras...@rasterman.com > > > > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel