Ascii Equivalents for KeyUp/KeyDown events
Bob Arning
arning at charm.net
Mon Dec 11 15:21:12 UTC 2000
On Mon, 11 Dec 2000 16:18:04 +0100 Marcel Weiher <marcel at metaobject.com> wrote:
>In fact, it turns out that you don't really need separate events at
>all. Once you have key-up/down events accompanied by translated
>character data, the need for the separate 'character' events just
>evaporates: everything you need is in the key-event. In fact, you
>start to wonder how anyone came up with the idea of two separate
>"events" for the same actual event. (Note: the translated
>characters are attached as a string, so you don't need multiple
>events for a key that maps to more than one character)
Marcel,
If one were to combine key events and character events, how would one
- handle keys auto-repeated by the keyboard/OS?
- handle characters that were input from other than a keyboard?
Cheers,
Bob
More information about the Squeak-dev
mailing list
|