Generic command key handler
Posted: Tue Jul 26, 2011 2:04 pm
In the vein of the 'extra command' options which lets you add new keys which run specified macros, I would like to add a more generalized way to add/replace commands handled in an ACK game.
Basically, the mechanism would let you (using macro commands) configure any key to trigger a macro when pressed, instead of its normal game function. The differences between this and the 'extra command' mechanism would be:
- This could override the functions of normal game commands
- No limit on the number of keys that can have commands defined
- Set up by a macro (extended DRAW) command instead of in the configuration editor, which means it can be changed on-the-fly during a game
The keys that I want to hook into this mechanism are all digit keys (0-9) and all alpha keys (A-Z), and Space. Are there any other keys that should be added? Most of the punctuation keys already have specified debugging or 'under the hood' command meanings, so I want to steer away from those unless there's a good reason.
Basically, the mechanism would let you (using macro commands) configure any key to trigger a macro when pressed, instead of its normal game function. The differences between this and the 'extra command' mechanism would be:
- This could override the functions of normal game commands
- No limit on the number of keys that can have commands defined
- Set up by a macro (extended DRAW) command instead of in the configuration editor, which means it can be changed on-the-fly during a game
The keys that I want to hook into this mechanism are all digit keys (0-9) and all alpha keys (A-Z), and Space. Are there any other keys that should be added? Most of the punctuation keys already have specified debugging or 'under the hood' command meanings, so I want to steer away from those unless there's a good reason.