Enabling hotkeys

I am current implementing the ALT-ENTER sequence as a hotkey, so it can
be disabled, and so other hotkey sequences can be defined.

Here is a new API spec… (SDL 1.1)

  1. Registering a hotkey returns a mask, which can be OR’d with other hotkey
    masks, and you can enable, disable, and unregister many at once - up to
    32 defined hotkey sequences.

(Any bets on the underlying implementation? :slight_smile:

Comments welcome!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec