// Due to control/alt/shift modifiers, quite a lot of hotkey combinations are possible, so support any
// conceivable use. Note: Increasing this value will increase the memory required (i.e. any arrays
// that use this value):
#define MAX_HOTKEYS 1000 // Raised from 700 to 1000 in v1.0.48 because at least one person needed more.

i wanted to make a script registering hotkeys by their VK code(so as to make it keyboard type independent) and all of their possible modifier combinations. For Ctrl, Shift, Alt, Win that would be (2^4 - 1) * 254 ~= 3800 possible hotkey combinations. basically, go through this list here: https://docs.microsoft.com/en-us/window ... -key-codes
what are the consequences of raising the limit or would it be possible to make this configurable via a directive?

Allowing the limit to be set or changed while the program is running would increase code size and complexity. If it is done at all, I would choose to adjust the limit automatically (or in other words, let it be "current capacity", not a limit). I do not want to add a directive.