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

[MiNT] New AES keyboard messages



Hello

I have idea of new type of messages AES could deliver to applications.

The messages are Key pressed, Key released.

Key pressed is sent only once when key is pressed, no mater what keyrepeat would produce.
Key released is also sent only once, when key is released.

That messages can be sent interleaved, ie when user presses multiple key at the same time.

That messages should be new class of the messages, not included in any other class (esp. keyboard messages), for a call like event_multi. This is so application/AES would not need to waste time for handling unwanted keyrepeat messages.

The main reason for adding this messages is SDL and gaming in overall under AES.

(btw. SHIF, ALT, CONTROL should be also sent as such messages)

Technical details lik API/ABI are left for discussion.

Thanks for Ozk for being interested.

--
Semper Fidelis

Adam Klobukowski
atari@gabo.pl