Macros can be set without being detectable. I don't use them, but there are periferals which would allow you to have macros set to a button rather than having the game run a .cfg or .txt macro.
Personally I use a Belkin N52TE gaming keypad and a Logitech G510 gaming keyboard - both of which have 15 and 18 respectively customisable buttons.