[Pharo-dev] KeyDown and KeyUp without automatic key repeating.

Ronie Salgado roniesalg at gmail.com
Mon Aug 5 17:44:41 EDT 2013

Thank you,
Its not exactly what I need, but using it I can hack the result that I want
using some dictionary holding the key down state.

Ronie Salgado

2013/8/5 Erwan Douaille <douailleerwan at gmail.com>

> I made an example, i guess it's what you need.
> Cheat with the keyUp
> ExempleKey new
> Mouse over the morph and try key left / right
> 2013/8/5 Ronie Salgado <roniesalg at gmail.com>
>> Hello,
>> I need to know how I can handle a KeyDown and a KeyUp morph event without
>> automatic key repeating, to be able to setup an object that performs per
>> frame animation.
>> For the ones who have worked with SDL, what I need is something like
>> SDL_EnableKeyRepeat(0, 0)
>> Greetings,
>> Ronie Salgado
> --
> Best regards,
> Douaille Erwan <douaille.erwan at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20130805/0f020756/attachment-0002.html>

More information about the Pharo-dev mailing list