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

Re: key release events




> thank you, this works. it appears to me that keyboard autorepeat produces
> a keydown event and then a keyup event. i think this incorrect; autorepeat
> should produce only a keydown event. i care because the MIDI controller
> i'm working on would like to know what keys on the keyboard are being held
> down.
>
> other implementations of the app which talk directly to the keyboard
> hardware or use svgalib work in this way.
> is there an argument for the current behaviour? or a way to alter it? for
> example, suppressing autorepeat? (time now to RTFM)

The Xlib function to turn off keyboard autorepeat is XAutoRepeatOff (Display* 
display).  It doesn't appear that there's an equivalent in GDK.



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