#3 Working keyboard handling

closed
nobody
None
5
2003-06-30
2002-09-26
Anonymous
No

I don't know if this is still under active development,
but in case it is, you might like to know that the
keyboard handling in 1.3 is only half implemented. The
callback for key up and special key up aren't called.
In fact, in the event loop, there's not even a case for
KeyRelease. So I copied the entirety of KeyPress, made
it into KeyRelease, changing Keyboard to KeyboardUp and
Special to SpecialUp as required. Also had to change
the code that tells X what events you want to include
KeyReleaseMask next to KeyPressMask. Seems to work ok
for my limited tests.

Discussion

  • John F. Fay

    John F. Fay - 2002-11-04

    Logged In: YES
    user_id=70811

    I am working on implementing this. Contact me if you want a copy of my source files to see if I have done it
    correctly.
    - John Fay

     
  • John F. Fay

    John F. Fay - 2003-06-30
    • status: open --> closed
     
  • John F. Fay

    John F. Fay - 2003-06-30

    Logged In: YES
    user_id=70811

    This has been implemented.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks